0 Replies Latest reply on Nov 17, 2011 5:34 AM by arttag

    Why Adobe Flash CS3 exports only class without symbol from other SWC?

    arttag

      I've created Common.swc using Flash CS3. It exports class NotificationWindow, symbolCloseButton and appropriate class. These symbol and class are used by NotificationWindow. Then I created Formula.swc which uses NotificationWindow. Formula.swc normally exports classesNotificationWindow, CloseButton but not CloseButton symbol.

      Also I tried to create very simple Test.fla with Test.as:

      package {
         
      import flash.display.Sprite;
         
      import flash.events.Event;
         
      import inobr.eft.common.ui.*;

         
      public class Test extends Sprite {
             
      public function Test() {
                 
      if (stage) init();
                 
      else addEventListener(Event.ADDED_TO_STAGE, init);
             
      }

             
      private function init(e:Event = null):void
             
      {
                  removeEventListener
      (Event.ADDED_TO_STAGE, init);

                 
      NotificationWindow.show(stage, "Tets!", "Test test", true);
             
      }

         
      }
      }

      NotificationWindow displayed without CloseButton.

      Today I tried install Adobe Flash CS5 trial. All works good.

      How do I get this working in CS3?