开发者

trace movie clip end

Hi i have navigation menu animated click it pops up from corner to center click its gone and gotoandplay('page2') is triggered. while page loads menu goes away.

So my point is i want to show page title only after menu is gone (menu clip stopped playing) this works but m开发者_开发知识库enu is child MC i try put

var showtitle:Boolean = false;
if(showtitle==true){
timelineheader.visible = true;
} else {
timelineheader.visible=false;
};

inside page2 keyframe and then trigger MovieClip(root).showtitle=true; but it does not work is there way to make it work?

Perhaps i could use

  trace("SubMC_Ended");

but how i build event handler that constantly checks for this message?


Just set up a enterFrame handler and see if movieclip.currentFrame == movieclip.totalFrames

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜