Hi,

 

I've got to insert dynamic Buttons into a TextArea.

 

My question:

How can I insert this dynamic object into a TextArea using <IMG src=> HTML
Tags?

 

My try:

 

                        

 

                        var button2 =
txtDescription.createClassObject(mx.controls.Button,"button2",5,{label:"Test
Button"});

 

var textHtml = "";

                        textHtml += "Some HTML Text...<BR/>";

                        textHtml += "Some HTML Text...<BR/>";

                        textHtml += "Some HTML Text...<BR/>";

                        textHtml += "Some HTML Text...<BR/>";

 

                        textHtml += "<img src=\"button2\"><br/>"; //Not
Working!

 

                        

                        // the TextArea instance, it's already at stage.

                        txtDescription.text = textHtml;

 

As buttons should appears in the middle of lots of text, I don't want to
position it using absolute X,Y, but instead of it use <IMG> HTML Tag.

 

Is it possible?

 

Regards,

Bruno Mosconi

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to