Opening a PDF from flash button
Hi guys,
I have not done this for a while and the old source files I got do not seem to work anymore in flash pro cs5. In the past I used ZINC and flash and these code lines:
the link to the PDF is loaded from an XML: " ... url="data\\presentations\\EN_Vienna_Opening_Session\\EN_JShepherd_Past&Present.pdf" ... "
the link is then stored in a flash variabl: " ... tPath = contentItems[0].childNodes[2].childNodes[3].attributes.url; ... "
the PDF is then opened with ZINC with: " ... mdm.System.exec(mdm.Application.path+tPath); ... "
I know this is not forum to support ZINC, but is there any other way of opening PDF files (so they open Acrobat outside FLash)?
Thanks,
Nik C
Have you already tried adding
htp.p('Content-Disposition: attachment; filename...as described here?
http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm#CIHDDJGF
Maybe it solves the problem, in case IE is a little bit picky. But I really don't know.
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/
Similar Messages
-
How to open a pdf from a button in Flash
Good Afternoon All,
I am working in CS4.
AS 3.
I am putting together a self-contained Flash presentation. The presentation and all linked images/files will be contained on a flash stick.
I need to know how to link to a pdf that will be on the flash stick and have it open directly in reader when clicked. I've tried the following AS:
on (release) {
getURL("myDoc.pdf", "_blank")
and it does work, but opens the pdf in a browser window version of reader as opposed to just reader...if that makes sense.
Any and all help is appreciated.
THanks.
Geno.Hello,
<p>Web.show_document calling .htm files saved on disk.....</p>
Francois -
Opening external pdf from flash exe
I've looked around the site and I havent found anything
refering to this.
I'm creating an Interface in flash which will browse through
a list of pdfs. This interface will be published on a CD-ROM for
distribution.
How do I launch the pdfs directly from a link in the flash
exe? Since it is not playing within a browser I can't use getURL.
It's been years since I've had to do this, and the last time
I used the fsCommand to launch an exe file created in Director
which would in turn open the pdf file. I'm hoping there is a better
solution.
Thanks for reading this!Try FlashJester JStart
http://jstart.flashjester.com
Download the an evaluation copy and try it yourself.
Please look at the example files given.
Regards
FlashJester Support Team
e. - [email protected]
w. - www.flashjester.com
"This has been one of the most impressive and thoroughly
pleasant
experiences of customer support I have ever come across -
astounding!"
Director - hedgeapple -
Open a PDF from Flash projector file?
Hi everyone,
im using Flash CS4 slide presentation to make a education CD. In the end of the slides i want to open a pdf file.
How can i do it? Is it a east way to do it?
I publish the project as a projector file. I tested to use GetURL but the file wont open. I have the pdf-file
in the same folder as the projector exe-file.
The education will be distributed on CD-ROM.you need to adjust your flash player security settings:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l -
I am having an issue with my adobe acrobat 9 pro. Every time I try to open a pdf from someone it opens it up with my free adobe reader rather than the Acrobat 9 pro so then I don't have all of the functions of 9 pro. How do I get it to open with 9 pro instead of the free reader?
It may depend on the plugin that is loaded into your browser. However, right click on a PDF and select the Open With option and go to the default button to select Acrobat as the default. That might do it.
-
Open an Applescript from Flash
Hello,
I woud like to know, how I can open an Applescript from
Flash. I have an Applescript to open a external document (pdf,
jpeg....) and it works when I open it. But I do a CDRom and I would
like to execute this script from Flash. I have put this in flash :
on (release) {
fscommand("exec", "apfichier.app");
but nothing happen. Thanks for your help, I'm
desperate....You will have to use a third party tool. Flash cannot do this
alone.
Try FlashJester JStart which will allow you to open your
PowerPoint file.
Download a FREE evaluation copy and examples from
http://jstart.flashjester.com
Let us know if you have any questions.
Regards
FlashJester Support Team
e. - [email protected]
w. -
http://www.flashjester.com
There is a very fine line between "hobby" and
"mental illness." -
Have downloaded both Adobe reader and PDF reader, but when I attempt to open a pdf from a site on safari, it starts to load, then disappears. Any way to fix this?
Try quitting the PDF apps and Safari like I describe below. Then reset the iPad. After it starts try again.
Double click the Home button to show the screen with running and recently used apps. Each app icon will have a sample page above it. Flick up on the page (not the app icon) and the page will fly away and the app icon will disappear. This quits that app. Then reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem. -
On my iPad, I'm trying to open a PDF from Safari with iBooks, but when I choose "Open with ..." in Safari, only Pages and Dropbox show as options. I'm running iOS 7.1.2 and iBooks 3.2. I have rebooted the iPad and that did not help, and reinstalled iBooks, which also changed nothing. Thanks for any ideas!
Yup, it was uploaded to our school Wiki as a PDF, and Pages did open it. I was then able to move it to iBooks, but I'd rather avoid the extra steps.
-
New Mac, fresh install of Mountain Lion
When I click to open a .Pdf from a web page,while in Safar, I get a black window
Nothing opens in Preview or in Acrobat
No option to downloadOpen the Finder. From the Finder menu bar click Go > Go to Folder
Type of copy paste the following:
/Library/Internet Plug-Ins
Click Go. If you see this file: AdobePDFViewer.plugin
Drag it to the Trash, empty the Trash.
Quit and relaunch Safari. -
Hi Guys,
I know this is a borderline ApEx problem but I have a page whose sole job is to open a pdf from a blob stored in the database.
This code works for most client machines:
DECLARE
l_blob blob;
BEGIN
SELECT letter INTO l_blob
FROM letters
WHERE lett_id = :P44_LETT_ID;
-- owa_util.mime_header('application/pdf',false);
-- tried pdf and octet they work the same?????
owa_util.mime_header('application/octet',false);
htp.p('Content-Length: ' || dbms_lob.getlength(l_blob));
owa_util.http_header_close;
wpg_docload.download_file(l_blob);
END;
On some machines I get 'Windows cannot open this file ...File: f[7] ...To open this file..........
On most machines this works fine.
I haven't got it to fail with Firefox yet, just IE but only a few machines running IE. Client getting annoyed and I starting to stress.
Many thanks
GaryHave you already tried adding
htp.p('Content-Disposition: attachment; filename...as described here?
http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm#CIHDDJGF
Maybe it solves the problem, in case IE is a little bit picky. But I really don't know.
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/ -
Trouble with permission to open current PDF from one user to another What is the cure ? I'm running the latest Server and OS 10.9.2.
I had the same problem.
Try this.
https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html -
How do I open a PDF from an online site?
HHow do I open a PDF from an online site
Hi,
you might find an answer in How to open PDF documents in Adobe Reader (iPad on iOS 7 version)
thank you -
How to open a pdf from pdf target with page no using javascript
Hi
How to open a pdf from pdf target with page no using javascript
Thanks in Advance.Hello,
<p>Web.show_document calling .htm files saved on disk.....</p>
Francois -
I can download and open pdfs on my macbook air. Why can't I open a pdf from a webpage?
I can download and open pdfs on my macbook air. Why can't I open a pdf from a webpage?
Back up all data.
Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
/Library/Internet Plug-ins
In the Finder, select
Go > Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
Open a pdf from a buffered stream versus file system?
With the PDF Library SDK is it possible to open a pdf from a stream versus the file system?
Yes, but not trivially. You would have to implement your own
ASFileSys, which is a method for accessing "files". This is a
collection of methods, rather like an object oriented class, but in C.
You would have to support get, put, open, random access, file naming
etc.
Aandi Inston
Maybe you are looking for
-
As outlined briefly above quite a few of my events in iphoto have appeared 'greyed out' when ive restored them from the trash. I was trying to back up my iphoto library, with no proper knowledge, and I think this may have caused the problem. I dragge
-
Trying to install windows 7 to no avail.
Im trying to install a new copy of windows 7 from an OEM version I bought online to a new hard drive also bought online. the hard drive is a crucial m500 SSD and my computer is a asus G74sx running everything the same as it was out of the box. I don'
-
Hi gurus, Iam working on IDES ECC 6.0. when iam using a make to order material in sales order and when iam saving sales order it is not allowing me to save and message says, OPEN_FORM IS MISSING and throwing me out without saving sales order. But whe
-
Lost a LOT of WORK in a very strange way...
I just finished a long demo project (imovie 3.0.3) at 2 am last night. I watched it and saved it 2 x , only on my external hardrive, no other back ups. And this morning I go to open it up, with the idea of putting it onto dvd and everything seems sna
-
Substitution variable for multiple months
Ideally, i would like to have a calc script with a substitution variable FIX(&Month) which points to specified months. I have tried setting the value for my substitution variable in different ways 1. Variable = Month Value = "January""February" 2. Va