I have placed a movie clip on the main timeline, with instance name sq_mc. Inside of it, there is sq_motion_tween_mc. sq_motion_tween_mc is empty, and I have converted it to movie clip, because it was required to apply motion tweening.
[1]------------------|[2]----------|
sq_mc | ...
| |
sq_motion_tween_mc |
There is a stop(); action on both the 1st and 2nd keyframe of the main timeline.
I want to jump to the 2nd frame on the main timeline after playing last frame of sq_mc.
Here’s the code I have on the last frame of sq_mc:
sq_motion_tween_mc.sq_mc(parent).gotoAndPlay(2);
And I get this error message:
TypeError: Error #1006: sq_mc is not a function. at
Untitled_fla::square_1/frame24()
Note: Square is the name of the movie clip symbol for sq_mc.
The motion tween has no relevance whatsoever to what you are trying to do. Also, if it’s empty, I’m not sure what you are tweening…
Anyway, on the last frame of your Square MovieClip, do
That’s it.