Jump to content

Addeventlistener(mouseevent.click, Not Working


mcse

Recommended Posts

hi all I m working on custum video player, here is the link I did exactly same steps except I added my videos http://www.photoshopcafe.com/tutorials/fla...videoPlayer.htmbtn1.addEventListener(MouseEvent.CLICK, vid1);btn2.addEventListener(MouseEvent.CLICK, vid2);btn3.addEventListener(MouseEvent.CLICK, vid3);function vid1(e:Event):void{vidPlayer.source = "video1.flv"};function vid2(e:Event):void{vidPlayer.source = "video2.flv"};function vid3(e:Event):void{vidPlayer.source = "video3.flv"};when I click on buttons no action :) whats wrong ???

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...