==================================================== AUTO BIRD v1 :: by Zachary Knight ==================================================== DESCRIPTION :: This drag-n-drop movie clip is a self-contained bird that sits on a wire, fence, branch, etc. and does its own thing. It fluffs its wings occasionally and then at some point it flies off into the sky. After a random wait, it flies back to its original position. You can add as many feathered friends as you want and they will all behave independently. Use some scaling/skewing/tinting to make each one slightly different. By simply changing a few numbers, their behavior can be modified to have more or less chance of doing any of the actions. The flight path uses a Motion Guide layer. FEATURES :: * added sense of "life" in your Flash movie * random movement means no boring patterns * realistic animation * tiny file size * drag-n-drop convenience PLUS :: * descriptive naming of layers, Library items, and ActionScript variables * commented code * optimized graphics * ActionScripted animation * will not choke slower systems SWF STATS :: * Dimension = n/a * Published File Size = about 4k (for 1 to 20+ birds) * Frame Rate = 24fps * Flash Player Version(s) = 7, 8 * ActionScript Version = 1.0 * Authored In Version = Professional 8 FILES INCLUDED :: * AutoBirdV1__FP8_AS2.fla (Flash 8 authoring file) * AutoBirdV1__FP7_AS2.fla (Flash 7 authoring file) * AutoBirdV1__HELP.txt (this file) --------------------------------------------------------------------------------------------------------------------------------- HOW TO USE :: (1) Open your FLA file. (2) Open one of the "AutoBirdV1" FLA files. Now you have both FLA files open. (3) In Flash, click the "New Library Panel" button. It is located on the top right of the Library panel (directly under the Library's menu button) and the icon depicts two blue documents with an arrow on top of them. (4) When the new panel opens, drag it to where you can also see the original Library. (5) Use the drop-down menus on both panels to make sure each has a different Library displayed. (6) Drag the entire "BIRD" folder from one panel into your Library. (7) Close the floating Library panel, and the "AutoBirdV1" FLA file. (8) Open the "BIRD" folder in your Library, in which you will find a movieclip called "05__AutoBirdV1_(AS)". This is the movieclip that you will drag onto the Stage for each bird that you want in the movie. It does not require an instance name. (9) Adjust the size of each bird if needed and you're done. ~ If you would like to adjust the behavior... (a1) Double-click the "05__AutoBirdV1_(AS)" movieclip to open its timeline. (a2) On the first frame of the "--> SCRIPTS" layer, you can set the following variables to set the odds... v_FluffChance = 17; *15 or less = no fluffing at all (except once after landing) *16 or more = better chance of fluffing v_FlyAwayChance = 51; *50 or less = no flying away at all (unless touched) *51 or more = better chance of flying away v_FlyBackChance = 55; *50 or less = will not fly back *51 or more = better chance of flying back --------------------------------------------------------------------------------------------------------------------------------- I hope you enjoy it! And please give it a rating when you have a moment. Zachary Knight :: Media Design ZacharyKnight.com ~ END ~