Jump to content

Continious count increment

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...