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 


_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to