Quote:
|
Originally Posted by pixelsystem
Dont place your roll in/out movies into the button itself as separate. Your button should have just one move (key frame). Your movie should stop and do nothing (and show nothing) on the fist frame. From fram 2 to 10 (or however long your fadein is) it should do the effect and stop on the last frame. Via ActionScript, on rollover tell your movie to play the fade in via gotoAndPlay(2) and on rollout tell it to play backwards using the following function:
MovieClip.prototype.goback = function(){
this.onEnterFrame = function(){
this.prevFrame();
if (this._currentframe == 1)
{
delete this.onEnterFrame;
}
}
}
You will have to tweak it to your frames, but you get the idea.
|
That's good, but many people don't have a solid understanding frame based animation and using buttons, let alone an understanding of Actionscript!