home |  
Sell Downloads - Ejunkie
open db network by 19.5 degrees
LYRICS | FREE E-BOOKS | SELL DOWNLOADS WITH PAYPAL
 in   
contribute for fun & profit
brink
-Array functions..
-Flash Remoting ..
-str_pad functio..
-Detecting mouse..
-Ltrim, Rtrim an..
-Opening externa..
-Modifying Flash..
-Smoothing effec..
-Array functions..
-Drawing / Vecto..
 
See all Flash Tutorials
 
-Extensions/Plug..
-FLA..
-Flash Software..
-Flash Tutorials..
 
See all Flash
 
All Resources > Flash > Flash Tutorials > ACTIONSCRIPT TUTORIALS
spread the word around  send this page to a friend   read/write comments/corrections/additions comments  rate this 

Opening external applications and documents from flash projector

by 19.5 Degrees
 
 
views: 31010 | rating: 5/10
 


Using FScommand in flash, you can launch external applications. Things to note are -

1. You can only do this from a projector (exe made using publish), not a SWF.
2. The external executable file has to be in a subfolder named "fscommand" in the same folder as your projector file (this is for some security reasons).
3. Using this you can only launch an EXE or a BAT file.
4. Flash MX does not let you pass any parameters to the external executable. If you want to work in flash 5, this link will be of particular interest to you http://flashtools.net/.

Now, if you want to launch anything like an Excel or Word document or any other document like a PDF or maybe even a PowerPoint presentation, you this tool by flashgeek.com.

This is the code that will go on any button in your flash projector file.

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


Now flashgeek.exe goes in the fscommand folder along with the text file "flashgeek.txt". You have to specify the path and file name of the object you would like to open in flashgeek.txt (the path can be relative or hardcoded).

Please note

1. Name the executable and the text file the same name (like flashgeek.exe and flashgeek.txt).
2. For each document that you want to open, you'll have to have a set of the exe and text file like flashgeek1.exe and flashgeek1.txt and so on.

You can also check freemx. It is a similar tool with advanced features like detecting flash plug-in etc.


« PREVIOUS
  INDEX
NEXT »

spread the word around
read comments

FSCOMMAND
posted by: Rothers2005
on: Apr 4, 07 8:39 am

hi peeps can any one help me open goolge earth thru Flash?

post reply | read replies (0)



untitled
posted by: sandy
on: Sep 14, 06 3:10 am

thanks buddy, it really works for me.

post reply | read replies (0)



IT WORKS
posted by: eDuardo MarĂ­n
on: Dec 15, 05 11:30 am

TNX ALOT PPL :D
http://www.eduardo.cubica.ec

post reply | read replies (0)



.bat file
posted by: simon
on: Aug 22, 05 12:26 am

if working in windows, just juse a batch file to do the job - it's very simple (using dos commands) -- just google batch file tutorial...

post reply | read replies (0)



Free software for this
posted by: SaschArt
on: May 24, 05 11:35 pm

My soft from can open all kind of files and how many you want with easy command (I hope don't delete my post again).

http://soft.saschart.com

post reply | read replies (2)



read more commentsread more comments   |   read more commentspost comment 



home | contact | contribute | terms of use | privacy policy |