I'd like to create a button that is basically a rotated 90's so that it is in effect a vertically aligned button. So that the the text is like that of a book spine.
Thanks in advance.
I'd like to create a button that is basically a rotated 90's so that it is in effect a vertically aligned button. So that the the text is like that of a book spine.
Thanks in advance.
You need to set the rotation property of the button... so the mxml would be something like:
<mx:Button id="myButton" label="CLICK ME" rotation="90" />
Edit
As a side note you will probably need to embed the font you are using if you want the text to be visible after the component has been rotated
And how do we embed the the font in a button for the text to be visible. I tried embedding the font but the text is still invisible. Could you please post some sample code that works right in vertical mode?
I'll be very thankful