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 0a1b08ef1c07b9bfdd3b3c2cbd9d2126f66d920a..33c720833a80d84f1d5d95ba9360929783a5c90a 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;