ryanSmithART.com/courses/363/2014


- week #7 -

ryansmithart.com/courses/363/2014


talk briefly about :

"Project A"

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)

Assign Project B


Project B examples :
- 1 - "Howl"
- 2 - zombies
- 3 - Choose Your Own Adventure

HOTEL - by Han Hoogerbrugge

Animations - Hoogerbrugge | Paper Rad | Terry Gilliam | explosm.net




MORE FLASH:

Review: adding sound

animal-sounds.org

-make sure all your sounds are saved as mp3 files



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

Adding sound with AS3.0

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();


Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player



Dowload .fla file:
SoundTest_fall_2013.fla


// sound.play(0, int.MAX_VALUE);
or
// audio2.play(0, 9999);



homework this week:


Get started on Project B