I've added a trace(width, _xscale) in each function and the
value I'm after is shown in the first size() call, but then it is
back to thr original width of 160 and scale of 100%, why?

size width=400, 249.998474121094
init width=160, 100
createChildren width=160, 100
size width=160, 100
draw width=160, 100


On 3/23/07, Alexander Farber <[EMAIL PROTECTED]> wrote:
I have a simple component, it is a multiline TextField with wordWrap
switched on and with a yellow rectangle drawn underneath:

   http://preferans.de/flash/ - the files Bubble.*

I'd like the users of my component to be able to resize its width in the
authoring environment, so that they can control where the word wrap
will happen. However I can't figure out how to find out that width.


Regards
Alex
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to