1 Reply Latest reply on Aug 28, 2007 8:19 PM by masterkrang

    A basic video player

    masterkrang Level 1
      The idea is to have a list of buttons on the left, and a single instance of a FLVPlayback component on the right (just dragged out onto the stage with it's contentPath NOT set). The buttons on the left are called 'btn1', 'btn2', 'btn3', 'btn4', and upon clicking the button, a different video would play and load into the FLVPlayback component. The FLVPlayback component'sinstance name is 'vid'.

      so the code for one of the buttons would look like this:

      btn1.onRelease = function() {
      vid.contentPath = "rtmp://msfusa.flashsvc.vitalstream.com/msfusa_vitalstream_com/_definst_/Brett_400x300.fl v";

      i'm getting this error: 1000: Unable to make connection to server or to find FLV on server

      i used the actual video path so you could test it if you're way cool.

      anybody know why that wouldn't work? and could you refer me to some tutorial or maybe paste some code that could explain how to do what i'm trying to?