|
From: Jay K. <ja...@he...> - 2008-12-29 21:20:32
|
How does one add an action to a specific frame in the movieclip? I
thought when you do a movieclip->addAction() you are doing it for the
whole clip. Is it like this?:
SWFMovieClip* mc = new SWFMovieClip();
mc->addAction( new SWFAction("trace('action on frame 1');"));
mc->nextFrame();
mc->addAction( new SWFAction("trace('action on frame 2');"));
/Jay
At 5:09 PM +0100 12/29/08, strk wrote:
>On Sun, Dec 28, 2008 at 06:10:18PM -0500, Jay Koutavas wrote:
>> Thanks, this helped.
>>
>> Now my next problem. :)
>>
>> I want to stop a movieclip in my movie. I do this:
>>
>> movieClip->addInitAction( new SWFAction( "stop();" ));
>>
>> But it plays one frame. If I try to stop it in onEnterFrame, like so:
>
>Make the animation start on the second frame, have only "stop" in the
>first one. The frame containing the "stop" action will be executed of course.
>
>--strk;
--
--------------------------------------------------------
Jay Koutavas mailto:ja...@he...
Heynow Software http://www.heynow.com
Windham, New Hampshire, USA
--------------------------------------------------------
|