Ok, apparently I am not understanding something.  Let me summarize
what I think you are saying.

1. In Flash, create a new AS3 FLA file.
2. Create a new symbol, MC1.  This is left in the library, and not put
on the stage.  Set it to be exported as ActionScript in Frame 1.  The
class name for this movieclip is MC1.
3. Create another symbol, MC2.  Set it to be exported as ActionScript
in Frame 1.  The class name for this movieclip is MC2.
4. Place an instance of MC2 into MC1.  In this instance's properties
window, give it the name MC2a.
5. In FlashDevelop, create a new class, TestClass, with an empty
"package" tag (the default).  This is in the same directory as the FLA
file.
6. Assign TestClass to extend the MovieClip class.
7. In the constructor, add: addEventListener(Event.ADDED_TO_STAGE,
addHnd, false, 0, true);
8. Add a method:
                protected function addHnd(e:Event):void
                {
                        removeEventListener(Event.ADDED_TO_STAGE, addHnd);

                        trace("TestClass.addHnd");
                        trace("\t MC1 = " + MC1);
                        trace("\t MC2 = " + MC2);
                        var mc1:MC1 = new MC1();
                        trace("\t mc1 = " + mc1);
                        trace("\t mc1.MC2a = " + mc1.MC2a);
                }
6. In Flash again, on the Stage, in the "Properties" window, in the
"Class" textbox, add the class name TestClass (making sure that it is
actually linked, of course).
7. Under "Publish Settings", activate "Export SWC" and "Permit
debugging".  Make sure that "Omit trace actions" is deactivated.
8. Publish this SWC.

So the trace() shows that the classes exist as objects, and that the
inner symbols are actually accessible.  Is there something I am not
doing correctly?
To go on:

5. In FlashDevelop, create a new class, TestClass2, with an empty
"package" tag (the default).  This is in the same directory as the FLA
file.
6. Assign TestClass2 to extend the MovieClip class.
7. In the constructor, add: addEventListener(Event.ADDED_TO_STAGE,
addHnd, false, 0, true);
8. Add this method:
                protected function addHnd(e:Event):void
                {
                        removeEventListener(Event.ADDED_TO_STAGE, addHnd);

                        trace("TestClass.addHnd");
                        trace("\t MC1 = " + MC1);
                        trace("\t MC2 = " + MC2);
                        var mc1:MC1 = new MC1();
                        trace("\t mc1 = " + mc1);
                        trace("\t mc1.MC2a = " + mc1.MC2a);
                }

I am not sure of your intent at this point.  Am I supposed to create a
new FLA to test this?  Or did I go on the wrong track?

Reply via email to