Encore CBT Company | AUTHORIZED ADOBE TRAINING |
|
Adobe, Macromedia, Creative Suite, Creative, CS2, CS3, Authorware, Dreamweaver, Coursebuilder, Contribute, Flash, Flash Lite, Flash Server, Flash Video, Fireworks, .fla, .swf, fla, swf, train, trainer, trainers, training, workshop, workshops, class, classes, classroom, course, courses, onsite, on-site, on site, public, authorized, center, certified, west virginia, wv, virginia, va, pennsylvania, pa, erie, kentucky, ky, indiana, in, michigan, mi, detroit, ohio, oh, columbus, cleveland, Cincinatti, Dayton, Toledo, Zanesville, lms, aicc, scorm, e-learning, elearning, cbt, computer-based, shockwave, tween, tweens, animation, animations, symbol, symbols, button, buttons, actionscript, actionscripting, script, scripting, code, coding, panel, instance, instances, object, objects, mobile, movieclip, graphic, icon, flow, flowline, frame, frames, scene, components, keyframe, keyframes, png, a7p, a7l, multimedia, interaction, interactions, interactive, ko, model, models, assets, snippets, css, coldfusion, asp, asp.net, drag drop, true false, multiple choice, text entry, development, consultant, consult, consultants, instructor, instructors, instructor-led, instructional, classrooms, lecture, teacher, teachers, facility, learn, learning, education, educate, educator, expert, experts, experienced
|
I've seen a number of snow samples, but none quite caught my attention, so here is my rendition. There's room for improvement and below I make some suggestions.
We begin with a single snowflake. Eventurally, we'll loop to create a number of duplicates of the snowflake.
We start with a drawing of a snowflake. Snowflakes are pretty small, so there's no sense killing yourself drawing a complicated snowflake.
Here's mine:
So we want this showflake to behave just right. So what do snowflakes do?
So, let's add some code. Inside the movieclip symbol snowflake, add a layer at the top, and name it 'actions'. Now for some actionscript to fulfull our snowflake wish-list.

Notice the variable myFactor affects both the _alpha and incrX - incrY variables. So, snowflakes that are dimmer (and appear further to the background) fall slower in both the _x and _y directions. That's exactly what we want.
Finally, I drag a single snowflake instance from the library and place it anywhere on the stage. By the way, I named the instance 'snowflake' ... never miss the opportunity to name an instance. We'll need that name later when we get around to duplicating the snowflake, using the duplicateMovieClip method of movieclips. So, we have a single flake moving randomly on the stage, as follows:
I've exagerated the size of the snowflake to make it easier to see.
One snowflake is not a storm, so let's make a storm. On the maintime (_root), we create a simple loop to make a bunch of snowflakes
And now we have our final snowstorm.