Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-23-2010, 08:55 AM   #1
TM Webbdesign
Registered User
Join Date: Mar 2010
Posts: 1
Default [AS2] Open folder problem


I want to make a link in my flash movie that opens a folder in windows but not with the webreader. But my flash movie will be on a usb memory stick so the url adress must be from the usb root folder because other wise it will relate from example F:// and that wont work when people have the usb as example D://

Need help ASAP.. please

Best regards
TM Webbdesign is offline   Reply With Quote
Old 03-23-2010, 12:52 PM   #2
Senior Member
northcode's Avatar
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 419

Create a BAT file called browse.bat with the following code in it...

explorer \
Put that file in a folder called fscommand on your USB drive. The fscommand folder and your EXE should be in the same folder (usually the root of the drive).

Now put fscommand("exec", "browse.bat"); in your FLA where you want to start the explorer window, usually in response to a button being clicked.

You are done.

Read FSCommand EXEC is Broken in Flash CS3 if you run into problems.

Check out Conquering FSCommand EXEC Part 1 : Proxy if you want to make your presentation a little more professional.
When your swf2exe tool just HAS to work
there's only one choice... SWF Studio
northcode is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:40 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.