# Need some AS help

**URL:** <https://forum.kirupa.com/t/need-some-as-help/21530>\
**Category:** flash\
**Created:** [May 22, 2003, 6:16pm UTC](https://forum.kirupa.com/t/need-some-as-help/21530 "2003-05-22T18:16:26Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akuo](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@Akuo](https://forum.kirupa.com/u/Akuo)\
**Post date:** [May 22, 2003, 6:16pm UTC](https://forum.kirupa.com/t/need-some-as-help/21530/1 "2003-05-22T18:16:26Z")

</div>

I’m still pretty new to AS and was wondering how to go about this. But I’m creating a flash file to be put on a cd and I want to create a button that navigates to certain folders on the cd. Anyone here have any suggestions?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 22, 2003, 7:10pm UTC](https://forum.kirupa.com/t/need-some-as-help/21530/2 "2003-05-22T19:10:03Z")

</div>

i’m not sure if flash will let you view/open folders because of security reasons, but i’ll play around and find out…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 22, 2003, 9:22pm UTC](https://forum.kirupa.com/t/need-some-as-help/21530/3 "2003-05-22T21:22:12Z")

</div>

hi there  
i have an ideia but i need to know what do you want to do exactly  
if your ideia is to load images from several folders on the cd it’s easy but if want to navigate the folders to see waht’s inside of it then i can’t help you cause i don’t know

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 22, 2003, 9:24pm UTC](https://forum.kirupa.com/t/need-some-as-help/21530/4 "2003-05-22T21:24:23Z")

</div>

well i am pretty sure u would be able to go into different folders on a cd, but if it is going to be on a cd, i would suggest making a projector (.exe) for your movie.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 22, 2003, 9:39pm UTC](https://forum.kirupa.com/t/need-some-as-help/21530/5 "2003-05-22T21:39:32Z")

</div>

Yep, I’m making a projector. I think I wasn’t very clear the first time, but all I want is a button that opens a folder on a cd. Like it just opens x:\folder\subfolder and that’s it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 22, 2003, 9:42pm UTC](https://forum.kirupa.com/t/need-some-as-help/21530/6 "2003-05-22T21:42:04Z")

</div>

[AS]getURL(“location/file”, “\_blank”);[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 6:04am UTC](https://forum.kirupa.com/t/need-some-as-help/21530/7 "2003-05-23T06:04:42Z")

</div>

Thanks! This is your super 13337 post lostinbeta!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 6:42am UTC](https://forum.kirupa.com/t/need-some-as-help/21530/8 "2003-05-23T06:42:57Z")

</div>

LOL… glad I could help 🙂

no more 13337ness here 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 7:48am UTC](https://forum.kirupa.com/t/need-some-as-help/21530/9 "2003-05-23T07:48:18Z")

</div>

of course yes… flash can manipulate your PC… you can even put actionscripts that will open a .exe file or format a drive! But not in MX… sorry… But FLASH 5 will. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 8:21am UTC](https://forum.kirupa.com/t/need-some-as-help/21530/10 "2003-05-23T08:21:31Z")

</div>

hi there

"of course yes… flash can manipulate your PC… you can even put actionscripts that will open a .exe file or format a drive! But not in MX… sorry… But FLASH 5 will. "

rvanet can you tell me how do you do that in flash 5?  
thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 8:35am UTC](https://forum.kirupa.com/t/need-some-as-help/21530/11 "2003-05-23T08:35:47Z")

</div>

ok… take note… u can do this in Flash 5 only…

opening some directory:  
FSCommand(“exec”,“explorer \<directory\_path\_and\_name\>”);  
create directroy:  
dirName = “myDirectory”  
FSCommand(“exec”,"command /C md " + dirName);  
delete directory:  
dirName = “myDirectory”  
FSCommand(“exec”,"command /C deltree /Y " + dirName);

and a lot more… 'twas called Flash Tricks. 🙂

I got that from a good source quite a long time ago. hehehe

Cheers! :thumb:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 23, 2003, 4:04pm UTC](https://forum.kirupa.com/t/need-some-as-help/21530/12 "2003-05-23T16:04:31Z")

</div>

I believe they removed that from Flash MX because it poses a major security risk.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 24, 2003, 2:28am UTC](https://forum.kirupa.com/t/need-some-as-help/21530/13 "2003-05-24T02:28:40Z")

</div>

Yes… You’re absolutely right! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 29, 2003, 7:49pm UTC](https://forum.kirupa.com/t/need-some-as-help/21530/14 "2003-05-29T19:49:12Z")

</div>

Hey, I know this is a long lost thread, but I couldn’t get the geturl command to work but I found an alternate solution:

Create a batch file like this

@echo off  
start .\directory\subfolder

Then point your button to that batch file using fscommand to execute it and it’ll open right up.

The batch file must be in a subdirectory called fscommand though. Also, in that batch example directory is a subfolder of the fscommand folder. I could be wrong, but that’s what Macromedia’s documentation was. It will only execute if you convert your project into a projector.
