# Lol, yet more simple actionscript problems

**URL:** <https://forum.kirupa.com/t/lol-yet-more-simple-actionscript-problems/43176>\
**Category:** Uncategorized\
**Created:** [February 19, 2004, 3:35pm UTC](https://forum.kirupa.com/t/lol-yet-more-simple-actionscript-problems/43176 "2004-02-19T15:35:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cartoonfox](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@cartoonfox](https://forum.kirupa.com/u/cartoonfox)\
**Post date:** [February 19, 2004, 3:35pm UTC](https://forum.kirupa.com/t/lol-yet-more-simple-actionscript-problems/43176/1 "2004-02-19T15:35:36Z")

</div>

lol, whats wrong with me 😃 i’m trying to put a url link on a mc.

its in a mc, heres what i have.

```auto
on (press) {
	getURL("http://www.newwebpick.com/_webpick/webpick.php?categories=flash", _parent);
}

```

so the mc isnt on the root stage, its in a mc. and in the mc is anoher mc which has this code on it.

…  
but it wont work. when i press the mc, nothing happens. help  
(by the way, this swf is externaly loaded into another swf. but it wont work either way.

thanks :kir:

---

<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:** [February 19, 2004, 9:14pm UTC](https://forum.kirupa.com/t/lol-yet-more-simple-actionscript-problems/43176/2 "2004-02-19T21:14:12Z")

</div>

my suggestion is put an instance name on the button and target it ie:

```auto
 _root.mc1.mc2.buttoninstance.on (press) {
        getURL("http://www.newwebpick.com/_webpick/webpick.php?categories=flash", _parent);
}

```

could work but i really have to see your files in order to figure it 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:** [February 19, 2004, 9:40pm UTC](https://forum.kirupa.com/t/lol-yet-more-simple-actionscript-problems/43176/3 "2004-02-19T21:40:15Z")

</div>

hi, thanks.

well, i cant use \_root, as this swf is gonna be externaly loaded into another, but i can use \_parent, right?

i’ll try that code, but can anyone tell me the code for using the onEnterFrame handler and hitTest that Voetsjoeba was talking about?

thanks :kir:
