If just set cacheAsBitmat = true, wouldnt work as o-value BlurFilter? ________________________________
De: [email protected] [mailto:[EMAIL PROTECTED] Em nome de joan_lynn Enviada em: quinta-feira, 27 de março de 2008 17:51 Para: [email protected] Assunto: [flexcoders] Re: Rotate Button label without embedding fonts One of our developers suggested putting a 0-value BlurFilter on the Button. This puts the button into bitmap mode, which will allow it to be rotated, text and all. Joan --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "imjackson84" <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to create a custom Button class that can have its label > text rotated (but not the button itself). I know that this can be > achieved by embedding fonts, but ideally I don't want to have to do this. > > In my research I came across this site, which contains a method for > rotating labels without embedding fonts: > > http://www.gonnen.com/2007/11/rotating-text-in-actionscript-3-without.html <http://www.gonnen.com/2007/11/rotating-text-in-actionscript-3-without.html> > > It's fairly simple, in the label's updateDisplayList(), a rotated > Bitmap of the label is drawn. > > I looked into following the same principle for the button text but > this is much less straightforward (especially as the label is actually > a UITextField). I've tried adding one of the custom labels as a new > child of the button but that does not appear to do anything... > > Does anyone have any ideas? > > Thanks, > > Iain >

