- Has been a member for 3-4 years
- Author was Featured
- Exclusive Author
- Sold between 10 000 and 50 000 dollars
- Bought between 1 and 9 items
- United States
- Referred between 10 and 49 users
Good Stuff! ..I like the red ‘shadow effect’ 
Good Stuff! ..I like the red ‘shadow effect’ 
Can we use more objects that fall randomly? For example five different ones? How can this be incorporated?
duplicateMovieClip(heart, "heart"+i, this.getNextHighestDepth());
thisobj = eval('heart'+i);
and duplicate a different movieclip (heart in this case) depending on i. If you look at i % 5, you would get the numbers zero to 4 before it starts at zero again – you could use this to decide which movieclip you want to copy and assign to thisobj.
Perhaps it’s easier consider the falling card suits file, as this has it implemented for 4 objects – adding a fifth might be easier since you can just copy/edit the relevant pieces of code.

If it doesn’t work out (or you have no actionscript experience and just want me to do it), pop me an e-mail via my profile and I’ll be happy to assist 
COPYRIGHT © 2012 ENVATO| TERMS OF USAGE| SUPPORT/HELP| ICONS BY TANGO + WEFUNCTION + FAMFAMFAM
Adobe®, Flash®, Flex®, Fireworks®, Photoshop®, Illustrator®, InDesign® and After Effects® are registered trademarks of Adobe Systems Incorporated.
18 Purchases
2 Comments