[flexcoders] Textformatter Object pushing boundaries of sprite, but should it?

2007-05-17 Thread Patrick Lemiuex
Adding a text format object to my sprite changed it's height to 100  
pixels?  It should only be 20 or at least was right before i added it  
- is  this normal?   I was getting mouse events outside my sprite and
threw me for a loop.  Please chime in if you know why?

Thanks,
Patrick


SOLVED - but i think this is a bug Re: [flexcoders] Textformatter Object pushing boundaries of sprite, but should it?

2007-05-17 Thread Patrick Lemiuex
If you don't specify a height for your TextField, flash *assumes*  
that it's 100 pixels tall?  That's what my trace was telling me 20  
pixels tall before I added the TextField and  then 100 pixels tall  
after i added a Textfield without

the height specified.


This has to be a bug, right?  This was making mousevents from outside  
my graphic play havoc in my app.


Hope you don't have to stumble on this for a couple hours to find out  
why if you have this issue.


Thanks,
Patrick


On May 17, 2007, at 12:54 PM, Patrick Lemiuex wrote:


Adding a text format object to my sprite changed it's height to 100
pixels? It should only be 20 or at least was right before i added it
- is this normal? I was getting mouse events outside my sprite and
threw me for a loop. Please chime in if you know why?

Thanks,
Patrick