TLF 2.0, wrap text, image float
Hi,
I'm trying to wrap text around an image with TLF version: 2.0, Build number: 163
and Flex Hero SDK 4.5 (Build 4.5.0.17855).
All is ok but paddingRight and paddingLeft has no effect
Any idea ?
Code :
var version:String = "";
version += "TLF version: " + BuildInfo.VERSION + "<br/>"+"TLF Build number: " + BuildInfo.kBuildNumber;
var s:String = "";
s += "<TextFlow xmlns='http://ns.adobe.com/textLayout/2008'>";
s += "<p>Flex framework"+version+"</p>";
s += "<p><img source='http://www.adobe.com/products/flex/images/flex_80x79.png' width='80' height='79' float='left' paddingRight='20' paddingLeft='20'/>Flex is a free, open source framework for building highly interactive, expressive web applications that dep</p>";
s += "<p>Flex framework</p>";
s += "<p>Flex framework</p>";
s += "<p>I am a new paragraph and I'd like to start at the left below the image</p>";
s += "</TextFlow>";
messageTA.textFlow = TextConverter.importToFlow(s, TextConverter.TEXT_LAYOUT_FORMAT);
Other question:
I would like a new paragraph but with no wrap.
The text must begin at the left below the image.
Any help will be appreciated.
Philippe

