Jump to content

Continious count increment


Chris92

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...