Copy link to clipboard
Copied
Although amazing but I must confess that i's really confusing for me to relate all these span and paragraphs to each other in my mind and most of the time I mix everything up...
anyway, here's what I don't seem to be finding anywhere not even in documentations... or maybe I'm searching for it in a wrong place?
All I wanna do is to create a single line of textFlow and its width will be adjusted automatically based on the text being put in it... I remember the old days and how easilly I used to manage that with the TextField!
besides that, that would be great to know how to make a textFlow multiline and autoSize also...? I know my mind has still the shape of TextField construction... I hope I can digest this TextLayout framework
Best way to avoid the large size is to link it as an RSL. That way it just downloads once. The Flex SDK is set up this way now, you can look there for examples of how to do it.
Copy link to clipboard
Copied
I think I f ound the answer... I should use NaN in:
new ContainerController(_myLabel, NaN, NaN);
but, hey, I just noticed onething.. my swf size has increased to 177kb!!! without the TLF it was something around 40kb. is there anyway we can be a bit more friendly with the size?!
Copy link to clipboard
Copied
Best way to avoid the large size is to link it as an RSL. That way it just downloads once. The Flex SDK is set up this way now, you can look there for examples of how to do it.