A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Mar 2002
    Posts
    185

    random passing leaf mc

    Hi,

    I have a sky background and leaves flying.



    I want leaves come from right into the scene and leave the scene from left.I have one leaf mc but I need them passing random sized, random speed and from random height of the screen.I can do that all with motionTween but I need lots of leaves and can't even think about the file size of motiontween.

    So do you know a ready tutorial or a movie, or can I appreciate your time in helping about that script.That will be a great.

    Thanks for your time.

  2. #2
    Super Moderator
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    http://www.macromedia.com/support/fl...methods07.html

    although originally written with "stars" instead of "leaves" this tutorial deals with duplication, scaling, actionscripted motion and the Math.random() method. Basically, all you need.

    gparis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts




Click Here to Expand Forum to Full Width


HTML5 Development Center