AS2 - How can I make a movieclip rollover
hey sorry has been asked i'm new as2 , threads...
i have started learning coding , aware how make cursour rollover movieclip change frame possible make when movieclip touches movieclip goes frame.
i've played games , seen done know can work.... somehow
thanks help
you can use hittest method detect if object colliding object. need continually check using onenetrframe event handler, such in...
movieclip1.onenterframe = function(){
if(this.hittest(movieclip2)){ // "this" movieclip1
this.gotoandstop(someotherframe);
}
}
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment