Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








How To Launch PDF File From Flash?


How can I launch a PDF file with flash whit out a batch file?
I have Flash MX and I need to make a projector that can open PDF/DOC/XLS files, I think is posible but HOW?

TNX for any HELP


_LOBO_



using batch file is somone is interest:
http://www.geocities.com/bgx_2000/bat.htm

with out batch file, dosen't work to me
http://www.actionscripts.org/tutoria...cs/index.shtml




FlashKit > Flash Help > Flash ActionScript
Posted on: 12-18-2002, 11:15 AM


View Complete Forum Thread with Replies

Sponsored Links:

Launch Windows File Browser For Jpeg File Import To Flash?
I would like for the users of my interactive piece to be able to click on a button which says, 'import file'. This would launch the usual windows open file browser window to appear. Then the user could import an image file. This file would load into a holder movie clip and then would stretch or shrink to fit into a size of my choosing, i.e. 400 x 300. Is this possible? I imagine it might be using flash to call some javascript but I could use some advice.

Thanks

View Replies !    View Related
Can Flash Launch PDF File?
Hi there,

Anyone have the experience of opening Acrobat PDF file using actionscript? If so, what actionscript you used?!

Pls help.

View Replies !    View Related
How To Make A Flash File Launch Another Flash File In Same Web Page.
I don't think what I'm trying to do is too difficult. I'm developing a home page using Dreamweaver. The home page is set up as a table with several columns and rows that create several cells. I've created a swf file converted from an avi file produced with a video editor tool. It's a talking head movie in two parts, two separate swf files.

When the web visitor arrives at the home page, the first part talking head swf file is activated and welcomes the web visitor. The talking head swf file "speaks" for a minute and then fades to white against a white web page background.

This first swf file opens in a table cell in the upper left of the page. When the first swf file ends and fades to white, another swf file opens in a table cell in the lower right OF THE SAME WEB PAGE. This second talking head shot is set up in video editing to start as all white and then fades into the visible swf file. It runs a minute and then fades to white too.

When the second talking head ends, there's no loop, it just ends. The web visitor is then left to decide where to go next. Other navigation options are optional on the page to help the web visitor.

I looked under "actionscripting" and found "Load a movie to replace a movie already loaded", but that doesn't help since it's loading the movie in the same HTML table cell. I want swf movie #1 to load swf movie #2 but in a different cell location on the same web page.

The tip I found results in loading a movie into a target already containing a loaded movie. That's not the effect I want. I want to load a movie into a target that doesn't already contain a loaded movie - a separate location on the same web page.

All in all, all I want is for the first swf file to cause the launch of the second swf file without any prompts... and within the same web page. It's a simple "file launch another file" I'm seeking to achieve. I've looked this up as "file sequencing", "file-load-file" and a variety of other search phrases but I'm getting no where.

Hopefully, I've articulated this clearly. Thanks for any help anyone can provide. I'm a newbie, so please have mercy by not assuming I'm any more than that. Thanks.

View Replies !    View Related
Help With AppleScript To Launch File In App From Flash
http://www.flashkit.com/board/showth...eadid=375198#7

I have found this thread that describes how to use appleScript to launch a file in its application on a Mac(hopefully without a browser window!), I can target the script from flash no problem but cannot get it to work - through flash or by just double clicking the script. Can anyone help.

Thanks in advance.

Oll

Applescript is as follows:

--set the name of the file to open
property fileName : "test.pdf"
--get the path to the containing folder
set myPath to (path to me as string)
set AppleScript's text item delimiters to ":"
set the parentFolder to ¬
((text items 1 thru -2 of myPath) & "") as string
set AppleScript's text item delimiters to ""
-- find the flash file
try
set targetFile to alias (the parentFolder & fileName)
on error
--ie if there's no file here by this name, it will quit.
return quit
end try
tell application "Finder"
open file targetFile
end tell

View Replies !    View Related
Can I Launch An Applescript From A Flash .swf File?
I have been reading and reading the posts from a long while ago about launching pdf files from flash.

I am making a cdrom and have a flash interface created in flash mx2004 with several load movie actions linking other .swf files. one of these files has a selection of buttons that i want to link to various pdf files.

I have created a applescript file that reads:

tell application "Finder"
activate
select file "nameofmyfile.pdf" of disk "nameofmydisk"
open selection
end tell

and added the following code to one of my buttons:

on (release) {
fscommand ("exec", "Mac");
}

I also saved the applescript as an application, placed that applescript file, my pdf file, and my swf file into the disk image i created using Disk Utility, as indicated in the threads i was reading before.

the applescript works perfectly when i test it on its own but not when i push the button in flash...

any suggestions on what i should do?

I also want to have the same thing work in PC format...how do I get a pc to launch pdfs from a flash .swf file?

Help!!

View Replies !    View Related
Launch External PPT File From Flash Projector
I have a CD that launches a Flash splash screen automaticly when it is inserted. This splash screen has a number of options such as install powerpoint viewer, read more about us, launch the presentation, etc.

So basicly, i have got the powerpoint viewer launching ok as it is an exe file but when i use the same code to lauch a powerpoint (.PPT) file it does nothing.

Any ideas on what code i need to insert to make this happen?

Thanks

View Replies !    View Related
Please Help - Linking Flash File To Exe To Launch App Install
I'm a flash newbie - am designing an interactive cd to send software to clients and need to be able to link a button in flash to a .exe file on the cd.

Have tried

on (release) {
getURL("installersetup.exe");

}

This isnt working!

Any ideas please? (thanks so much)

View Replies !    View Related
[F9] Please Help - Linking Flash File To Exe To Launch App Install
I'm a flash newbie - am designing an interactive cd to send software to clients and need to be able to link a button in flash to a .exe file on the cd.

Have tried

on (release) {
getURL("installersetup.exe");

}

This isnt working!

Any ideas please? (thanks so much)

View Replies !    View Related
How Do I Launch *php File....
I need to launch *php file from FLASH without going to it. Is it possible to do something like onRelease ("php.php"). Thanks

View Replies !    View Related
How Do You Launch An Avi File From SWF?
What would be the correct/best Actionscript to use?
btw, the avi file is actually in divx format...what if I wanted to launch a particular player (within my pc)...? do i need to append an additional code into the actionscript?

Please be a bit more specific on the steps as I am just learning Flash (ver.5)

On the "ambitious" side: (here's another question)

Can I launch/play the avi file within a specific area within the swf file??? independent of player??

TIA!

View Replies !    View Related
Can't Launch An .exe File
Using Flash MX, I've tried the following:

I've created an .swf movie with the following script:

on (release) {
fscommand ("exec", "Setup.exe");
}

In a folder where the .swf is located I've created an 'fscommand' folder in which I have placed the Setup.exe.

It is said that the only exe files that can be launched are exe files that are placed in a folder 'fscommand' located in a same folder as a projector. That makes me wonder,
is a flash movie a projector or not? And if not, what is a projector?

View Replies !    View Related
Launch A Bat File.. HELP
im using this:

on (press) {
fscommand("exec", "res.bat");
}


and nothing happends, i tested my .bat file and works fine, what wrong ???

Flash MX


thanks

View Replies !    View Related
Launch .pdf File
Hi..
I have a webapplication with a linkbutton to a .pdf dokument.
Is it possible to launch the pdf file from inside Flash, without the "opening dialogue" (bla bla save to disc, open)?
(I want Acrobat reader to launch the document at once, when the button is hit).

Thankful for some advice about this.

/S-fish

View Replies !    View Related
Launch A File
Hi there everyone,

I want a button in a swf to launch a file or application that's on my computer. The swf would live only on my computer and most likely in the same folder as the file or app I'm trying to launch. I figure this should be easy but can't figure it out.

Any help appreciated,
Dan P.

View Replies !    View Related
How To Launch An Exe File?
How to run an exe file using flash? it's like clicking a button then it will open the exe file

View Replies !    View Related
How To Launch An Exe File?
How to run an exe file using flash? it's like clicking a button then it will open the exe file

View Replies !    View Related
How Can I Launch .exe File In Fullscreen From Cd?
Ok, i know i need Autorun.inf and the flashfile.exe but but can i launch the .exe file in fullscreen from cd?

-mika

View Replies !    View Related
Could The Fscommand Launch A .PDF File?
I'm developing a CD Rom with Flash MX, I'm trying to make buttons that launch .PDF files with the fscommand, could this be done????
If not, how can this be made????

Thanks for all the help!!!!!

View Replies !    View Related
How To Launch A Pdf Or A Mpg File From Within A Button
I have to launch different kind of file from within an animation.

I have tried getURL, this works but the files I launch (pdf or mpg) are executed in a browser window. I want that those files be played with the application associated to the type of file (ie acrobat reader for pdf, windows media player for mpg...)

How can i do that ?

Thanks a lot

View Replies !    View Related
Button Launch Url From Txt File
Hello all,
i have spent several hours trying to figure this thing out but being a newbie can't quite follow everything.
here is what i am trying to do,
i have a scrollable textbox that loads text via variables from a txt file. In that txt file is a href link. now all that works fine but what i am trying to do is get a button to point to the link within the txt so whenever i need to change the url for the link i just have to edit the txt file and have the button grab the new link so i don't have to go back into flash mx to get the button to match the url.
can anyone help me out?
thanks
Toren

View Replies !    View Related
How To Launch An .swf Or .exe File In FullScreen?
Does any body know how can i launch my .swf or .exe file in FullScreen?

is there a script?

THANKS a lot..

View Replies !    View Related
Launch Avi File With Its Associated Program?
I'm very new to using flash and am very glad to have found your site.

I'm making a Windows program interface with flash 8 and I need to make a button that when pressed will launch an avi movie file with its associated program (i.e. Windows media player, etc.)

I have found a few things while searching the Internet about using fscommand, .bat files, getURL. etc. but they are all very vague and generalized and none of them have done quiet exactly what I need it to do.

If someone could please, please, please help me I would greatly appreciated it.

Thanks

View Replies !    View Related
Want File To Launch In Foreground...how?
Hello, i am doing a CDROM project and I am launching word docs using the bat file method.

I want my app to be fullscreen, however, I want the app launching the doc (Word or, in my case, Open Office) to launch in the foreground. Right now it launches behind the projector and is invisible to the user. This is not good.

Thanks in advance for any help.

View Replies !    View Related
Even Possible? Auto Launch CD/with HUGE Swf File
I'm about to cry like a stupid girl.

This is what the client has asked for:
In short, he wanted a quick flash website that was based on a 5 minute infomercial that he could put on CD and mail to customers.

Easy enough--it's even less than six pages!

Then, he got to talking to a "flash guru" who told him he could put the 5 minute infomercial on the CD as well. So the client decided that he wanted the informercial to auto-launch with Quicktime, then call the flash file, all in a browser window. However, the client's programmer couldn't figure it out, so I got called two days ago and asked if I can use loadMovie to take care of the whole mess in Flash. I said I'd see what I can do.

The "flash guru" used Sqeeze to compress the video into a 30 meg swf file.

QUESTION ONE: Does that seems HUGE to anyone but me?

So far, I've used loadMovie like I knew I could, but the hugeness of the swf is such that on playback, it looks horrible from dropped frames.

QUESTION TWO: I could use a preloader, but wouldn't that take forever to load?

QUESTION THREE: The client would also like to put the whole mess on his website once it's finished. Is he high?

Any ideas? I'm way over budget on time and I'm about ready to drop it back in his lap and tell him he's on his own.

Thanks in advance for any and all suggestions.

View Replies !    View Related
How Do I Launch A Word Document And PDF File?
I'm developing an interactive CD.
I need to be able to allow the user to open Word and PDF files.

I'm not sure how to do this.

I've tried using getURL, but that doesn't work.

I'm a bit saturated and can't think how I can do what I need.

Any help would be appreciated.

Thanks.


OM

View Replies !    View Related
Launch An External File On Macintosh
Hi!!

The only reference I've found for this is on Flash J**ster's site which makes it seems quite simple. The applescript executes perfectly but the flash projector does nothing when clicking the button to execute the applescript:

Actionscript:
on (release) {
fscommand("exec", "your_applescript.app");
}

Applescript:
tell application "Finder"
activate
select file "powerpoint.pps" of folder "fscommand" of disk "Your_CD_image"
open selection
end tell

View Replies !    View Related
Using .mxml File To Launch ActionScript App
Hi,
I am trying to build an application that is almost entirely in ActionScript, but I would like to take advantage of a few flex classes (e.g. Canvas, ApplicationControlBar, etc.).

What's my background/who am I? I am proficient in many languages (C++, Java, Objective-C, CommonLisp, Interlisp, etc., etc.). I am new to Flash/Flex/ActionScript (but overall am really impressed). I am using Flex Builder 2. And I have just spent 8 hours googling and browsing for an answer to what seems a fairly simple question:

How do I write an .mxml file that uses (if necessary) mx:Application and allows me to run my ActionScript app? Or, equally fine, how can I import mx classes (e.g., mx.containers.*, mx.collections.*, mx.events.*, etc.) without using mxml file in my project?

Thanks,
-Eric

View Replies !    View Related
How To Launch A Batch File From FlashMX?
how can i launch a .bat file from flashMX or a flash6 swf?

View Replies !    View Related
How Do I Launch A Word Document And PDF File?
I'm developing an interactive CD.
I need to be able to allow the user to open Word and PDF files.

I'm not sure how to do this.

I've tried using getURL, but that doesn't work.

I'm a bit saturated and can't think how I can do what I need.

Any help would be appreciated.

Thanks.


OM

View Replies !    View Related
Can’t Launch A Word Doc File In New Window? Need H
I’m trying to do a simple thing, launch a Word doc in a new window. When I export it in Flash 6 or 7 it opens a new window and then says “action canceled” However if I publish the movie in Flash 8 it works fine. I am using a simple get URL command:

http://www.proficientaudio.com/news/test_doc.html


ActionScript Code:
on (release) { getURL("http://www.proficientaudio.com/news/release.doc", "_blank");
}


I don’t get it; can someone please help me out with this one?

Thanks

View Replies !    View Related
How Do I Launch A Word Document And PDF File?
I'm developing an interactive CD.
I need to be able to allow the user to open Word and PDF files.

I'm not sure how to do this.

I've tried using getURL, but that doesn't work.

I'm a bit saturated and can't think how I can do what I need.

Any help would be appreciated.

Thanks.


OM

View Replies !    View Related
Launch External File With A Search Tool?
http://www.flashkit.com/tutorials/In...73/index.shtml

Cool search tool with url link. Is it possible to launch "lets say a PDF document into the browser that is in the same folder or sub folder?" as oppose to a URL link.

View Replies !    View Related
How Launch A New Custom Window From A Projector File?
hey all.. I have to make a no scroll / menu bar pop up window.

I do this all the time from flash files in HTML, but the html contains javascript, so how do i launch a new browser to my specifications from a .exe???

View Replies !    View Related
Fscommand Folder Not Working To Launch A Exe File
On my windows desktop I have a folder called fscommand. I have in it a time.exe (made in flash as a stand alone application) My movie has a button with the action scrip as follows:

on (release) {
fscommand("exec", "time.exe");
}


Well needless to say nothing is happening when I run the "swf" or even if I make a "exe" out of the swf.

Can anyone help me?

View Replies !    View Related
How To Make A Button Launch An Html File
as simple as this probably sounds to many of you, I just can't seem to make it work, even after searching through the forum's.

All i want is to make a button that will launch a file "index.html"

please help!!

Jantunes

View Replies !    View Related
Auto Launch A Movie Or Projector File From CD
does any know how to auto launch a movie or projector file from CD for a MAC and a PC? thanks

View Replies !    View Related
Launch Html Page From A Projector File
Hi there,
Im trying to launch a html page from my projector file but dont know how its done.

Does anyone know where I can get an instulation file for the flash player, that can be installed offline, so people can view my work in internet explorer offline after I have launched it from the projector file.

Any help is much appreicated.


Cheer.

View Replies !    View Related
Show Text & Launch File On Scrolling Buttons
Hi,

I've kinda "re-newed" my Flash5 dreams...(translation: i'm back to square one ...of making silly questions

Anyway, I've managed to make the scrolling menu work (with a little help from peeps here, please see attached fla file) However, after all the excitement of making it work, I'm still stuck with the following:

a) How do you make each of the "scrollbuttons" show text at the end (or the beginning of the scrollmenu) on mouse-over rather than at the top?

b) And now for the more important thing...how do I make each of the buttons launch a particular file (in my case, an AVI file)??? when I clicked on them?

Please feel free to make your replies as specific as possible coz I've totally lost going about it...

TiA!

View Replies !    View Related
URGENT Launch Full Screen Window From Projector File
hi ...
i would like to launch a fullscreen window from a projector file ... is there a script for that ... the point is to launch it in full screen mode without the toolbars etc ...
is there a way to do this .. if yes THANX VERY MUCH

View Replies !    View Related
Launch Powerpoint File Into Full Screen Browser Window
Hi,

Does anyone know how to launch a powerpoint file into a full screen browser window from a projector file? We don't what the menus and icons, is it possible to switch them off?

View Replies !    View Related
Can A Swf File Launch An Exe File?
Hello

Can a swf file launch an exe file?

If I save my swf file as an exe it will launch the exe.
But if I leave my file as a swf it won't launch the exe.

Does any one know a way?

Cheers
Justin

View Replies !    View Related
Launch Avi From Flash?
I'm making a presentation with flash and i'd like to launch some avi's i've made from within flash, i've seen other people asking the same in the boards but didn't get answered, PLEASE!!! anyone?? i really need this one...

View Replies !    View Related
HELP Launch .exe From Flash .exe
I have tried this time and time again. I am trying to launch an .exe from a Flash .exe and it just doesn't work. The exe should be launched from a button. I am publishing for Flash Player 6. I would use 5, if needed.
Anyone have the exact code that will work for this? I have been using the fscommand and putting the files in an fscommand folder.

View Replies !    View Related
How To Launch A .pdf From Flash ?
How do you launch a .pdf from within flash. Do I need to use javascript to launch an .html page that subsequently calls the .pdf ? (It's for an intranet so everyone has .pdf readability).

Thanks.

View Replies !    View Related
How To Launch .exe From Flash
Hello
I try to launch another application in .exe from a flash button.
Flash is inside html page, how can I do (if possible)?
Thanks to help me.
Obrian

fla file is attached (82 ko)

View Replies !    View Related
Can I Launch An .exe From Flash? Possible?
OK.

I created a screensaver with Screentime for Flash (3rd Party). I'll call this Screensaver.exe.

The link to this screensaver is in my self executable file (which happens to be a User Agreement). I'll call this User_Agreement.exe

When the CD is put into the computer, User_Agreement.exe launches and prompt the user to either "Agree" to the terms, or "Disagree" If they disagree to the terms, they exit out of the screen. If they agree, then I want them to be able to launch SCreensaver.exe (which is an installer).

Is this possible?

Please help!!!

View Replies !    View Related
Having Flash Launch A .bat Off Cd
I am making an enhanced cd using flash studio mx. I am trying to have a link open an mpeg or .wmv file. right now i have the following code

fscommand("exec","final/sweethoney.bat");

}

the .bat and the sweethoney.wmv are in the fscommands folder. i cant get flash to launch the .bat file. I believe all of the files are in the right place?

do you know if it is possible to have flash launch mpegs some other way? or is there something i am doing wrong in this example...
please help

View Replies !    View Related
Launch EXE From Flash?
I have 2 flash projector .exe's. I need to make a button that will close one projector window, then launch another, and vice versa. The 2 projectors exe's need to be linked so that one can launch the other, then the other can be launched back. They need to be separate projectors and cannot be compiled to one file.

the file names are 'dvd.exe', and 'cityPark_PC.exe'. I need to get this done today so any help is greatly appreciated. thanks!

View Replies !    View Related
PLEASE HELP - Using Flash To Launch A .exe On PC
Hey Now good people, I am running into a problem and I need some insight. I am using Flash to launch an executable on a remote PC and it works on everything BUT WinXP SP2 with Internet Explorer 6 SP2... here's the thing, it should pop-up the "Run?" dialog, but with the above configuration, nothing happens unless you press the CTRL key several times (then it works) I am completely baffled as to why the CTRL keypresses would eventually launch the .exe... can anyone provide me with even a clue? It's not: security settings, pop-up blocker, firewall, etc... it's definitely between Flash and the browser. But WHY?

Please help me, I have to have an answer by Tuesday or I'm a dead man.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved