Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: MC Names & stars |
From: | Cheri Harder |
Date: | Sun, 2 Apr 2000 22:05:23 +0100 |
Hi again. Got it. In addition to setting up a potential maximum of 1 new
star and duplicating the name Star1, your code was putting all the new mc's
at the same "level" thereby writing over themselves. Oh, and also, your
YScale wasn't getting set, so I fixed that, too. Also, I would suggest you
make your scale factor bigger, because it is a percentage, so 0 to 20% is
pretty little. Here is my version of code, and it works:
Set Variable: "StarNo" = 20
Loop While (StarNo<>0)
Set Variable: "Starname" = "Star" & StarNo
Duplicate Movie Clip ("Star", Starname, StarNo)
Set Property (Starname, X Position) = Random(550)+1
Set Property (Starname, Y Position) = Random(400)+1
Set Property (Starname, X Scale) = Random(20)+1
Set Property (Starname, Y Scale) = GetProperty(Starname,_xscale)
Set Variable: "StarNo" = StarNo-1
End Loop
~~~~Cheri Harder~~~~~
charderawsolution [dot] com
Advantage Web Solution
www.awsolution.com
----- Original Message -----
From: "Darren Critchley" <darrenctelus [dot] net>
To: <flasherchinwag [dot] com>
Sent: Sunday, April 02, 2000 1:30 PM
Subject: Re: FLASH: MC Names & stars
> Cheri Harder wrote:
>
> > Hi, Darren:
> >
> > We'll need to see your code to see where your error is. Perhaps when
you
> > are referring to the new name you are not setting it as an expression?
You
> > could copy/paste some of the relevant sections of code here?
> >
> > ~~~~Cheri Harder~~~~~
> > charderawsolution [dot] com
> > Advantage Web Solution
> > www.awsolution.com
>
> Okay, here you go:
>
> Set Variable: "StarNo" = Random(20)+1
> Loop While (StarNo<>0)
> Set Variable: "Starname" = "Star" & StarNo
> Duplicate Movie Clip ("Star1", Starname, 1)
> Set Property (Starname, X Position) = Random(550)+1
> Set Property (Starname, Y Position) = Random(400)+1
> Set Property (Starname, X Scale) = Random(20)+1
> Set Property (Starname, Y Scale) = _xscale
> Set Variable: "StarNo" = StarNo-1
> End Loop
>
>
> --
> http://www.aurorainformationsystems.com/
>
> http://persweb.direct.ca/darrenc/
>
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and The Flash Film Festival
> "The World's Premier Flash Solutions Conference and Expo"
> March 27-29, Nob Hill Masonic Center, San Francisco, California
>
> -Register before Feb 25 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
>
>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: MC Names & stars, Darren Critchley
Re: FLASH: MC Names & stars, Cheri Harder
Re: FLASH: MC Names & stars, Darren Critchley
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]