Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Flash: Duplicating MC |
From: | Ed Harvey |
Date: | Thu, 11 May 2000 21:53:16 +0100 |
Thanks, That is exactly what I needed to do.
Ed
> ----------
> From: Eric Smollin
> Reply To: flasherchinwag [dot] com
> Sent: Thursday, May 11, 2000 2:35 PM
> To: 'flasherchinwag [dot] com'
> Subject: RE: FLASH: Flash: Duplicating MC
>
> Your ant is a MC. Give it an instance name of "ant" (no quotes).
>
> the following code will duplicate it 100 times, randomly all over the
> screen:
>
> Set Variable: "counter" = 1
> Loop While (counter <= 100)
> Duplicate Movie Clip ("/ant", "ant"&counter, counter)
> Set Property ("/ant"&counter, Y Position) = Random (550) + 2
> Set Property ("/ant"&counter, X Position) = Random (400) + 2
> Set Variable: "counter" = counter + 1
> End Loop
>
> This can go in a button or a frame, depending on how you want to use it.
>
> Good Luck
> -Eric-
>
> >Does anyone know of a good tutorial on duplicating MCs. I have an
> animation
> >of one ant crawling across the screen. I want to make my one ant into
> about
> >100 different ant, is there a way to make multi copies of one MC with the
> >duplicating MC?
>
> 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 helpchinwag [dot] com
>
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 helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]