looks like you need to make tab_mc a member variable of the class.
then if you are having problems try tracing tab_mc as soon as its created, as well as the other parameters that you are passing in. Make sure they all have the correct values.
Martin Dennis Hart wrote:
I am having a problem with adding a text field to an attached movieClip through a class construct using composition. For example: class Tab { public var label_txt:TextField; public var tab_fmt:TextFormat;
-- Martin Wood http://relivethefuture.com/choronzon _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders