Hey Folks,
I really need your help!
I'm trying to set up an multiline TextField, but it doesn't work!
The TextField work, but it won't be set multilined!
My as-code:
[AS]
/*-------------------------------------*/
var headinfoing:Object = new Object();
headinfoing.fontWeight = "bold";
headinfoing.color = "#C4911A";
headinfoing.fontFamily = "Arial";
headinfoing.fontSize = 12;
var infoing:Object = new Object();
infoing.color = "#FFFFFF";
infoing.fontFamily = "Arial";
infoing.fontSize = 12;
/*-------------------------------------*/
style.setStyle(".headinfoing", headinfoing);
style.setStyle(".infoing", infoing);
/*-------------------------------------*/
var myInfoText:TextField = new TextField();
myInfoText.x = 15;
myInfoText.y = 325;
myInfoText.width = 700;
myInfoText.height = 400;
myInfoText.multiline = true;
myInfoText.styleSheet = style;
myInfoText.selectable = false;
myInfoText.mouseEnabled = false;
myInfoText.htmlText = "<body><span class='headinfoing'>test
</span><br><span class='infoing'>tester testet um zu testen und wenn er
testet dann testet er um zu testen testet er. tester testet um zu testen
und wenn er testet dann testet er um zu testen testet er.</body>";
_content.addChild(myInfoText);
[/AS]
I have imported all necessary things!
Hope you can help!
Johannes
_______________________________________________
[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