0 Replies Latest reply on Feb 14, 2007 12:22 AM by Newsgroup_User

    action scripting

    Level 7
      hi
      Error opening URL "file:///D|/CCS/multimedia/flash/fla%2Bimg/picture2.jpg"
      I get this error every time when i press ctl+enter.
      this my scriping.
      imgbtn1.onRelease = function() {
      infoField._visible = true;
      startLoading("picture1.jpg");
      };
      imgbtn2.onRelease = function() {
      infoField._visible = true;
      startLoading("picture2.jpg");
      };
      imgbtn3.onRelease = function() {
      infoField._visible = true;
      startLoading("picture3.jpg");
      };
      function startLoading(whichImage) {
      loadMovie(whichImage, "imageLoader");
      _root.onEnterFrame = function() {
      infoLoaded = imageLoader.getBytesLoaded();
      infoTotal = imageLoader.getBytesTotal();
      percentage = Math.floor(infoLoaded/infoTotal*100);
      infoField.text = percentage+"%";
      if (percentage>=100) {
      delete this.onEnterFrame;
      infoField._visible = false;
      }
      };
      }