Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fscommand help

Status
Not open for further replies.

Bob2

Programmer
Jul 3, 2000
228
SE
Hi

I have created 3 buttons and assigned them 3 different actionscripts which are ...

1.
on (release) {
fscommand ("Exec", "ar505enu.exe");
}

To start the Acrobat Installation program


2.
on (release) {
fscommand ("name.pdf", "acrobat.exe");
}

To open up name.pdf with acrobat


3.
on (release) {
fscommand ("Exec", "exec_txt.bat");
}

Together with the exec_txt.bat that looks like this..

@echo off
start readme.txt



After I have created my swf file I create a projector exe file, but when I try to click the buttons nothing happend. The mouse-pointer do change to a hand when I move over the buttons. But nothing more.

What do I do wrong here?



Regards


M
 
You haven't read my answer and my fscommand link carefully enough... You have syntax errors... Cap E on "Exec" for one, and you can't pass a specific .pdf file's name as a parameter to open it up. You must use a batch file for that also. You must also have a fscommand subfolder (direct subfolder to the folder in which lies your projector) in which are located the .exes, the batch files, and the specific files to be opened...
 
Hi again


Yes I'm sorry.... Everything is all working now. Thanks again.


Regards


M


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top