if anyones interested. i solved this one.

basically, my extended button's label was showing the elipsis "..." 
because the zoom effect was affecting what it thought was the actual 
width (i think).
anyway, all i did was reset the textField.text in updateDisplayList()
eg
myButton.mxml

override protected function updateDisplayList(unscaledWidth:Number, 
unscaledHeight:Number):void{
  super.updateDisplayList(unscaledWidth, unscaledHeight);
                
 this.textField.text = this.label;
}

--- In [email protected], "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> Hi everybody
> 
> i've got an issue with button labels not rendering correctly
> eg. if the button label should say "Login" ... it actually 
shows "L..."
> 
> the buttons are controls within a popup (titlewindow) which has a 
zoom 
> effect. 
> if i get rid of the zoom effect, the labels appear correctly.
> 
> any suggestions on how i can get the label show correctly (and 
keep my 
> zoom effect) would greatly appreciated.
>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to