PDA

View Full Version : Pre roll video


gigiloumill
11-10-2009, 04:19 PM
Guys, I built a multi video player in flash and I was wondering if any one knows how to add code to the player to play a pre roll video ad.

stop ();
function videoOne (event:MouseEvent):void{
pubPlayer.source = "flvs/01.flv";
}
function videoTwo (event:MouseEvent):void{
pubPlayer.source = "flvs/02.flv";
}
function videoThree (event:MouseEvent):void{
pubPlayer.source = "flvs/03.flv";
}

OneV.addEventListener(MouseEvent.CLICK,videoOne);
TwoV.addEventListener(MouseEvent.CLICK,videoTwo);
ThreeV.addEventListener(MouseEvent.CLICK,videoThre e);


Thanks