-
Flash Projector launching capabilities...
Ok, so I have 4 seperate projects made in director that have their own projector exes. This is a demo disc that will let people be able to choose the project they want to view via a menu that I am making in flash.
I want to know if it is possible when I put in the cd with the projects and menu, that the menu pops up and the person can select whichever of the 4 projects they want to view, and when they click it, the button launches the director executeable?
If so, what is the actionscript i put on the button for that to work.
Thanks.
-
make the first menu a projector exe and have it opened with a cd autorun, then u use the fscommand to open .exe's (which are your projectors) and therefore the four different files u have
Code:
on (release) {
fscommand ("exec", "someApplication.exe");
}
Simplemodern --> C³ --> Clean Cut Communication
-
nice, ya i was lookin around for an answer and saw that code, thanks for the confirmation
-
FK's Official Mac Hater
Also, you need to put all 4 exe files in a folder called fscommand.
Jason L. Wright
I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.
-
Ok...
that presents another obstacle... i can fix it, but it would be easier if there was a way to direct each button to a specific folder inside the fscommand folder... I can't simply move each director EXE out of its folder because then it screws up the way it calls all of the files in each particular project...
so right now I have the menu in the main folder, then a sub folder called 'fscommand'
ex..
C:\Main\fscommand
and then i have
C:\Main\fscommand\project1\whatever.exe
C:\Main\fscommand\project2\whatever.exe
C:\Main\fscommand\project3\whatever.exe
C:\Main\fscommand\project4\whatever.exe
is there a way to tell the action to go into the particular folder... if not, thats not a big problem, ill just have to change how the exe calls each particule file in director... but obviously id rather just have it done the easiest possible way...
thanks for the help.
-
FK's Official Mac Hater
I believe that you can still use fscommand. Just put:
fscommand("exec", "project1\\whatever.exe");
Jason L. Wright
I'm not that hard to imitate. Just make some random negative claim at Apple or anything else for that matter and then have nothing to back it up.
-
Nope, that doesn't work... thats ok though, not THAT big of a deal.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|