I cant get the <img> tag works as expected/
I want to have some text with images around in a textarea and they
simply appear on top of each other.
I tried hardcoding their dimension and it still doent work.
This is an example code I have:
var my_ta:mx.controls.TextArea;
my_ta.setSize(320, 240);
my_ta.html = true;
my_ta.text = "<p>The <b>Royal</b> Nonesuch <img src='aliceTan'
width='100' height='50'></p>";
my_ta.text += "<p>The <b>Royal</b> Nonesuch <img src='aliceTan'
width='100' height='50'></p>";
my_ta.text += "<p>The <a href='#'>Royal</a> Nonesuch <img src='aliceTan'
width='100' height='50'></p>";
besides this I realized that <p> tag doesnt have display: block by default.
I have to add my_ta.text += "<p></p>"; or <br>
Thank in advance.
Diego
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders