0 Replies Latest reply on Sep 20, 2011 8:10 PM by f6fff66

    problem passing param from spark video players

    f6fff66

      I tried to pass a video source path from spark video player but couldn't get it working. Here's the code:

       

      <fx:Script>

      <![CDATA[

      [Bindable]

      public var myVideoPath:String = root.loaderInfo.parameters.myVideoPath;

      ]]>

      </fx:Script>

       

       

      <s:VideoPlayer

      source="{myVideoPath}"

      width="500" height="300"

      loop="false"

      autoPlay="false"

       

      />

       

      from html:

      <noscript>...<param name="myVideoPath" value="testing.flv" />...</noscript>