I think I made some breakthrough here. When I trace a typeof(oStackVar) it returns "object" instead of "movieclip". What gives? I thought components were movieclips.

I'm guess that because its being interpreted as an object, the createClassObject method doesn't run correctly. Anybody got any idea if this is true?

Regards,
Pranav

Pranav Negandhi wrote:
Sigh!
I don't even know where to begin. I'm creating a component called Stack
through the createClassObject command. A while later I'm creating a
component called Card inside the Stack using createClassObject. And it
returns null.

The exact same line of code placed on the stage or on the constructor of the
Stack object creates the Card component. But if I put this is a function in
Stack called CreateCardObjects(sCardsList) then it doesn't work. Why? I have
no clue. Can someone shed some light on this?


Regards,
Pranav Negandhi

Fractal | ink
O: 91 22 5660 3682
M: 91 98211 73656
www.fractalink.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to