Double click or not double click

Well I’ve got a bug in my code, where a button has to be double clicked to work.

Just wondering what is the standard distinction for the difference between single and double click.

my code

ActionScript Code:
[LEFT]ns.[COLOR=#0000ff]seek[/COLOR]COLOR=#000000[/COLOR];
subtitles.[COLOR=#0000ff]_visible[/COLOR] = [COLOR=#000000]true[/COLOR];
sign.[COLOR=#0000ff]_visible[/COLOR] = [COLOR=#000000]true[/COLOR];
signer = [COLOR=#000080]1[/COLOR];
signCode = [COLOR=#000080]1[/COLOR];
_root.[COLOR=#0000ff]button[/COLOR]COLOR=#000000[/COLOR];[/LEFT]

the idea is that it runs a function only when the above button is pressed, but it doesn’t seem to work the first time you press the button any ideas?

Most likely a problem with the booleans, but it’s pretty hard to troubleseek without the code :wink:

I seemed to of fixed it… …X-Files theme tune…

though I’d agree with you :stuck_out_tongue_winking_eye:

As far as usability is concerned I think double clicking on web is not a very good practice unless you communicate it to the user.

Browsing doesn’t usually involve double clicks and most of users would not even think about doing a double click.

IMO :wink:

I think I have found it, anyone know how to call a function once even though its essenially in an onenterframe?

thanks

just plop it on teh root