;

PDA

Click to See Complete Forum and Search --> : Launching Windows Explorer from within Flash


ShipLax27
11-29-2000, 04:05 PM
Hello all... I need help!

I made a Flash movie which will be featured on a CD. When the CD is inserted, the Flash exe will auto-run. In the movie is a button which I would like to launch Windows Explorer when pressed.

The button, in reality, is a "Browse CD" button. I have figured out how to launch Explorer...

On (Release)
FS Command ("exec", "explorer.exe")
End On

... but it does not open Explorer to the CD's view. It opens it to the default.

Is there a way to open Explorer so that it shows the content of the CD?

Thanks for your help in advance!

threnody
11-30-2000, 04:32 AM
:D Just change the code to look like:

On (Release)
FS Command ("exec", "explorer.exe d:\")
End On

where d:\ is the CD-Rom, this could present a problem on a system that has 2 harddrives where the CD-Rom is maybe e:

Can anyone help with this little problem? :confused:

ShipLax27
11-30-2000, 09:25 AM
Thank you, threnody... I wasn't sure of the syntax to specify the drive.

I did sort of anticipate the CD drive having a different letter, though.

Can anyone help with this?

Olorin
12-01-2000, 09:14 AM
maybe u could use the _url thingy. I haven't tested it, but it should be set to the location of the swf file, so it would also contain the drive letter for the CD. With a little string manipulation you can get a variable which only contains the drive letter and you could use that in your FS command.
Don't know if it works though, but you could try it...

Olorin