Flex ~ remove, unset setTimeout ~ clearTimeout

import flash.utils.clearTimeout;
import flash.utils.setTimeout;

private var timeout:uint;

clearTimeout(timeout);
timeout = setTimeout(function():void{isOnSide = false;}, 800);

reference
http://blog.flexexamples.com/2008/02/15/creating-timers-using-the-settimeout-method/

沒有留言: