Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Random positioning in flash ... |
| From: | John Croteau |
| Date: | Fri, 24 Dec 1999 14:08:26 GMT |
aydin bash-itch wrote:
> can someone help me ... is it possible to make movie clip symbols appear
> randomly in the scene?
Yes,
Try this to get you started.
It will place the center of MC1 randomly at diff positions across the
screen.
Set Variable: "width" = 550
Set Variable: "height" = 400
Set Variable: "Xpos" = Random(width)
Set Variable: "Ypos" = Random(height)
Set Property ("MC1", X Position) = Xpos
Set Property ("MC1", Y Position) = Ypos
I uploaded an FLA to demo and save you typing it in:
ftp://206.107.180.51/Random/
--
Co-author of Flash 4 Web Animation F/X and Design
Autographed copies now available - http://www.crownmall.com/Flash4/
----------- -----------------------
John Croteau croteau
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central (The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
FLASH: right click detection, Kenneth Austin
Replies
FLASH: Random positioning in flash ..., aydin bash-itch
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

