0 Replies Latest reply on Jan 9, 2009 10:40 AM by keywiz

    actionscript code in a swf dont run when impoterd in flex

    keywiz Level 1
      Hi,

      I have an actionscrip flex project.
      I embed a movieclip from a swf like this:
      [Embed(source="../../content/testmenu.swf", symbol="MenuOne")]
      public static var MenuOne:Class;
      The movieclip has a frame with this code:

      dispatchEvent( new Event( "InCompleted", true ) );
      stop();

      running in flash everything works properly but in flex the movieclip dont stop play and i dont get the event

      Any help on this?

      Thanks