Today: March 10
Talk about Project B
Project B examples: spectrum zine | drawing zine | phobias | fonts | martini | mythology
another fun flash site: jim carrey
Look at source:
http://www.vineyardesigns.com/tutorials/flash/website
my_btn.addEventListener(MouseEvent.MOUSE_DOWN, myHandler);
function myHandler(evt:Object):void {
navigateToURL(new URLRequest("http://www.adobe.com/devnet/flash/"), "_self");
}
FLASH
Adding sound with AS3.0
animal-sounds.org
Sound: | //Loading audio: var audio:Sound = new Sound(); var req:URLRequest = new URLRequest("Song.mp3"); audio.load(req); audio.play(); // If you want it to loop, then change the last line to: audio.play(0, int.MAX_VALUE); // Stop all sound: flash.media.SoundMixer.stopAll(); |
Dowload .fla file: SoundTest_fall_2013.fla
// sound.play(0, int.MAX_VALUE);
or
// audio2.play(0, 9999);
HOME WORK
"Project B" is Due March 24th
( I will look at the progress Wednesday, March 12th )
Get started on it!