Haha, got it...stupid...I passed I passed it height and width and created the textField with those switched around...got it working now...Thanks for the help, hope nobody spent any amount of time on it. Victor
---------- Original Message ---------------------------------- From: "vic " <[EMAIL PROTECTED]> Reply-To: Flashcoders mailing list <[email protected]> Date: Thu, 28 Sep 2006 17:26:20 -0700 >Hey all, I have this function that dynamically creates a text field...if I >tell it to make wordWrap = true then the text disappears. Here is the func: > >// Public Methods: > public static function createHTMLText(mcParent:MovieClip, > sInstanceName:String, nX:Number, nY:Number, nHeight:Number, nWidth:Number, > bMultiLine:Boolean, bWordWrap:Boolean, bEmbedFonts:Boolean, > cssStyles:TextField.StyleSheet):TextField { > trace('TextUtilities'); > mcParent.createTextField(sInstanceName, > mcParent.getNextHighestDepth(), nX, nY, nWidth, nHeight); > var tField:TextField = mcParent[sInstanceName]; > tField.html = true; > tField.selectable = false; > tField.autoSize = "left"; > tField.multiline = bMultiLine; > tField.wordWrap = bWordWrap; > tField.embedFonts = bEmbedFonts; > tField.styleSheet = cssStyles; > return tField; > } > > >Any ideas? Thanks, Victor > > >_______________________________________________ >[email protected] >To change your subscription options or search the archive: >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >Brought to you by Fig Leaf Software >Premier Authorized Adobe Consulting and Training >http://www.figleaf.com >http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

