04.07.09: Buttons.zip (Approx 16KB) – 3 button types
**Note: When using the "getURL" command, here is the correct syntax:
getURL ("mailto: or http:// whatever", "_target");
I accidentally left out the quotes on the "_target" portion during class. It will work this way, but you may get unexpected results down the line.
Ok, now that you are somewhat familiar with the basics, please have a look at these files. Two of them are there for reference, and the third, "MovieClipControl.fla" is the next step in adding interactivity to your flash projects. This is just one method of many for accomplishing this, but perhaps the simplest.
Assignment for next week's class : Import 5 JPG images and scale them to a resolution of 100x100 pixels (you may want to do this before you import them). Convert each of these images into symbols. This time, however, convert them to "graphics" first, and then create movieclips and animate/tween your newly created graphic symbols within a movieclips. You may alter them any way you like, though (Remember the "break apart" and "trace" functions, too).
Now, on the main stage, create a button that links to each of these movieclips (remember to give them instance names). Each of the buttons should be clearly labeled and should start their respective movieclips when clicked.
As always, if you have any questions, e-mail me and attach any files in question.
See you all next time!
J
P.S. For those of you experiencing Function key issues in OS X, go to your System Preferences, and under "Keyboard and Mouse", make sure the Fn key option is set correctly (see picture below: may differ slightly from your version).

|