7 Replies Latest reply on Jun 5, 2007 8:18 AM by richtextformat

    importing class causes freeze

    richtextformat Level 1
      here's the code, on the swf's _root:

      import com.website.package.Application;
      //Application.Main( this, "Menu" );

      even with the second line commented out, we get a big freeze, whole seconds of wait. the movie just completely stops playing, even an onEnterFrame method on the _root won't run until the import is finished. just nothing but waiting for the code to import. Application.as links off to an MVC architecture with a whole bunch of additional classes etc. and the inclusion of this line is enough to turn a 3K swf into a 443K swf.

      erk! what can you do about that?!?!?