- week #5 -
Review - uploading
YOU SHOULD HAVE UPLOADED:
3 animations.
* Publish all 3 as .swf files embeded into .htlm pages
* Add links to the "index.html" page that you previously made
Have your site uploaded to a server before class.
* html & swf files
(you don't need to upload .fla files)
Review:
adding sound
-make sure all your sounds are saved as mp3 files
What's the difference between Event & Streaming sound?
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);
Week #5 (Oct. 6)
Project A was due this week
NOTE :
If you improve/finish your projects *this week* your grade will go up.
If you don't improve your 1st project, your grade will go down
what you will turn in on the due date:
1) Have your site uploaded to a server before class.
* html & swf files
(you don't need to upload .fla files)
2) I will collect:
- Flash .fla file
-
.html file
-
.swf file
* And, your storyboard