Home » questions » How to rotate image in Flash?

How to rotate image in Flash?

2006-08-08 14:57:21, Category: Programming & Design
dont know much about Flash and action script, but I am involved with a project in which I have to use flash for this purpose! I need a text box, in which the user types the degree and a button that after clicking rotates the image by the given degree. Thank you

Answers

  1. Anil kumar N D

    On 2006-08-08 21:49:32


    Very simple Name your movie clip mcSquare in property inspector. Place a button on the stage Place a text box on the stage as input text (should not be a static text) and name it degree in property inspector Select the button on the stage and enter the code in script panel on (press) { mcSquare._rotation = degree.text; } if you need *.fla file contact me anilkumarnd@yahoo.com Anil
  2. DX

    On 2006-08-08 15:02:43


    need to learn actionscript, try here http://www.flashkit.com, tutorial, movies, sound, etc...