the image tag is big buggy. I'd think about nesting some mcs and using a scrollpane or something else instead :/


On Nov 3, 2005, at 5:05 PM, Diego Guebel wrote:

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

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

Reply via email to