writing actionscript to use flash movie as a screensaver

  • cherie
  • Born
  • Born
  • cherie
  • Posts: 1

Post 3+ Months Ago

I have created a simple animation in Flash and want to use it as a screensaver on the computer. I want to write the code in flash actionscript so, when the mouse is idle for a certain amount of time, the  animation begins. When the mouse is moved, the animation closes - Just like how a screensaver behaves.
Could you please help.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • stinger
  • Graduate
  • Graduate
  • stinger
  • Posts: 157
  • Loc: San Jose, CA

Post 3+ Months Ago

use a movie clip with 2 frames

frame 1 will set the mouse position.

frame 2 will verify if mouse has moved.

using if statement see if the position has changed. If not, add to the counter. When the counter reaches 20, play your movie.
If the position changes before playing, then, reset counter to zero.
  • lostinbeta
  • Guru
  • Guru
  • User avatar
  • Posts: 1402
  • Loc: Philadelphia, PA

Post 3+ Months Ago

What you are asking for is more advanced than it sounds like it should be... so I hope you understand ActionScript at least a little ;)

http://www.kirupaforum.com/forums/showt ... adid=32884

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 16 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.