Jump to content

Continious count increment


Chris92
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...