4 Replies Latest reply: Sep 18, 2012 12:44 AM by Somebbb RSS

    A script in this movie is causing Adobe Flash Player to run slowly.

    Somebbb

      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?

       

      Thanks.