-
Controlling Movies from within Movies
Help me... please!
I have created several movies all within one frame. I use TellTarget to control them from that one frame, but I don't know how to control a movie from a button inside another movie.
I created a button inside a movie ("Mov1") that would tell another movie ("Mov2") to "turn off" or go to a specific frame in that movie. On the button in "Mov1" I did a TellTarget to have "Mov2" go to a specific frame...
... but when I play the movie I get this error...
Target not found: Target="mov2" Base="_level0.mov1"
What am I doing wrong? Do I need to call out a "Level"?
Thanks!!
~Paul
-
What version of flash are you using?
You would be better off giving each mc an instance name (mov1 and mov 2) and, assuming mov1 is on the main timeline, code the button:
on (Release){
_root.mov1.mov2.gotoAndPlay(15);
}
I think TellTarget was starting to fade out in Flash 5 and higher.
-
all i had to do was put a "/" in front of the movie name to go back a "level"...
Example - from inside Mov1: TellTarget ("/mov2")
-
That will work, but Flash is dumping the TellTarget - it is being deprecated.
I would start getting used to calling clips and buttons by instance name.
Either way, glad it worked out for you.
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
|