Subscribe to our newsletter:
- Questions
- How to customize Awesome Snowflakes 1.0:
- How to use Awesome Snowflakes 1.0:
- Included files:
- What it does:
Answers
topHow to customize Awesome Snowflakes 1.0:
Once the "Snowflakes" movieclip is on the stage in your flash project, edit the movieclip by double-clicking it.
All actionscript is contained in frame 1 in the "actions" layer. You may modify the variables contained in the USER SETTINGS area. There is no need to edit any code below line 41. USER SETTINGS section has comments describing variable functions.
How to add custom objects to Awesome Snowflakes 1.0:
Adding any number of custom falling objects is easy with some basic Flash knowledge (creating movieclips is beyond the scope of this document).
Once you've dragged the "Snowflakes" movieclip into your Flash proejct, all object movieclips are located under the "Resources" folder in your flash project's library.
Objects must be named "object1, object2, object3, object4, ...", etc. Simply create a new movieclip and name it appropriately. Right click the new movieclip, select Linkage... and check the Export for ActionScript checkbox and press ok (the Identifier field should be the same as the movieclip name by default).
Finally, in the ActionScript custom settings for the "Snowflakes" movieclip (see How to customize Awesome Snowflakes 1.0 section above), modify the "numberOfObjects" varialbe to the total number of objects (for example, the default for "numberOfObjects" is 3, for "object1", "object2", and "object3" which are the three snowflakes included with this applet, found in the Resources folder in the Flash library.)
Note that the three default objects have been added to the "dragText" movieclip. This allows the objects to be dragged into your Flash projects along with the "Snowflakes" movieclip. If you'd like your new objects to be draggable too, please add an instance of each one to the "dragText" movieclip.
topHow to use Awesome Snowflakes 1.0:
pen the .fla file and drag the "Snowflakes" movieclip from the library into your own flash project. That's it!
The movieclip automatically creates snow across the width of your project's stage.
topIncluded files:
AwesomeSnowflakes_1.0_Flash8.fla
(Flash 8 development file)
Instructions.txt
(The text you're reading now)
topWhat it does:
This little applet is a simple drag and drop falling snowflake effect for your Flash projects! Either simply drag into your project and use as-is, or customize as much or as little as needed via well-commented actionscript.
Includes support for the following: unlimited number of different falling objects (included are three individual snowflake objects), overall effect transparency, number of falling objects on screen at one time, object falling speed and speed random variance, wind speed, amount of random variance in object size, probability that objects will "flip" as they fall and "flipping" speed, object pendular motion during fall and degree of pendular motion, object rotation and rotation speed.
This applet makes use of the Flash Tween class, so at this time, only Flash 8 is supported.






help
and feedback
latest
news
latest
forum entries