4 Replies Latest reply on May 24, 2007 12:04 AM by jacobdol

    export on any frame but first AS 3.0

      I have a symbol 'grass' in the library: Class: Grass, Base Class: flash.display.MovieClip
      and the document class has this -
      public function attachGrass():void{
      var grass:Grass=new Grass();
      } <-- this function is called on frame 5.

      In Publish Settings, I set Export Classes on frame 4.
      The grass symbol gets attached only if I check Export on First Frame in its Properties panel. When I uncheck Export on First Frame and drag the symbol on the stage off the viewable area (sort of like we used to do in AS 2), the symbol does not show up on the stage when attachGrass() is executed . Is there a way to not have to export on the first frame and attach symbols from the library at runtime ?