Flasher Archive

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


Subject: Re: FLASH: Cool Video Games
From: Helen Triolo
Date: Thu, 13 Apr 2000 13:26:47 +0100

"Dunn, Jeff" wrote:
>
> I have created a simple experiment to learn more about using variables for
> my scrolling videogame background. I created a movie clip with three frames
> and called it circle.
>
> Frame 1 behavior
> Set Variable: "bkg" = 320
>
> Frame 2 behavior
> Set Property ("circle", X Position) = "bkg"
>
> Frame 3 behavior
> Set Variable: "bkg" = bkg + 1
> Go to and Play (2)
>
> I was hoping that this would put the circle at pixel 320 and gradually move
> it to the right of the screen. It does not.
> I'm doing something wrong, but I'm not sure what. Any comments or
> suggestions are welcome.

Just change frame 2 to
Set Property ("circle", X Position) = bkg (no quotes)
and it'll work fine!

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

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: Cool Video Games, Dunn, Jeff

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