Issue 29: ObjectHandles-1.0.0016: Rotation isNaN
Status:  Fixed
Owner: ----
Closed:  Dec 2009
Reported by heikki.u...@syncrontech.com, Nov 8, 2009
What steps will reproduce the problem?

1. MyCanvas extends ObjectHandles (allowRotate = true)
2. Load swf into Canvas and add it to MyCanvas rawChildren
3. Try to move it -> isNaN(rotation) and then
"bowAngle = Math.PI / 180 * rotation * -1;" isNaN and object goes to 0,0

What is the expected output? What do you see instead?

  Tried to set rotation=0 in MyCanvas constructor but it did not help,
  rotation get garbagled some other location.

  Fixed this adding to ObjectHandles.onMouseMove

    if (isNaN(rotation))
       rotation = 0;

What version of the product are you using? On what operating system?

  ObjectHandles-1.0.0016
  FlashPlayer 10
  FB 4 B2
  Windows XP/Vista
  IE8


Dec 22, 2009
Project Member #1 marc.hug...@gmail.com
This has been added to the SVN code, thank you.
Labels: ObjectHandlesV1
Dec 22, 2009
Project Member #2 marc.hug...@gmail.com
(No comment was entered for this change.)
Status: Fixed