Improve company productivity with a Business Account.Sign Up

x
?
Solved

Actionscript to pause a nested movie clip on a given frame

Posted on 2004-09-20
2
Medium Priority
?
212 Views
Last Modified: 2008-03-10
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
Comment
Question by:gabrielPennyback
2 Comments
 
LVL 23

Accepted Solution

by:
Zeffer earned 500 total points
ID: 12107351
no underscore before gotoAndStop


this.spinningBall.greenBar.gotoAndStop(8);

Z
0
 
LVL 1

Author Comment

by:gabrielPennyback
ID: 12107474
Thank you, Zeffer!

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

Gabriel
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question