Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: How do you make a button rotate a MC?
From: Robert Bleeker
Date: Thu, 13 Apr 2000 22:42:55 +0100

Hi Mick,

Make sure your instance of the MC on stage is named. (ie. "myMC")

on the button script you put:

On (Release)
If (rotation<220)
Set Variable: "rotation" = rotation+45
Else
Set Variable: "rotation" = 0
End If
Set Property ("myMC", Rotation) = rotation
End On

That is it.
Make sure the button is on the same timeline as the "myMC" MC otherwise you
have to change the target paths.

RObert




on 14/4/00 6:05 AM, Mick Southerland at mick [dot] southerlandatglasseye [dot] net wrote:

>
> I've been trying to figure this out all afternoon.
>
> I have a button , and a movie clip.
>
> I would like to be able to rotate the MC in quarter turns by pressing the
> button.
>
> I know one of you action script pros out there could save me a lot of time and
> pain, I'd be most grateful!!
>
> Thanks!


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: How do you make a button rotate a, Mick Southerland

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]