Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Actionscript to pause a nested movie clip on a given frame

Posted on 2004-09-20
2
Medium Priority
?
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

598 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