6 Replies Latest reply on Oct 24, 2010 9:56 AM by AMIR820321548863

    Playing FLV

    AMIR820321548863 Level 1

      Hi

       

      I am want to play a simple FLV file but for some reason it doesnt work at all

      I am using flex 4 and flash player 10

       

      this is my code

       

      <s:VideoDisplay source="src/swt_test_01.flv"
                          id="_myMovie" width="100%" height="100%" 
                           x="126" y="245" />


      <fx:Script>
          <![CDATA[
             

       

              protected function joe_clickHandler(event:MouseEvent):void
              {
                  _myMovie.play()
              }

       

          ]]>
      </fx:Script>
          <s:Button x="26" y="42" label="Button" id="joe" click="joe_clickHandler(event)" />

      Any idea why this doesnt work?

       

      Thanks

      Amir