PDA

View Full Version : Movies and Frame by Frame precision


arawire
08-07-2002, 03:43 PM
Hi,

I am newish to flash and am writing an animation. There are several events that happen frequently (eg a wave splashing) - so I put them in a movie in the library (for reuse) and then drag the movie on the timeline.

What then happens - is that I cannot see the movie play - unless I test the movie (just see the first frame). If I need that movie to interact with another movie - (e.g need to time an event on the splash - sometimes) then I am cutting and pasting the movie frames from the reusable movie element into the timeline so that I can check the precision.

Is there a simpler way of doing this?

Thanks in advance for your help

Ricod
08-07-2002, 05:00 PM
Well, u could have the interaction controlled from the 'splash' by adressing the other mc (movieclip) from certain keyframes in your 'splash' mc ...

Or you can use the _currentframe property to check on what frame your 'splash' mc is and adjust your other mc to that dynamically. For instance, u have a clip with a small loop in it which u want to have at frame 8 whenever the 'splash' mc is at its peak (lets say frame 4, but u labeled that frame 'peak'). Then you could have something like :

if (_root.splash._currentframe == "peak") {
_root.myOtherMc.gotoAndPlay(8);
}