HI!!! everyone. well im having some problems and i really need some help from u guys & girls so…i need a script that can open up other programs or install other programs from flash ive never really needed to do this before so theres always a firstime right?! hehe well i hope u guys can help me with this little and im sure simple to u guys problem but i need the help im not really new to flash script but im not quite to some of u guys level YET! but i hope i will someday well plz help a guy out thanx
LiquidRage, dont crosspost.
sorry …:thumb:
I think you can launch another application from within the flash projector.[AS]on (press) {
fscommand(“exec”, “yourfile.exe”);
}[/AS]Be sure your exe file is inside a folder called fscommand
thanx ill try it out right now
ok so if i creat a button in flash and where it says
(“exec”, “yourfile.exe”); <<< under yourfile.exe. that is where i put the file name? well im sure there is where it goes but i try it and it doesnt work so for example i creat the button and put that script can i just put a simple exe file like (flash.exe) and it will open it? or do i have to make it different?
It does work. Be sure to publish as a projector and place the exe file inside a folder called fscommand.
im sorry it says something about “The Serialization Dll/Lib does not exist”…what does that mean?
Download this example:
wow thats cool…but can u send me the fla. so that i can just see how exactly u did it ? that way i can see the script…and i can make sure i learn how to do this …i really want to learn this stuff
I used this code on a button:[AS]on (press) {
fscommand(“exec”, “notepad.exe”);
}[/AS]
ok so i put the exe file in the folder but it still wont work. im not sure if im doing this right. so what im going to do is post the file so u can see if for ur self ok
I cant open rar files…
But remember this:
If the path to your you projector file is:
c:\my documents\myprojector.exe
The path to the file you want to open should be:
c:\my documents\fscommand\fileyouwanttoopen.exe
o k so i try and try and it doesnt work i just dont know what im doing wrong im following ur instructions…but it still doesnt work…is there someother script that i can use?
I thnk its the only way flash handles launching other applications.
I cant see why it isnt working for you.
:-\
i suck!!!..hmmm!..hmmm well i dont know …hm. i think it might be the exe im useing do u think it would work if im trying to open up flash? like this
on (press) {
fscommand(“exec”, “flash.exe”);
}
but if im trying to open flash…in the fscommand do i need to put all of the support files?
Try opening the notepad.exe file
Put the file inside the fscommand folder.
But remember this:
If the path to your you projector file is:
c:\my documents\myprojector.exe
The path to the file you want to open should be:
c:\my documents\fscommand
otepad.exe
And apply the following code to a button in flash:
on (press) {
fscommand("exec", "notepad.exe");
}
ok so i put the notepad.exe file in the folder and when i try it,it say something about some dlls not being there. can u tell me how u got ur notepad.exe file?and then i try to just grab the short cut and right click and change the name and just type in notepad.exe. and the button doesnt say or do antying
Copy the file from Windows folder.
I attached it a few posts b4…
i dont know what it is i think flash hates me now …but its still not working…hm…i guess ill see what i can do…but i dont what to do heheheh (-: