dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Show movie clip rotation angle in a text field

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    15

    Show movie clip rotation angle in a text field

    Hello all,

    Any help would be greatly appreciated with an AS3 script that would show the current rotation angle of the movie clip to two decimal places in a text field.

    Many thanks.

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,785
    Hi,

    Perhaps you can make something of this.

    or quick code
    PHP Code:
    displayText.text String(Math.round(clip.currentRotation 100) / 100); 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center