Jiri, 

What version of Flash are you using?
What version of the Flex sdk?
Does the swf you are loading use timeline code?

Have you tried putting in some traces?

var tField:TextField = _sprite.getChildByName("field") as TextField;
trace("tField =", tField);

I did not notice before but, based on the code you have shown, this
discrepancy in arguments should cause an error: 

addFormatting( treatmentTimeInfo , STD_LABEL_FONT_SIZE , WHITE);

function addFormatting(tField:TextField):void{
        trace("addFormatting function called");
        // more code 
}

Progress? 

Regards,

Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net



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

Reply via email to