7 Replies Latest reply on Aug 28, 2011 11:06 AM by [no name] :D 2011

    Play code snippet isn't working??

    [no name] :D 2011 Level 1

      I am using the following code snippet:

      but this error occurs  Line 6 1061: Call to a possibly undefined method play through a reference with static type flash.media:Video.

      img1.addEventListener(MouseEvent.CLICK, fl_ClickToPlayVideo);


      function fl_ClickToPlayVideo(event:MouseEvent):void


      video_1.play(); //the error is referring to this line here




      Would i have to add something there?