Thanks Sumant,

    it does work fine as I try to rotate. Thanks a lot.
    I am trying to use it as a vertical label in a canvas.

    The parent canvas is resizable. In that case when
    I try to resize the parent canvas the button moves
    form its position. I am trying to keep the button at
    the vertical center but as the parent resizes the button jumps
    to upwards once and after that even any resizing to
    the parent canvas do not do anything......

    Regards...




On Sun, Oct 4, 2009 at 4:01 AM, Sumant <[email protected]> wrote:
>
> Hi,
>
> See this link:
> http://suumant.blogspot.com/2009/09/rotate-canvas-from-center-code.html
>
> replace myMC with your button name. I think this will solve your
> problem.
>
> regards,
> Sumant
>
> On Oct 4, 3:13 am, Vivian Richard <[email protected]> wrote:
>> I am trying to create a vertical button!!! Basically a 90 degree
>> rotation and embedded
>> text will do that. But the problem is that rotation="90" command will
>> rotate the button
>> centering top left corner which is the x/y coordinate of the button. I
>> do want to rotate
>> it at the center of the button. How do I do that?
>>
>> Regards...
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to