0 Replies Latest reply on Oct 24, 2010 7:52 AM by theErez

    adding custom visual asset from SWC to a flex project

    theErez Level 1


      i want to add a custom button to my flex project.  i've created the visuals in flash, made the linkage in the library, exported as swc and then added the swc to my flex project.  so far so good.

      how do i add that button to the stage? if i add this button inside the 'Declarations' tag of the mxml, it auto-completes the button's name and properties.  but if i do the same outside of the 'Declarations' i only get errors.

      how do i add it to the display list?  i'm sure its quite simple but i just can't figure it out.

      please help me.

      thanks in advance,