FORUMS: list search recent posts

Pre roll video

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Louie Molina
Pre roll video
on Nov 10, 2009 at 4:40:45 pm

Guys, I built the multi video player in flash shown in this site and I was wondering if any one knows how to add code to the player to play a pre roll video ad. Tutorial was great. Only took 2 minutes to get it working...

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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]