View Full Version : Rotate the textarea by onmouse effect
04-02-2009, 12:09 PM
I'm built a flex application similar to the scrap blog.I am creating a text area and want to rotate the text area same as scrap blog via mouse effect.But not able to create this part.Could any body help me,if know about this please provide me the code.
Thanks in advance
04-03-2009, 04:02 AM
Since the TextArea control has DisplayObject as it's base class, you can rotate it. I would assign the TextArea an ID that you can reference and add a MouseEvent listener to it. When the listener is fired, you can rotate the TextArea control by referencing the assigned ID. If you want to rotate the control by its top left corner, you can change the "rotation" property. Otherwise, you can apply a transformation matrix by modifying the "transform" property.
04-03-2009, 06:10 AM
Thanks for your reply,i understand your point.But in rotation point of view I'm totally new.first of all I explain you what I'm doing.I drag a image and generate a text area and then put several of style same as scrap blog.Did you post the code of rotation?I'm really thankful to you.
Thanks in advance.
04-06-2009, 06:33 AM
Does anybody know this answer?
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.