[AS3] TextField htmlText <img> src as Class
Hey flashkit,
I'm having a rough time finding an answer to this. (I've searched and searched...)
I am trying to build a form in a flash project.
I want to use one (1) textfield and embed the form controls in it using the <img> tag.
This works fine with library items (as the docs suggest and from long ago apps I've worked on), but I don't have a .fla for this project.
Instead, I want it to embed an instance of a class in there.
ex.
PHP Code:
var txt:TextField = new TextField ();
txt.htmlText = "age: <img src='com.bit101.components.NumericStepper'/>";
Can this be done? If not, is there a workaround?