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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support