PDA

View Full Version : Can I set the htmlText property?


eemece2
08-30-2006, 07:25 AM
Hello,

I'm using JSFL with a SWF on a XMLUI. The SWF has a TextField with htmlText property set to on.

I create a Text Object with JSFL, but I donīt know how can I populate/set the htmlText that I have on the SWF-XMLUI TextField .

currentDoc.addNewText({left:0, top:0, right:100, bottom:100});
currentDoc.setTextString(text); // **** this not work, oviously *****
currentDoc.selection[0].renderAsHTML = true;

How can I do this?

Thanks!
Edu