超时在Flex自定义控件设计中有相当大的作用,具体代码:
this.systemManager.addEventListener(FlexEvent.IDLE, loadHomePage);
public function loadHomePage(e:FlexEvent):void
{
if(e.currentTarget.mx_internal::idleCounter == 3 * 60 *
10)
{
“用户超时”
}
}
原文:http://www.cnblogs.com/LiuShan/p/3599286.html