2 Replies Latest reply on Jul 20, 2006 1:27 PM by katerini

    Attach a movieclip at runtime

    kingdom_of_revenge
      some one help me.
      Im using the drawing API.I just want to know how to create a new movieclip, attach it to a container and then draw objects in a movieclip.
      I tried
      container.addChild(movieclip);
      It shows me the error as
      TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::MovieClip@29f8ad9 to mx.core.IUIComponent.

      thanks
      karan