Unit 11 - Video
Working with Video - Video Lecture 1 , Video Lecture 2 , Video Lecture 3
Code for main menu
//import Sound Mixer
import flash.media.SoundMixer;
//Put this in the function that does the navagations to pages
SoundMixer.stopAll();
Code for video thumbnail buttons. Do one for each thumbnail.
// set up thumbnail buttons
video_01_btn.addEventListener(MouseEvent.CLICK,playVid);
function playVid(evtObj:MouseEvent):void {
videoPlayer.source= "video/masada.flv";
videoPlayer.play();
}