Fix compiler problem with ambiguous VideoEvent
authorRichard Fairhurst <richard@systemeD.net>
Fri, 30 Sep 2011 17:13:28 +0000 (18:13 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Fri, 30 Sep 2011 17:13:28 +0000 (18:13 +0100)
net/systemeD/potlatch2/help/VideoPlayer.mxml

index 0a1b08e..33c7208 100644 (file)
@@ -75,8 +75,8 @@
                                video.playheadTime = event.currentTarget.value; 
                                if (wasPlaying) playVideo();
                        } 
-                       public function advanceProgress(event:VideoEvent):void {
-                               progressBar.value = event.playheadTime;
+                       public function advanceProgress(event:Event):void {
+                               progressBar.value = mx.events.VideoEvent(event).playheadTime;
                        }
                        public function stopPlaying():void {
                                if (!video.playing) return;