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][/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 ]
if (this.hitTest(_root._xmouse, _root._ymouse, false)){
} else {

  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 8 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-2017. Ozzu® is a registered trademark of Unmelted, LLC.