• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

Actionscript to pause a nested movie clip on a given frame

I have a movie clip on the main timeline called <spinningBall>   Inside it is a movie clip called <greenBar> on frame 11.   <greenBar> has 9 frames and at a certain point on the main timeline, I want it to become half as wide, and also stop on its lnext to last frame, so I have this script on that frame:

this.spinningBall.greenBar._xscale = 50;
this.spinningBall.greenBar._gotoAndStop(8);

The first line of script works, but the second doesn't.  what am I missing?

Thanks,

Gabriel
0
gabrielPennyback
Asked:
gabrielPennyback
1 Solution
 
ZefferCommented:
no underscore before gotoAndStop


this.spinningBall.greenBar.gotoAndStop(8);

Z
0
 
gabrielPennybackAuthor Commented:
Thank you, Zeffer!

Like Roseanne Rosannadanna used to say, "It's always something!"  

Gabriel
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now