PDA

View Full Version : [AS3] button component disappears when swf is imported


ceteris
11-11-2009, 01:30 AM
I want to use one swf inside another, by importing the child swf into the parent at author time, and not by loading at runtime.

so I use import to library, bring in the child swf, and it seems to work fine. but, strangely, the button component I use in the child swf sort of goes away, or gets replaced by a placeholder, once imported.

I see the child swd in the parent's library, or on the parent's stage, but the button is broken.

anybody seen this, or understand it?

thanks

locrizak
11-11-2009, 04:31 AM
try adding the button component to the swf that is loading the swf, libray... I have had weird things happening with targeting issues and the ComboBox, so this might just help.