-
June 22nd, 2003, 09:32 PM
#1
running progs from flash prob
ok am trying puttin together a cd and i need flash to run a setup.exe prog on the cd when the user clicks a button
directory is like this
root -> flash file
/instal/setup.exe
now tried using the fscommand
on(release){
fscommand ("exec", "instal/setup.exe");
}
but no joy so i created a .bat file and placed in root that would call the exe - which works fine but when i try to run the .bat using the fscommand it doesn't work either >_<
have converted the .swf to a projector file (.exe) does this make a difference(!?)
any input would be appriciated
thanks
v_Ln
-
June 25th, 2003, 01:47 AM
#2
Senior Member
i've been having the exact same problem. Even if you type the entire path of the program it still doesn't execute the other program. It seems to me that the exec command doesn't work?
-
June 25th, 2003, 06:43 PM
#3
is weird i knew you couldn't do it from a remote location
like running a prog on a local machine from a webserver
but the fscommand should work as long as both files are on a local machine....
but one thing i noticed was using the getURL command to launch .jpgs in a new window skips to the root drive unlike html example
<a href="/images/me.jpg"> opens me.jpg form the folder images which is one above the folder that the html file is in
but if you use
getURL("/images/me.jpg", "_blank"); in flash then it opens looks for the file
c:/images/me.jpg no matter what folder the .swf is in
i wonder if this makes a difference? tho u said even if you enter in the full pathy it still doesn't work so maybe not ?
need to burn of a test cd and check....
v_Ln
-
June 26th, 2003, 02:45 AM
#4
Senior Member
okay, i googled up some information on the problem.
It seems that the executable needs to be placed in the folder /fscommand
Source
where for security reasons applications have to be stored in the "fscommand" directory of the projector, and paths as well as parameters passed to the application are ignored.
I've tested it like this and it runs fine.
you should check out the site as well, it shows you how you can run an executable in a different path.
-
June 26th, 2003, 06:53 PM
#5
thanx but you never posted a link to the site
so share the wealth??
v_Ln
-
June 26th, 2003, 06:56 PM
#6
Senior Member
it says Source right under quote: =D
-
June 27th, 2003, 10:22 AM
#7
i ain't know if this helps or not but i have used this software called flashstudio pro it is one of those swf to exe progs but it is usefull and worth tryin here
-
June 28th, 2003, 02:18 AM
#8
whoops soz hell didn't see that >_<
will check it out when not pished
v_Ln
-
June 28th, 2003, 07:19 PM
#9
well have just about recovered from last night >_<
one of those 'quick drink after work' that turned out to be alot more than one
so am checking out those links - thanks peps
v_Ln
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
|
|