Hello,
I am trying to create a dynamically created and named text field using the following code(MX 6.0):
----------------------------------------------
var textformat1 = new TextFormat();
textformat1.align = "left";
textformat1.wordWrap = true;
textformat1.color="0x000000";
var manstring = new String("Man"+i);
createTextField(manstring,mc01.getDepth()+j+1,x,y,80,20);
manstring.html = true;
manstring.background = true;
manstring.backgroundColor = bg;
manstring.htmlText = "<i>"+this["pman"+i]+"</i>";
manstring.setTextFormat(textformat1);
------------------------------------------------
I can tell that it is creating the textfield and that the contents are inside of 'manstring.htmlText', but it will not display the content on the screen. Any help would be greatly appreciated.
I am trying to create a dynamically created and named text field using the following code(MX 6.0):
----------------------------------------------
var textformat1 = new TextFormat();
textformat1.align = "left";
textformat1.wordWrap = true;
textformat1.color="0x000000";
var manstring = new String("Man"+i);
createTextField(manstring,mc01.getDepth()+j+1,x,y,80,20);
manstring.html = true;
manstring.background = true;
manstring.backgroundColor = bg;
manstring.htmlText = "<i>"+this["pman"+i]+"</i>";
manstring.setTextFormat(textformat1);
------------------------------------------------
I can tell that it is creating the textfield and that the contents are inside of 'manstring.htmlText', but it will not display the content on the screen. Any help would be greatly appreciated.