To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-22-2004, 07:43 PM   #1
fxm
Junior Member
 
Join Date: Oct 2004
Posts: 12
_root timeline placement for AS animated MC's

I am having problems here that might be difficult to explain, so please bear with me. I will attach my .fla in order to clarify.

I have an Actionscripted animation that works fine. Its a nice bouncing ball. It is a MC, where the AS is located within the _root.ball timeline, and consists of four frames which cycle untill the animation reaches its final position then it stop()s, but all of which runs in just one frame in the _root timeline. I also have other AS animations each consisting of one frame in the _root timeline, but within the respective MC timelines, all consist of multiple frames which all loop untill an end position is reached and then stop().

I want to run the ball MC and one other one (bottomline MC if you are looking at the .fla) at the same time, and then when the ball stops I want to run a third MC (ballmarcus), and so on. My difficulty comes in when trying to place any MC where it would run AFTER the ball one comes to completion.

Yeah, thats the situation and problem. I hope this makes sence and someone out there can offer a solution or at least guide me in the direction of where to find a solution on my own. I know this type of issue will come up often in my animations, as I am trying to do as much movement in AS as possible. If I just can learn the principles behind this solution, I am sure I can apply it as needed.

Of course, any time and help is greatly appriciated.
Attached Files
File Type: fla myopeningball.fla (175.0 KB, 202 views)
fxm is offline   Reply With Quote
Old 10-22-2004, 08:56 PM   #2
jbum
Senior Member
 
jbum's Avatar
 
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
Let's say the ball is

ball1

and the clip that runs after the ball is

sheepDip.

On the first frame of sheepDip, put a stop(); so that it doesn't run right away.
If you don't want the first frame of sheepDip to be visible, then make that first frame blank.

Then on the last frame of ball1, where you you currently have a stop(); add the following:

stop();
_root.sheepDip.play();

You'll need to make sure that the sheepDip clip is actually named 'sheepDip' (or whatever name you like) in the properties panel.
__________________
jbum is offline   Reply With Quote
Old 10-22-2004, 10:54 PM   #3
fxm
Junior Member
 
Join Date: Oct 2004
Posts: 12
Thanks again jbum. ::wink::

I have a feeling you will be hearing more from me in the future. Keep the faith!

.m
fxm is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:42 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.