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..
-Array functions..
-Smoothing effec..
-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: 38979 | 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

Opening pdf documents from flash projector
posted by: Tim
on: Dec 14, 09 1:15 am

Worked like a charm! gave me a headache though before I figured out that my pdf file, the flashgeek.exe and the flashgeek.txt had all to be in a folder called fscommand.

Thanks alot.

post reply | read replies (1)



How to use flashgeek
posted by: neha
on: Jun 22, 09 5:52 am

Hello,

I want to open a powerpoint presentation (PPT) file using the fscommand and flashgeek. I created a subfolder called 'fscommand' and placed the flashgeek.txt, flashgeek.exe and my exe file in this folder. But when I tried running my exe file it was blank. When I tried viewing the html file by F12, it showed me some warning.

How do I go about it? Please help me out.
Thanks.

post reply | read replies (0)



FSCOMMAND
posted by: Rothers2005
on: Apr 4, 07 7: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 2: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)



read more commentsread more comments   |   read more commentspost comment 



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