A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: drag and rotate

  1. #1
    For medicinal use only.
    Join Date
    Apr 2002
    Posts
    33

    drag and rotate

    hi everyone,
    i have an arm that i want to be able to drag and rotate. i know that to drag the arm with limits you have to use something like this:

    on (press) {
    arm.onPress = function() {
    startDrag(arm, false, 129, 50, 400, 304);
    };
    }
    on (release) {
    arm.onRelease = function() {
    stopDrag();
    };
    }

    this only drags the arm within those boundaries, how can drag the arm so it rotates at a maximum angle of 45 degrees.

    for a visual description please go here:
    http://members.rogers.com/madizm/arm.html

    thanks in advance

  2. #2
    For medicinal use only.
    Join Date
    Apr 2002
    Posts
    33

    anyone?

    anyone....?

    are there any tutorials or books that might lead me in the right direction? anything?

  3. #3
    For medicinal use only.
    Join Date
    Apr 2002
    Posts
    33

    bump

    bump

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