-
Why does flash hate me? (error)
So i have this movie clip. And in this clip theres 2 buttons that are visible at 2 diffrent times. Anyway, the first button, you click and has this code:
tellTarget("/news"){
gotoAndPlay(2);
}
the 2nd button has this code:
tellTarget("/news"){
gotoAndStop(1);
}
HOWEVER, when i click the first button everything goes perfect. Now when i click the 2nd button i get this error message:
Target not found: Target="/news" Base="?"
What is going on?
-
Why gotoAndPlay in one case, and gotoAndStop on the other?
-
because frame 1 is empty, and frame 2 on is the movie. the second button 'closes' the movie, the 1st button starts it.
-
Senior Member
try getting rid of the tellTarget command. Instead do something like this:
button 1
on (release){
_root.news.gotoAndPlay(2) // just make sure you have the correct path to the news movie clip you are calling
}
button 2
on (release){
_root.news.gotoAndStop(1)
}
hth
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|