Skip to main content
March 22, 2008
Question

Control of Main Movie from Symbol Movies

  • March 22, 2008
  • 2 replies
  • 223 views
To help keep things organized, I built movie clip symbols to keep my main movie timeline clean, and placed the symbols inside of the main movie. I would like to do something like this:

if (movie symbol is finished playing)
{
gotoandplay(3) --- movie clip finished, move to the next one
} else {
gotoandplay(1) --- movie clip not finished, keep looping
}

Any ideas on how to get the main timeline to continue from a movie symbol?

Thank you,

~ Nick
This topic has been closed for replies.

2 replies

March 23, 2008
Hmmm... it's not working. :-/ I think it's because CS3 doesn't support that syntax anymore.

(... I think this thread needs to be moved to the Actionscript 3 section...)

How is this done in CS3?
March 23, 2008
Any clip can communicate with any other timeline as long as you have the path correct. The simplest way to reach the main timeline is _root. It isn't my favorite way but it is the simplest. For a MC, "this" refers to the MC. this._parent refers to the timeline above. this._parent._parent goes two timelines above, etc.

So maybe all you need is _root.gotoAndPlay(3).