logo-dw

Go Back   Dreamweaver Club Forums > Graphic Design > Flash
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 11-10-2009, 03:19 PM   #1
gigiloumill
gigiloumill's Avatar
 
Join Date: Apr 2009
Location: Miami, FL
Posts: 493
Default Pre roll video

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

Last edited by gigiloumill; 11-10-2009 at 03:24 PM.. Reason: more
gigiloumill is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:42 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com