Chris92 Posted July 24, 2010 Share Posted July 24, 2010 Simple question really and probably a simple answer but i'm a bit rusty when it comes to flash.I have a button that I want, when hovered over, to increase the count continuously of a variable. at the moment i'm using on(rollOver){ ++_root.avariable;} This works but only counts once when hovered over and not continoiously, i want it to count continuiosly when hovered over to determine how long it has been hovered over for.Hope that made sense Link to comment Share on other sites More sharing options...
wirehopper Posted July 25, 2010 Share Posted July 25, 2010 http://www.adobe.com/livedocs/flash/9.0/Ac...tils/Timer.htmlYou could start the time on rollover and stop it on blur Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.