# Having trouble, help asap

**URL:** <https://forum.kirupa.com/t/having-trouble-help-asap/245>\
**Category:** Uncategorized\
**Created:** [July 11, 2002, 12:16am UTC](https://forum.kirupa.com/t/having-trouble-help-asap/245 "2002-07-11T00:16:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![oOEricOo](https://avatars.discourse-cdn.com/v4/letter/o/ed655f/32.png) [@oOEricOo](https://forum.kirupa.com/u/oOEricOo)\
**Post date:** [July 11, 2002, 12:16am UTC](https://forum.kirupa.com/t/having-trouble-help-asap/245/1 "2002-07-11T00:16:50Z")

</div>

to preview my website for my band so far, [click here](http://www.geocities.com/njbestofme). There’s a button a user can select in my flash movie called ‘MEDIA’, once that button is clicked, a branch comes down with 2 more buttons. These 2 buttons are supposed to bring up different webpages once they’re clicked…but they don’t for some reason. I have no idea why. The movie is called (TellTarget), and the code for each button is:

on (release) {  
getURL ("/njbestofme/lyrics.htm", “Main”);  
}

for some reason tho it doesn’t want to work. And I’m thinking it’s because the movie clip (to show / hide the branch of 2 buttons) is targetted…but im not sure. Is their more code im supposed to add? thanks alot!

-Eric

---

<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 11, 2002, 7:03am UTC](https://forum.kirupa.com/t/having-trouble-help-asap/245/2 "2002-07-11T07:03:38Z")

</div>

see if the “.htm” is in capitals and try wirting out the full code?!

---

<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 11, 2002, 7:08am UTC](https://forum.kirupa.com/t/having-trouble-help-asap/245/3 "2002-07-11T07:08:31Z")

</div>

What do you mean the name of the movie is “tellTarget”?

if that’s an instance name, I’m not sure if you can use it. Some words are reserved for Flash’s a/s usage. It may be that tellTarget is one of those words. (though for some reason I don’t remember seeing it listed)

---

<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 11, 2002, 3:53pm UTC](https://forum.kirupa.com/t/having-trouble-help-asap/245/4 "2002-07-11T15:53:02Z")

</div>

oh no no no, i meant when you click the button MEDIA it TellTarget’s a movie to play so the other 2 buttons either appear or disappear. the code for the MEDIA button to make this happen is:  
on (release) {

Media\_switch = (Media\_switch \* -1); //switch media\_switch

if (Media\_switch == -1) { //if switch is turned off  
tellTarget (“MediaShow”) { // hide switch  
gotoAndPlay (9);  
}  
}

if (Media\_switch == 1) { //if switch is turned on  
tellTarget (“MediaShow”) { // show switch  
gotoAndPlay (2);  
}  
}

}

MediaShow is the movie clip that hides or displays the other 2 buttons. And it works fine the butons show and disappears appropriately. it’s just the buttons will not take me to a website when i click on it like it’s supposed to. The only code that i have for the buttons that appear and disappear are:

on (release) {  
getURL ("/njbestofme/lyrics.htm", “Main”);  
}

i used this code for all my other buttons and it works, but for these 2 specific buttons it doesn’t work. and im thinking it’s cause im TellTargetting the buttons to show or disappear. It doesn’t make sence it should work i don’t see anything wrong with my code. If anyone can help i’d appreciate it!

[click here to see website again](http://www.geocities.com/njbestofme)

-Eric

---

<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 22, 2002, 11:51pm UTC](https://forum.kirupa.com/t/having-trouble-help-asap/245/5 "2002-07-22T23:51:31Z")

</div>

does someone have the solution to tihs problem??

-eric

---

<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 28, 2002, 4:58pm UTC](https://forum.kirupa.com/t/having-trouble-help-asap/245/6 "2002-07-28T16:58:22Z")

</div>

help help lol

---

<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 28, 2002, 5:48pm UTC](https://forum.kirupa.com/t/having-trouble-help-asap/245/7 "2002-07-28T17:48:35Z")

</div>

Can you attach the source so that I take a look at it? Or send it to me if you don’t want to display it on the forum [pom2ter93@hotmail.com](mailto:pom2ter93@hotmail.com)

pom :asian:
