IDE :: How To Open PDF File Within Flash Projector
Mar 22, 2002
I am creating a Flash projector to work on a CD for a client to distribute. There has to be a listing of their PDF's in the flash program, that when clicked, will open the actual PDF in a separate window. I found one comment in this site to use "GetURL", but found out it is ONLY for HTML. There was mention of setting up the FSCommand to open another application, such as a PDF file, but how? I have the files in the same directory and tried putting the file name in the "GetURL" (the PDF file), but just freezes when trying to open. Also, is there a way they can drag and drop the PDF files to the desktop, that has the listings of the PDF's and save to the hard drive?
how to open pdf, swf file in flash 8 projector? i am using exec command which was used earlier in flash 8 but its only working for exe files after keeping the files in folder named fscommand....
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-filein the same folder as the projector exe-file.
If someone opens up a projector file on a cd, and I have a website open up on a click for example, can this work? Does it open in their default browser?
The powers that be have decided a project I'm working on shouldn't go on a website after all, but needs to be on a CD for Windows users instead and of course I only have a couple of days to made the "relevant tweaks" as they call them.It needs to run directly from the CD so I presume AIR isn't a good option.I've got all of it working by publishing to a Windows Projector executable. The bit I'm stuck with is allowing users to click buttons to open various directories which will be on the CD. These are source files for following tutorials from the main part of the CD. I've tried playing around with the various options in the FileReference class (namely browse() and download()), but they seem to be set up for use online only.
m creating this flash file, and want to launch Firefox (c:/program iles/mozilla/firefox.exe)how the do i create a button and have it link to this?i googled it and realized that i can't call up an exe file through the web....but i got no problem with my final product being a projector file (.exe)i found this code...but for some reason it's not working for me
on (release) { fscommand("exec", "program filesmozilla firefoxfirefox.exe"); }
I'm using Flash MX, AS 2, Projector 6, working on a PC. I saved two versions of my project -- one .exe for Windows and one .hqx for Mac. The .exe works fine when burned onto a CD. When opening the .hqx from a CD on a Mac, I got a message that the file is on a locked volume. I discovered that the reason for this is that an .hqx is essentially a zipped file which has to be extracted, and when a file is extracted, the unzipped files are written onto the same location as the original. When the original files are on a CD, Stuffit (Mac's zip extractor program) can't write onto that location. [So if anyone at Adobe looks at these forum posts, let me say that I think its absolutely ridiculous that the Mac version of Flash's projector files have to be extracted in order to be viewed!]
To get around this problem, I saved the .hqx on my PC, put it on a portable hard drive and brought it over to a Mac (because Stuffit for PC converts it into an .exe for PC), and unzipped it. When I'd test it on the portable hard drive or on a USB drive, the extracted file would work. When I'd bring it back over to the PC and burn a CD with both versions on it, and then test that CD on the Mac, it wouldn't work.
I could succesfully open a external pdf with the following command in Flash cs3 on a Mac: fscommand("exec", "test.app");test.app (inside an fscommand folder) is an apple script that opens the pdf inside the fscommand folder, to make it work I needed to copy the fscommand folder into the MacOs Folder of the Mac Projector File. The same steps don't seem to work with Flash cs5. I can't downgrade my cs5 project to cs3.Is this problem a bug in Flash cs5?
I am developping a as3 project for a kiosk that should run in full screen mode.I am using eclipse for the programming and Flash CS4 to prepare all the swf library assets.Once I publish the swf, I open it in the flash player and export the file as a projector file.
When I open the projector file it doesn't go full screen automatically.
Where can I set the project to go full screen?In the code?Or is there a preference setting for the projector file?Or another way to publish the projector file that will allow me to set the full screen mode?I remember using fscommand in as2 but that doesn't seem to work anymore.
My problem is I have a projector that i want to open a word doc that resides in the assets folder (on the cd) when a person clicks on a button. How can I accomplish this?
I am having trouble getting even a trivial example of fscommand("exec", "..."); to work. I just need to open a Word .doc from within a flash exe projector. Eventually this needs to be on a cross-platform CD, but I'd be happy to see it work from the desktop of my PC at this point! I've attached a really simple sample.
But when I click on that link in our standalone.exe, on my system "ultraedit" gets opened and it tries to open a path on the local system and the webpage adress after that. "C:ProjectsInflationhttp:\www.google.de".
I have read several posts where people discuss TOPMOST and SWF Studio as options for keeping applications running in the top of the z order.
My question is: Is there a way to create a projector that always stays on top (e.g. even if a windows update occurs) without purchasing SWF Studio? As I understand TOPMOST is only for launched applications, not for the application itself.
I need to make a hybrid CD-Rom that has PDFs. I want to launch the PDF in Acrobat, not a browser (they interactive and have bookmarks etc). I can get it to work on the PC side with no problem but am having trouble on the Mac.
I've made an applescript that works, and have it in the "fscommand" folder.
However, I can't get the Flash projector to launch it. I'm using this code on a button;
quote:
on (release) { fscommand("exec", "testing.app"); }
It's a disk image. I can't work out why it doesn't work and it is driving me insane.
I recently was assigned to make an interactive CD using Flash. However, there is some content that needs to be downloaded, or loaded from the CD such as .jpg's, pdf's, .doc's. I've looked at some ways to do it, such as batch files to load files, but the instructions were unclear to me. (I also work on a Mac and need this to be cross-platform) Also, the content cannot be loaded to the web and use a getURL command. The client wants the user to be able to download or load it from the CD by the click of a button.
I am using flash 8 or flash mx, and I want to open a web site and some pdf files. I have my projector set to fullscreen but when I open a web site or a pdf file these files open behind my projector so my final user doesn't realize that the pdf files or the web site is displayed. How can I force the web site or the pdf file to open on top of my projector or is there a way to minimize my projector when I click these buttons so the user realizes that these files opened.
I need to have a fullscreen AS3 projector to open a video within the presentation to fullscreen and then back to its original size. The video is inside another movie clip and doesn't use the FLVPlayer component. There is also a custom video controller that needs to be positioned under the video when viewed fullscreen and then return under the original video. I have had some success opening the fullscreen video but could not position the video or controller position accurately.
Is there a script that counts how many time a projector has been open?I'm looking to make a demo projector that can only open a project 1, 2 or 3 times.
I have created a number of Projectors which are all linked with loadMovieNum. The problem is is that they don't load when I open them I go from the Intro to the Main but only the Intro shows up and when I click enter it does not go to the next projector which is the main.
I have a flash projector file (.exe) that I need to add Code Signing to it so it does not say 'Unknown Publisher' in Vista. I read that for CS3 there is no authenticode signing. Was this added in CS4? I just want to check before I go ahead and purchase a 3rd party app like Juggler. Any software to add authenticode signature to a CS4 flash projector file? Jugglor is pretty old (2007) and I would like to know if there are more recent apps to package and sign projector files.
I have a Flash projector file which I would like to edit with Resource Hacker. I would simply like to change a few of the menu bar items (see below): Does anyone know if this is legal and will not hinder my ability to freely redistribute the file?
I have some problem opening a words document via flash projector.Here the code i use
on (release) { getURL("doc/unit1/LP.doc", "_blank"); }
It WORKS prefectly on my computer. Opening up the doc file in words and in the foreground.But i recieve feedback that sometime it doesn't open up in the foreground, and sometime, it open up in Internet explorer instead.
Here is the exact error I receive: Error creating Flash projector file. Be sure that Flash is installed correctly and that the destination file is not locked or on a locked drive.I am able to produce an exe but not the app.
I have:
Flash Player 10 debugger version Mac OSX Flash CS3
I am trying to make a flash player 10.1 projector file (both .app and .exe) and I am having some issues when I go fullscreen.This was originally a web project, and everything works okay online (or even locally when I click on my .html file). However when I make an .app projector file, and play it, some (not all) of my buttons stop working on fullscreen mode).I seem to be having problems with any buttons that have an alpha Tween (I am using TweenLite/TweenMax) applied to them on the MOUSE_OVER event.Buttons with Blur tweens work in both fullscreen and normal screen mode.