So here I have created a MovieClip symbol of the name devTextMC
. I have linked my .fla file to a (document) class of the name supportForce
and I execute all the code from it. However, I am unable to make any reference to the devTextMC
from inside supportForce
. For example-
addChild(devTextMC);
Gives an error 1067: Implicit coercion of a value of type Class to an unrelated type flash.display:DisplayObject. I have a slight idea of what to do here, that is, to declare a variable or something, but I'm not sure.
I am very sorry if the question is unimportant, but I need it clarified. Thanks in advance.
devTextMC
class which you can use like this :var instance:devTextMC = new devTextMC(); addChild(instance);
. – akmozo