|
Shared libraries + attachMovie ?
So I have main.fla and a sharedLibrary.fla.
In sharedLibrary.fla, I have a movieclip named Button, which is set to export for runtime sharing.
In main.fla, I have that button set to import for runtime sharing. In main.fla if I try to do:
attachMovie("Button","button1",1)
Nothing shows up.
If I drag the shared item from the library of main.fla to the stage first though, the code above will execute correctly (displaying 2 buttons, the one I dragged over, and the one attached dynamically).
What can I do to attach this dynamically without having to drag the original onto the stage first?
|