Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-24-2008, 10:04 AM   #1
Alida
Registered User
 
Join Date: Oct 2008
Posts: 3
Red face Open windows explorer from the flash projector

Hello everybody,

I have an unfinished project that I need to complete, and unfotunally I don't know Actionscript 3.0 too well.

The whole project is a DVD that autoruns the flash (exe), and what I need is a button that will just open the root directory (or a specified folder in the CD, it doesn't matter) with the windows explorer.

I've been googling it for so long now, I really hope someone can help me find the proper script for it...
(:

Thanks a lot!

Alida
Alida is offline   Reply With Quote
Old 10-24-2008, 12:06 PM   #2
Alida
Registered User
 
Join Date: Oct 2008
Posts: 3
Default

plz help someone?

I know my question is annoying, but plz plz plz!

I found the code for AS2:

Code:
on(release){
getURL("..//mydir")	
}
but how do I do that in AS3..?

I hope someone knows...

Thanks in advance
Alida is offline   Reply With Quote
Old 10-24-2008, 12:31 PM   #3
matbury
What's up pussycat?
 
matbury's Avatar
 
Join Date: Dec 2006
Location: Toronto, Canada
Posts: 1,990
Default

You could try:
ActionScript Code:
var request:URLRequest = new URLRequest("..//mydir"); navigateToURL(request);

But for the kind of thing you're trying to do, I'd recommend considering using Adobe AIR. It's a free extension to Flash CS3/CS4. You can read more about it here: http://www.adobe.com/devnet/air/
__________________
http://matbury.com/
matbury is offline   Reply With Quote
Old 10-24-2008, 06:51 PM   #4
Alida
Registered User
 
Join Date: Oct 2008
Posts: 3
Thumbs up

Thanks Matbury,

Finally someone pointed me to the right direction..
I already had the right code, apparently, (but of course thinking it's wrong, due to un-workingness ),
And installing some update and the tools made it all to work.

sorry for the stupid question, but i just installed flash for the first time like 2 days ago (:

Have a good one,

Alida
Alida is offline   Reply With Quote
Old 10-25-2008, 12:02 AM   #5
matbury
What's up pussycat?
 
matbury's Avatar
 
Join Date: Dec 2006
Location: Toronto, Canada
Posts: 1,990
Default

You're welcome, and remember, the only stupid question is the one you don't ask!

Happy coding!
__________________
http://matbury.com/
matbury is offline   Reply With Quote
Old 02-13-2009, 02:28 PM   #6
melvinace5
Registered User
 
Join Date: Feb 2009
Posts: 4
Default

can u send me that code? please.. help me.. thanks..
melvinace5 is offline   Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to tell the flash projector to open a file from CD Drive? VampireMan Projectors and CDs 3 05-02-2008 06:37 PM
Windows installer for Flash Projector file? K2_02 Projectors and CDs 2 04-26-2006 08:39 PM
how to open pdf file from projector file in acrobat reader sohailfx ActionScript 2.0 2 06-24-2005 05:54 PM
Problems w/ flash remoting in internet explorer Windows XP clem_c_rock Flash Remoting 2 10-28-2004 07:10 PM
Making Flash open Windows Media Player and Close after the movie has played BREK Other Flash General Questions 1 05-21-2003 12:36 PM


All times are GMT. The time now is 01:51 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.