Flasher Archive

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


Subject: Re: FLASH: Rotation loop
From: Tim Brayshaw
Date: Sat, 3 Jul 1999 23:27:05 +0100

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


Replies
  Re: FLASH: Rotation loop, Persio Pucci (Atendimento

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

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