Flasher Archive

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


Subject: Re: FLASH: Y position - moving down slowly
From: Helen Triolo
Date: Fri, 28 Apr 2000 20:17:52 +0100

Steve,

Glen is right about the syntax changes you need to make. But in
addition, to make the object move slowly, you'll need a multiple-frame
loop. For an example, see

http://i-technica.com/whitestuff/actionscriptref.html

Scroll down til you see the section "3-frame loop to change a
movieclip's property multiple times"

Regards,
Helen
----------------------------------------
helen triolo · http://i-technica.com
designerati-technica [dot] com · 301-424-6037
----------------------------------------

Glen Rhodes wrote:
>
> Loop While (yPos<=Max)
> Set Property ("../Nav", Y Position) = yPos
> Set Variable: "yPos" = yPos+.5
> End Loop
>
> ------------------
> Glen Rhodes
> dot com Entertainment Group Inc.
> Tel: (905) 337-8524
> Fax: (905) 337-8630
> www.dceg.com
>
> -----Original Message-----
> From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of
> steveatfuse-media [dot] com
> Sent: Friday, April 28, 2000 12:15 PM
> To: flasheratchinwag [dot] com
> Subject: RE: FLASH: Y position - moving down slowly
>
> ok. I guess I'm just dense. this is what I have and it's giving me an
> infinite loop error:
>
> Set Variable: "Max" = "300"
> Set Variable: "yPos" = GetProperty ("../Nav", _y)
> If (MovieCheck eq "1")
> Unload Movie (1)
> Load Movie ("1.swf", 1)
> Loop While (yPos<=Max)
> Set Property ("../Nav", Y Position) = "yPos"
> Set Variable: "yPos" = "yPos+.5"
> End Loop
> Go to and Stop (2)
> Else If (MovieCheck eq "2")
> Unload Movie (1)
> Load Movie ("2.swf", 1)
> Go to and Stop (2)
> End If

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
  RE: FLASH: Y position - moving down slow, Glen Rhodes

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