five hours later ... i found it:
http://jsfiddle.net/fZQRE/3/

setStyle in the function was wrong
thx anyway


On 24 Apr., 17:09, hamburger <[email protected]> wrote:
> Hello I need help please.
> why do i have a loop
> using this:
> while(textMetrics(textbox).x < ContainerWidth ){
> insted of this:
> while(textbox.getSize().x < ContainerWidth ){
>
> http://jsfiddle.net/fZQRE/1/
>
> thanks in advance for any support

Reply via email to