PDA

View Full Version : controlling MC from within a scene.


abacsalmasi
01-13-2003, 09:42 PM
Here's a scenerio:
There is a group of 3 cubes and one ball and they all move together motion tweened across the stage. When they get to the end of the stage, the ball moves again to the other side of the screen and the cubes stay where they are. Is there a way that I can create a symbol animation of the ball so when I get to the point where I need the ball to move on it's own, I can play the balls animation in the symbol and not have to animate it with the cubes staying put? Does this cut down on file size?

toke
01-13-2003, 09:49 PM
can you show your sample? :)

abacsalmasi
01-13-2003, 10:01 PM
I don't really have a sample, what I'm working on is fairly big .What I mean is to animate something within an animation. If the ball is in my library as a symbol I can annimate it in the symbol editor. When I bring it into my scene, how do I enable the animation within that symbol?

linckx
01-13-2003, 10:42 PM
is your ball a movieclip or a graphic?

if it's a graphic you can change that in your properties-pallette, just change it to movieclip and it'll play...


or am I not on the right track here?

robin

abacsalmasi
01-13-2003, 10:54 PM
The ball is a movie clip. Maybe I can expalin it better.
Picture a ball and a cube on the left side of the stage. They both motion tween together across the stage and end up on the right side of the page. At this moment, the ball drops and bounces once. The actually animation is in the balls symbol, not in the animation for the scene. The scene animation is a simple motion tween of the ball and the cube moving across the screen. When it's done, it calls for the ball animation to kick in and play. I'm trying not to have to animate the cube as the ball bounces. In the actual site where this will be used the cube is a rather comples image containing multible vector images. I'm trying to save on file space.
Does this help any?

linckx
01-14-2003, 08:04 AM
but what do you want to do with the cubes then?

go back to their place? stay where they are? ...
sorry I don't understand you, but it's morning here :)

robin

cool denny
01-15-2003, 01:12 AM
try creating a frame script that calls your movie clip at the point of time you want it to return to the other side of hte scene. Have this script controll the mc and have your ball bouncing across the scene from within the clip. EX: frame script calls mc - go to and play(2) assuming you have a stop command on frame 1 of your mc.
this should activate you mc and you should see the animation within it.