. Google, .
, . URLLoader.load Flex 4.6 AS 3.
. , .
.
timer:Timer = new Timer(5000);
timer.addEventListener(TimerEvent.TIMER, timerHandle);
timer.start();
var loader:URLLoader = new URLLoader();
function timerHandle(e:TimerEvent):void {
loader.load(certainURLRequest);
}
. .
function timerHandle(e:TimerEvent):void {
loader.load(firstURLRequest);
loader.load(secondURLRequest);
}
I do not know the insides. This may apply to the ActionLoop ActionScript single-threaded method, where the request will be processed after returning from the callback, and the last one will overwrite the previous one. These are all my guesses.
Hope this helps those coming here.
source
share