|
-
Flactionscrish
[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?
ktu[k-two]
he who hesitates is lost; so i guess i'll wander intently
Are you sure this is real?
Life is Love, Love is Blind, Blind we go through Life.
Life isn't hard, dealing with your self is.
The concept of life in a human brain is weakening day after day. Live every day like its your last. Take the chances, and opportunities, and never let authority push you around for fun.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|