4 Replies Latest reply on Apr 2, 2011 9:30 PM by Ian Mule

    Creating a component in Flash CS5




      How can I create a component using Flash CS5? I have tried to follow various documents I have found on google and went about it in the following way:


      1. I created an empty FLA.

      2. I created a MovieClip containing some graphics, and named the MovieClip "MyTestComponent" in the Library.

      3. I selected the MovieClip's properties in the Library and selected "Export for Actionscript", and made the MovieClip inherit from fl.core.UIComponent.

      4. I saved the FLA in the directory "C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Components" and restarted Flash. At this point I would expect that the MyTestComponent component would show up in the Components panel, but it did not.

      5. I tried to publish the FLA as an SWC file and place the SWC file in the same file as above. According to my understanding, both this and the step above should have worked, but it did not.


      So, what am I missing?


      Also, where can I find an up-to-date documentation on how to create components to be used in Flash CS5?