# Link to PC

**URL:** <https://forum.kirupa.com/t/link-to-pc/25487>\
**Category:** flash\
**Created:** [July 13, 2003, 1:54pm UTC](https://forum.kirupa.com/t/link-to-pc/25487 "2003-07-13T13:54:07Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voursez](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@Voursez](https://forum.kirupa.com/u/Voursez)\
**Post date:** [July 13, 2003, 1:54pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/1 "2003-07-13T13:54:07Z")

</div>

Hi

I’m trying to make my first Flash site, but i havve some problems…If i want a link to a place on my PC, how do i do that? Cause i cant link to the thing on the web, since i doesnt have anything on the web, i want to link to

Tanks

---

<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:** [July 13, 2003, 1:59pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/2 "2003-07-13T13:59:59Z")

</div>

If you have to link files and such, instead of linking them to [http://www.yoursite.com/file.swf](http://www.yoursite.com/file.swf), place the link as /file.swf. It will work on your computer as well as when you place it over internet in the future. 🙂

---

<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:** [July 13, 2003, 3:02pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/3 "2003-07-13T15:02:15Z")

</div>

Thanks, its almost working now. But when i press the link, that should open the Flash movie, on my PC, it opens the folder which the flash movie is in…And thats something i dont understand

Some 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:** [July 13, 2003, 3:04pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/4 "2003-07-13T15:04:37Z")

</div>

Could you be a little more specif on what you’re doing? You want to link to another swf or html? Which action are you using?  
:-\

---

<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:** [July 13, 2003, 3:10pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/5 "2003-07-13T15:10:07Z")

</div>

Okay sorry…i will try to explain…

Im making a gallery, and i have some small pics, and when i press them, i want it to open another window, with the big picture. I have saved the big picture, as “the last inhabitant.swf”, and my Action on the small picture is:

on (release) {  
getURL(The\_Last\_Inhabitant.swf, “\_self”);  
}

I have made a mark in “expression” in URL, cause otherwise it wont work…

I think thats the best i can explain it. Hope you 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:** [July 13, 2003, 3:14pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/6 "2003-07-13T15:14:47Z")

</div>

Ok, use this:[AS]on(release){  
loadMovieNum(“The\_Last\_Inhabitant.swf”, 10);  
}[/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:** [July 13, 2003, 3:16pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/7 "2003-07-13T15:16:19Z")

</div>

Thanks…Could you explain me, why i need to write that instead? I think i will be better if i understand…But thanks again

Edit: It aint working…It says, that mouse events, are only for button instances…So i converted the picture to a Button Symbol, but that doesnt work…Help me please

---

<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:** [July 13, 2003, 3:22pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/8 "2003-07-13T15:22:33Z")

</div>

loadMovieNum is used to load another swf. “10” is the level the new movie clip will be loaded into.

---

<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:** [July 13, 2003, 3:23pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/9 "2003-07-13T15:23:25Z")

</div>

Are both files on the same folder?

---

<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:** [July 13, 2003, 3:25pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/10 "2003-07-13T15:25:44Z")

</div>

Hmm…Yes they are…The first one is called “Gallery”, and is in the “Homepage” dir. And the Flash Movie, is in the same dir. So i dont understand 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:** [July 13, 2003, 3:31pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/11 "2003-07-13T15:31:49Z")

</div>

What happens when you click the button?

---

<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:** [July 13, 2003, 3:34pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/12 "2003-07-13T15:34:22Z")

</div>

Actually, there is no button with the code you gave me. It’s dissapeared…But with the code i gave you in the start, it worked, except it opened the folder the picture was in, and not the picture

---

<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:** [July 13, 2003, 3:35pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/13 "2003-07-13T15:35:55Z")

</div>

Post the fla

---

<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:** [July 13, 2003, 3:40pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/14 "2003-07-13T15:40:54Z")

</div>

Here it is…

No it’s not…The file is to big…Do you have MSN?

---

<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:** [July 13, 2003, 3:42pm UTC](https://forum.kirupa.com/t/link-to-pc/25487/15 "2003-07-13T15:42:34Z")

</div>

Yes  
[shy\_fx2003@hotmail.com](mailto:shy_fx2003@hotmail.com)
