You may like to look at the FX Video component to get some ideas:

http://www.fxcomponents.com/flex-video-player/



--- In [email protected], "paulgrantgain" <paulgrantg...@...>
wrote:
>
> Hi Manish,
> 
> Thanks for the reply.
> 
> The following methods are associated with buttons on the UI and none
> of them work.
> 
> private function play(evt:Event):void
> {
>     player.play();
> }
>                       
> private function stop(evt:Event):void
> {
>     player.stop();
> }
>                       
> private function gotoAndPlay(evt:Event):void
> {
>     player.gotoAndPlay( gotoPlay.value );
> }
>                       
> private function gotoAndStop(evt:Event):void
> {
>     player.gotoAndStop( gotoStop.value );
> }
> 
> Below is the play() method of the player, the others are similar:
> 
> public function gotoAndPlay(n:Number):void
> {
>     if (mc)
>     {
>         mc.gotoAndPlay(n);
>         trace("gotoAndPlay(" + n +  ")");
>     }
> }
> 
> When I select any of the buttons in the UI all methods in the player
> trace out.
> 
> Any further ideas?
> 
> Regards
> 
> Paul
>


Reply via email to