Instead of using textField._height, you should use textField.textHeight.
This is more reliable than the _height property

A

-----Original Message-----
From: André Goliath [mailto:[EMAIL PROTECTED] 
Sent: 28 septembre 2006 09:33
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] movieclip._y = textField._height

How about this?

var test:Number = Math.round(parseFloat(textField._height));
movieClip._y = test;

;)


strange, works for me obviously,...


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lieven
Cardoen
Sent: Thursday, September 28, 2006 3:24 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] movieclip._y = textField._height

Instead of going to y-coordinate 60, it goes to ZERO.

Even if I like do this : 

Var test:Number = textField._height;
movieClip._y = test;

Still the same shit. Incredible.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Grden
Sent: donderdag 28 september 2006 15:13
To: Flashcoders mailing list
Subject: Re: [Flashcoders] movieclip._y = textField._height

well, what DOES it do?

On 9/28/06, Lieven Cardoen <[EMAIL PROTECTED]> wrote:
>
> Really strange bug :
>
>
>
> If I put movieclip._y = 60 , it works fine
>
>
>
> If I put movieclip._y = textField._height , it doesn't work fine....
>
>
>
> Lieven
>
> _______________________________________________
> [email protected]
> 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
>



-- 
[  JPG  ]
_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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




_______________________________________________
[email protected]
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