A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Flash bug? Rotate & set dimensions

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    4

    Flash bug? Rotate & set dimensions

    I have a MovieClip, which I have rotated. I then run:

    thebox._width = 100;
    thebox._height = 100;
    trace(thebox._width+", "+thebox._height);

    It returns... 93.5, 96.25........ why doesn't it return 100, 100?

    Then... I run the script again

    It returns... 99.1, 99.45

    It keeps going up in increments, but never actually hits 100, 100.

    I'm using Flash CS5 and Actionscript 2.0. What is going on?

  2. #2
    Junior Member
    Join Date
    Sep 2010
    Posts
    4
    By the way, the box is not rotated 90 degrees, 180 degrees, 270 degrees or anything nice like that. It's at a tilted angle.

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