Can anyone help me get this right? I want to clear the Timeout set with the first function if this certain button is pressed. This is basically what I have so far, but it isn’t working - thanks!!
ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#808080]*//set the Timeout*[/COLOR]
setTimeout[COLOR=#000000]([/COLOR][COLOR=#000000]function[/COLOR] COLOR=#000000[/COLOR]:[COLOR=#0000FF]Void[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#808080]//load movie[/COLOR]
lifestyle_mc.[COLOR=#0000FF]loadMovie[/COLOR]COLOR=#000000[/COLOR];
[COLOR=#000000]}[/COLOR], [COLOR=#000080]7300[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#808080]//[/COLOR]
[COLOR=#808080]//clear timeout button[/COLOR]
[COLOR=#808080]//[/COLOR]
recreation_nav.[COLOR=#0000FF]onPress[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]
clearTimeoutCOLOR=#000000[/COLOR];
[COLOR=#000000]}[/COLOR];
[/LEFT]
[/FONT]