A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Zoom & Rotate buttons

  1. #1
    has no job DaveWeaver's Avatar
    Join Date
    Sep 2002
    Location
    London
    Posts
    154

    Zoom & Rotate buttons

    Hello,

    I have a movie clip on the main stage, and would like to be able to zoom in and out and rotate it using buttons i have created. The Movie is called "Card" and any help is appreciated,

    Cheers Dave

  2. #2
    Senior Member
    Join Date
    Sep 2002
    Posts
    185
    make a button Zoom with actions:
    on(press) {
    zoom = true
    }
    on (release) {
    zoom = false
    }

    now in the main TimeLine put in frame 2:
    if (zoom == true) {
    myMovie._scale = myMovie._scale + 1
    }
    gotoAndPlay(1)

    it's the same for the rotation; use a variable rotate(true/false) and
    in the script myMovie._rotation = myMovie._rotation + 1
    Last edited by P-Sch1FT; 10-16-2002 at 09:29 AM.
    I think...I dreamed...in pixels last night...

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