i've built your example and it works. when i publish the swc it
doesn't trace me nothing, because the constructor isn't called.

but let's say you have a MC1 symbol on the scene named "alfa". add
this variable in the MainClass like this "public var alfa:MC1" then
publish again

in main.as, write this :

var scene:TestClass = new TestClass()
addChild(scene)
trace(scene.alfa)

it traces null

why?

Reply via email to