FLV Flash problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Michael
    Forum Member
    • Feb 2000
    • 186

    FLV Flash problem

    Hi.
    I've read the forum posts, but can't seem to figure out the simple actionscript to write in Flash that will allow me to use the FScommands in AMS for controling the (stop, start) the video.

    Can someone show me the actionscript to add to the Flash CS3 project so that it is recognized in AMS?

    As of now, the video plays non-stop and I don't won't a flv player, just the video on the page.

    Thanks,
    M.
  • longedge
    Indigo Rose Customer
    • Aug 2003
    • 2498

    #2
    You can't just display an flv in AMS. Have a look at Reteset's excellent example here.

    Comment

    • Michael
      Forum Member
      • Feb 2000
      • 186

      #3
      Thanks, longedge.

      Reteset's example works well. I now need to add a AMS pause button and found out that the AMS flash commands don't work with the video. I'm thinking that more Flash actionscript needs to be added to:

      _root.AMS_command = "";
      _root.FLVpath = "";
      this.onEnterFrame = function ()
      {
      if (_root.AMS_command eq "Load")
      {
      player_mc.load(FLVpath);
      player_mc.play();
      _root.AMS_command = "";
      _root.FLVpath = "";
      }
      };


      Don't know enough about Flash to do it. Any thoughts?
      ...and thanks again.
      Michael

      Comment

      Working...
      X