In my flash movie i have a character who is a movie clip. The instance name is brush. In the coding for that frame i have brush.stop() and he is not stopping. I have the EXACT thing in for another character, with a different instance name of cousrse, and it works. Why isnt this first movie clip stopping?
Maybe you aren’t targeting it right… Try something like _root.brush.stop(); or use the Normal Mode target icon to make sure it’s pointing to the right clip.
Nevermind!!! HORRAY i found it out by myself after much frustration!!!
for those of you who have a similar problem here is the answer:
mainclip.subclip.stop()
and in later frame
mainclip.subclip.play()
thanks for the help with the _root thing, i have no idea what _root does but thanks for the time.
‘_root’ refers to the main timeline. . . .
Everything starts their and just branches off into different ‘instances’, some can be extremely intense.
‘_parent’ refers to the timeline before the current one. . . .
Say there are two movie clips, one called ‘circle’ and the other called ‘square’. For instance, put the ‘circle’ clip on the main timeline (_root) and then inside of the ‘circle’ clip place the ‘square’ clip. If you want to put code on the ‘square’ clip, but refer to the ‘circle’ clip then you would do something like this:
_parent.stop();
And if you want to use root to locate circle:
_root.circle.stop();
Or root to locate square:
_root.circle.square.stop();
Hope I helped!