ActionScript 2.0 :: Opening A PDF File From A Projector / SWF?
Oct 10, 2005
I have this project that requires opening pdf's in acrobat reader that needs to be burned on a CD ROM as a self contained EXE. So I am designing this in flash with buttons that will open pdf's, then I'm exporting this as a swf and importing that into Director and then exporting it as an exe. Why you ask... it seems when I export the flash file as an exe, it needs flash player installed to open the exe. This project needs to be burned on a cd rom and as a stand alone player that will open pdf's in reader.
So my question; Is there an easier way to do this? and How? 2nd, what is the code to open a pdf file from a flash swf/projector in (A.) Acrobat reader or (B.) explorer.
View 2 Replies
Similar Posts:
Sep 4, 2005
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.
View 1 Replies
May 20, 2003
how do i open an WINDOW without tool bar, status bar and scroll bar. from an EXE project...file in which there is a button after pressing that button a window should open with all the above specification......
It is possible through an swf in an html...but through exe file ...its difficult.
View 1 Replies
Aug 16, 2011
I'm working in CS5, using AS2 on a Mac.I've built a presentation that requires the need to open pdf files in Acrobat Reader... as I have been building this on a Mac I simply used the geturl code which has been working a treat... today when I tested it on a PC it opened the file in a browser window!
I'm not really a coder and have to rely on finding bits online that I can tweak... after many hours I have fixed the pdf opening problem by using the fscommand method, but unfortunately when the pdf file is closed, my presentation (that was running fullscreen) has minimised itself to a window 100% to the original stage size!
View 2 Replies
Aug 16, 2011
I've built a presentation that requires the need to open pdf files in Acrobat Reader... as I have been building this on a Mac I simply used the geturl code which has been working a treat... today when I tested it on a PC it opened the file in a browser window!
I'm not really a coder and have to rely on finding bits online that I can tweak... after many hours I have fixed the pdf opening problem by using the fscommand method, but unfortunately when the pdf file is closed, my presentation (that was running fullscreen) has minimised itself to a window 100% to the original stage size!
View 2 Replies
Jan 18, 2010
I'm doing an interactive kiosk and the FlashPlayer on the screens we're using is like a modified Flash7 or something and it has a lot of trouble reading even the most simple actionscript (extremely frustrating). So I'm trying to load an external projector file (.Exe) from the SWF, which would solve everything.The file that calls the Exe MUST be a SWF.I've tried to wrap my head around possible workarounds for a while now, but haven't much luck.
View 3 Replies
May 27, 2011
how to convert Flash Projector .exe file to a fla file.
View 1 Replies
Sep 14, 2009
I have managed to get it to open a file browser but all I can seem to get it to do is give me the NAME of the selected file *eg. selectedFile.name* I also need the path of the file as in C:examplefile.mp3.
The program I'm making plays an MP3 of your choice at a certain time, like an alarm clock. But I got tired of entering the file path of the MP3 EACH time so I wanted to have a browse feature.
View 1 Replies
Apr 28, 2011
I recently had Flash CS4, I made an AS2 .swf, published to .fla. Now, I have Flash 8. I am attempting to open the CS4 .fla, and it says, "Unexpected file format!"
View 2 Replies
May 24, 2011
I have two seperate machines I work on. Is it possible to have a true fullscreen? It was possible in as2, but all examples I've seen on this forum haven't worked. I will not be using an accompanying html file, I will be publishing to exe.
View 5 Replies
Jan 15, 2006
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?
View 1 Replies
Jun 7, 2007
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....
View 2 Replies
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?
View 5 Replies
Mar 24, 2010
I'm building a standalone projector which will be run locally without an internet connection. is it possible to be able to write variables to a text file on the computer?
View 1 Replies
Jun 26, 2009
I have been asking a fair number of questions here recently and have been very pleased with the responses, so here is one more for you. Hopefully I can get another solution. :]
I have a flash project acting like a menu and being published as an .exe (projector). In this file, I have a button with the following code:button1.onRelease=function(){fscommand("exec", "openfiles.bat");}
I have an fscommand folder (in the same directory as my flash file) which contains the openfiles.bat, with one line: start myfile.txt
myfile.txt is also located in the fscommand folder. When I simply click on this batch file and run it, the text file opens as it should. However, when I click the button in my flash file, a command prompt window flashes too quickly to see with some sort of error message. It says something about not finding a certain directory and defaulting to the windows directory. I'm assuming it cannot find either my batch file or my text file. I am under the impression that as long as everything is in the fscommand folder it should work properly.
View 3 Replies
Aug 26, 2009
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.
View 8 Replies
Oct 9, 2009
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.
View 2 Replies
Apr 19, 2010
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.
View 1 Replies
Mar 2, 2011
I'm using the FileReference to download a file (using a relative path). If I test it on the .swf on the browser it works. If I compile a .exe projector the download doesn't works.
View 1 Replies
Sep 30, 2011
I have my swf, and within it is a button, when this button is clicked, would it be possible to load Notepad.exe?I am not looking to turn my swf into a projector file (think this would make it an .exe).If this is not possible from within AS3, are there any libraries anyone knows of which could handle this, or maybe even another solution to getting this done.The main thing is having an swf load a exe, not an exe loading an exe.
View 3 Replies
May 1, 2011
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?
View 1 Replies
Jul 23, 2009
Can I create a "MAC" projector file that can use the shared object commands of the original .fla? It seems the projector does not use the shared object commands on the mac side but does if I create a windows projector. I am looking to create an autorun hybrid (Mac and PC) with shared object functionality.
I am using CS4 on a Mac. Latest OS
View 0 Replies
Oct 28, 2009
I`ve been trying to load a swf file in a windows projector file. However, when I preview the project in the swf format it works perfectly, but if I preview it as a windows projector file, nothign happens. It doens`t load the external swf file.[code]...
View 0 Replies
Dec 7, 2009
I know there is a way to make the flash movie play full screen when publishing as a projector? The only method I know of is by adding code to an HTML page, but since this is a projector file that will be played on CD, I'm at loss.
Also, a tad unrelated to the ActionScript forum, but any info on what can be done for the projector file to autorun?
View 1 Replies
May 12, 2010
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");
}
[code]......
View 1 Replies
Jul 30, 2005
Is possible open projector file (EXE) in certain position? E. g. center position of desktop.
View 2 Replies
Mar 26, 2009
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
View 1 Replies
Dec 8, 2009
Is it possible to have a flash Projector control the timeline of another flash Projector.
example: Projector1: has a button to start/play Projector1 and trigger to start/play frame 7 in Projector2 at the same time.
So both external projectors are in sync.
View 0 Replies
Jul 26, 2011
I have a .fla that is in actionscript 3.0 and when I try to open it it doesn't show up. It's almost like I open it and flash just forgets about it. No tab shows up. I don't think it's loading because there is no lag and I have full use of flash with other open projects.
View 1 Replies
Aug 11, 2010
I am loading an external SWF onto an Miscorsoft Projector EXE file. But, it is stuck in the top left corner. How do I reposition the SWF?
I have tried creating a new movie clip to act as a placeholder, and loading the external SWF into that movie clip. But, the SWF does not load.
By the way, I am using Actionscript 2.
View 3 Replies