The problem is that I don't necessarily want the button rotated, just the text on the button (it may sound odd but I do have a reason for it).
Thanks, Iain --- In [email protected], "joan_lynn" <[EMAIL PROTECTED]> wrote: > > 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], "imjackson84" <imjackson84@> 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 > > > > 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 > > >

