(Flash CS3 v9.0)
I created three FLAs, Test1.fla, Test2.fla, and TestAll.fla.
They are set for Player 8, ActionScript 2. Test1.fla has a symbol,
Test1 which is exported for ActionScript, frame 1, runtime sharing,
and using class Foo. Test2.fla has a smbol, Test2, which is
exported for ActionScript, frame 1, runtime sharing, and using
class Foo.TestAll.fla imports Test1 and Test2 and has them on the
stage at frame 1.
Foo extends MovieClip and has a constructor that traces a
line of text and an onRelease that traces a line of text. When I
run TestAll.swf, I see both objects. However, only one of the
contrscutor trace lines is output, and only one of them interracts
with the mouse. If I drag out another instance of each symbol, both
new instances work (so three of four are working.) However, in the
stand-alone flash player (ie if I double-click the swf), it works
as I expect.
It seems like, in the debugger, the first swf on a layer to
import the shared class always loses.
Am I doing something wrong? Is there an established
work-around for this?