A script in this movie is causing Adobe Flash Player to run slowly.
I'm using Windows XP
Flash player 11,3,300,257
“A script in this movie is causing Adobe Flash Player to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?”
public function getMembersCount(channel:String=''):*{
if(typeof netGroups[channel]=='undefined') {
return;
}
return netGroups[channel].netGroup.estimatedMemberCount;
}
Launching this code from js every 3 seconds via setInterval via ExternalInterface. After 80 intervals it drops this popup window with that message, blocking every flash application in all Google Chrome tabs, even youtube stops playing!
Interesting, calling this function doesn't trigger popup even after 179 times:
public function helloworld(str:String=''):*{
return 'Hello world!';
}
So the problem is in NetGroup itself or ExternalInterface?
How to avoid this popup?
It seems there is some threshold check somewhere. Popup appears after exactly 46th iteration, if i'm stopping iterations manualy after 45 iteration this popup isn't displayed.
If i'm stopping iterations after 45 iteration even for 10 minutes and then resuming it's throwing this popup window right away.
Tools for debugging this will be welcome.
