Saturday, June 16, 2012

[Action Script] If MovieClip is on certain frame... June,2012

Hi. I am trying to figure this thing out for few hours now, and I think I'm going nowhere. I've got a button and a movieclip. I want my button to start some action after animation inside the movieclip gets to the last frame.

I hoped that _currentframe would help, but it didn't... I tried this code:

ActionScript Code: on (release){    cont.gotoAndPlay (25);    if (_currentframe = 45){        cont.cont2.unloadMovie()        cont.cont2.loadMovie ('3.swf');    }}
Can you help me with this? It's pretty urgent for me. Thanks.
If MovieClip is on certain frame...

Related Post



0 comments: