Flasher Archive

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


Subject: Re: FLASH: Rotation loop
From: Persio Pucci (Atendimento VIP)
Date: Mon, 5 Jul 1999 12:19:52 +0100

Well, I really did not get the desired result.... when I press the button,
the logo goes straight to the 359� position.... and I wanted it to show
every 2 degree until 360... :\

Any tricks left on your sleeves, sirs? :)

Regards!

----- Original Message -----
From: Tim Brayshaw <timattwisty [dot] com>
To: <flasheratshocker [dot] com>
Sent: S�bado, 3 de Julho de 1999 19:18
Subject: Re: FLASH: Rotation loop


> At 14:47 03/07/99 -0300, you wrote:
> >hehehe... my mistake... gotta pay more attention! :)
> >
> >tks a lot :)
> >
> > > Hi Persio,
> > >
> > > > I'm having a hard time by doing loops with Flash 4.0.
> > >
> > > > On (Release)
> > > > Begin Tell Target ("/logo")
> > > > Set Variable: "x" = "0"
> > > > Loop While (x<360)
> > > > Set Property ("/logo", Rotation) = x
> > > > Set Variable: "x" = "x+2"
> > > > End Loop
> > > > End Tell Target
> > > > End On
> > >
> > > You need to set the values to of the Set Variables
> > > from String (abc) to Expression (=)
> > > There will be no quotes around the values on the right side of the
> > > equals sign:
> > >
> > > Begin Tell Target ("/logo")
> > > Set Variable: "x" = 0
> > > Loop While (x<360)
> > > Set Property ("/logo", Rotation) = x
> > > Set Variable: "x" = x+2
> > > End Loop
> > > End Tell Target
>
> hi,
>
> did this work? does the screen refresh during a loop?
> you may have to loop on the frame and increment x on each frame (/:x = /:x
> + 2) for the animation to occur.
> i'm not sure, but from my quick tests this may be the case. could do with
a
> command like director's "updatestage" here... someone please tell me i'm
> wrong ;)
>
> regards,
>
> tim.
>
>
> tel: 0117 9091372
> mob: 07808 587598
> fax: 0870 0520858
> ���: http://www.twisty.com/wageslave/
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manageratshocker [dot] com
>


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: Rotation loop, RM ter Haar

Replies
  FLASH: Rotation loop, Persio Pucci (Atendimento
  Re: FLASH: Rotation loop, John Croteau
  Re: FLASH: Rotation loop, Tim Brayshaw

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