Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-31-2009, 12:14 PM   #1
angls
Registered User
 
Join Date: Oct 2009
Posts: 11
Default [AS1] how can I browse a file from a cd using action script

hello
I am designing a cd autorun. I made a close button that when I click on, it will end the autorun program and if possible open a file from the cd.

I need the code that help me in this matter

waiting your comments
thanks/best regards
angls is offline   Reply With Quote
Old 10-31-2009, 11:35 PM   #2
sparkdemon
Senior Member
 
Join Date: Oct 2009
Posts: 189
Send a message via Skype™ to sparkdemon
Default

use geURLto open the file by specifying its relative path
sparkdemon is offline   Reply With Quote
Old 11-01-2009, 11:32 AM   #3
angls
Registered User
 
Join Date: Oct 2009
Posts: 11
Unhappy it is not working

I tried this way. unfortunately it will open my web browser instead

if you have another one, please tell me ASAP.
thanks
angls is offline   Reply With Quote
Old 11-03-2009, 04:58 AM   #4
northcode
Senior Member
 
northcode's Avatar
 
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 419
Default

Check out my FREE proxy utility. It will let you do what you want.
northcode is offline   Reply With Quote
Old 11-07-2009, 06:46 PM   #5
angls
Registered User
 
Join Date: Oct 2009
Posts: 11
Default hi northcode

Thanks for the nice page you gift. It is really useful.

Actually I wanted to allow the user to browse the Cd after seeing the presentation so the rest of documents that are not contained in the presentation will be shown in an individual file which will appear to the user after he clicks on the button.

I hope you understand what I meant. so, please help me.
Thanks / best wishes
angls is offline   Reply With Quote
Old 11-08-2009, 04:27 PM   #6
northcode
Senior Member
 
northcode's Avatar
 
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 419
Default

Since proxy works with BAT files you can put any command you want in the BAT file to do just about anything you want. To show a folder from the CD you would call "explorer.exe" (which is the Windows Explorer, not Internet Explorer). You can do it like this to browse the root folder of the drive the BAT file is on. This will work from a CD or on your desktop if you want to try it before burning a CD.

Code:
explorer.exe \
northcode is offline   Reply With Quote
Old 11-10-2009, 07:50 AM   #7
angls
Registered User
 
Join Date: Oct 2009
Posts: 11
Thumbs up genius!

hello northcode
Thank you very much. The problem is solved. There are no more comments to add. just to say you are really genius.

by the way, is this way working in Mac also?

thanks/best regards

Last edited by angls; 11-10-2009 at 07:52 AM.
angls is offline   Reply With Quote
Old 11-10-2009, 01:46 PM   #8
northcode
Senior Member
 
northcode's Avatar
 
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 419
Default

On a Mac you can EXEC a compiled AppleScript file instead of a BAT file to do the same thing.
northcode 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


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