Move your Cursor over the Screen for this effect

  • - search-engines-web
  • Student
  • Student
  • User avatar
  • Posts: 80

Post 3+ Months Ago

[flash width=499 height=499 loop=false]http://i.cmpnet.com/ads/graphics/as5/pagepeel/trendmicro_20050419/thepeel.swf[/flash]
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

Did you animate that yourself?

If so is it just a tween?

If so, just run a hitTest. Ironically I just posted this method in another thread for a flyout menu, but the hittest method can be used for a billion other different things..

Code: [ Select ]
onClipEvent(enterFrame){
if (this.hitTest(_root._xmouse, _root._ymouse, false)){
this.nextFrame();
} else {
this.prevFrame();
}

}
  1. onClipEvent(enterFrame){
  2. if (this.hitTest(_root._xmouse, _root._ymouse, false)){
  3. this.nextFrame();
  4. } else {
  5. this.prevFrame();
  6. }
  7. }



This will play the animaion in as the mouse is over, and play it out as the mouse is off.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.