0 Replies Latest reply on Nov 22, 2006 1:35 PM by Newsgroup_User

    buffering loaded FLV's

    Level 7
      Hi all,

      Finally got what I needed to control FLV's with Scrubber , mute and so
      forth. Have 2 questions that I am still wrestling with. The Tut is written,
      a great one by GoToAndLearn.com, for one FLV loaded at runtime. I will have
      several buttons loading different FLVs.replacing the one alreay there.

      There is a great buffer function that targets the runtime FLV but I can't
      figure out how to get it to apply each time a new FLV is loaded>



      ns.onStatus =function(info) {
      if(info.code == "NetStream.Buffer.Full") {
      bufferclip._visible = false;
      if(info.code == "NetStream.Buffer.Empty") {
      bufferclip._visible = true;


      //two buttons

      this.attachVideo_btn.onPress = function () {
      ns.play("For Love of Country.flv");
      this.attachVideo_btn2.onRelease = function () {
      ns.play(" http://amazingwebs.com/flinch/For Love of Country.flv");

      other qucik questionis I need to unload the FLV from the stage when they are
      finished and I can't seem to find any refrence code for this ..I've tried
      this below the buffering codeand no joy.

      if(info.code == "NetStream.Play.Stop") {

      any help is greatly appreciated.