* Take Attendance *
* Check Homework *
For home work, you were supposed to ....
1) Finish drawing 3 Characters for your Project A
2) Find a soundtrack for your Project A
3) Draw a very rough storyboard
Today: adding sound, and making buttons, 1st AS3.0
adding sound
-you can edit sound using iTunes
-make sure all your sounds are saved as mp3 files
What's the difference between Event & Streaming sound?
Free Sound.org
free animal sounds
Instructions for making a button:
1. make a button symbol
2. move it on the stage
*3. GIVE IT AN INSTANCE NAME (in the properties window)
4. make sure you gave your symbol an instance name
5. play with up, over, down, and hit, by inserting Keyframes in the button symbol's timeline
*6. add a layer called actions to your timeline
7. add ActionScript to your timeline:
stop();
or
gotoAndPlay(1);
8. add an Event Listener to the instance of your button:
firstButton.addEventListener(MouseEvent.CLICK, clickHandler);
9. define your function's properties:
function clickHandler(evt:Object):void{
gotoAndPlay(31);
}
10.
Save your file and test your movie
WEDNESDAY:
***Talk about quiz next week***
Review how to make a button.
( play with up, over, down, and hit, by inserting Keyframes in the button symbol's timeline )
-Nest a Movie Clip in a button?
-Add sound to a button symbol?
// Stop all sound:
flash.media.SoundMixer.stopAll();
* SOME WORK TIME *
Project A is due Mon. March 4
(at the beginning of class)
what you will turn in on March 4 :
1) Have your site uploaded to a server before class.
2) You will turn in a folder w/ pockets, with $2 cash, OR a CD w/ your name (use Sharpie)
-Flash .fla, .html & .swf files should all be included
3) Please include storyboard in the folder