1 Reply Latest reply on Feb 25, 2009 3:31 PM by kglad

    Need help with - playing back to back multiple .swf files

    ehelp7
      I have four .swf files namely, 1.swf, 2.swf, 3.swf and 4.swf

      I have linked these files to buttons that can play these movies individually without any problem and the movieloads it automatically starts 1.swf movie and plays it completely.

      However, what I'd like to to do is have these movies onloading start playing automatically from 1.swf to 4.swf as a continous play and give the user the ability to click on a button to skip and play any of the four .swf files.

      The code I have for currently is as follows:


      loadMovie("1.swf","placeholder_mc");

      this.1_btn.onRelease = function () {
      loadMovie("1.swf","placeholder_mc");}

      this.2_btn.onRelease = function () {
      loadMovie("2.swf","placeholder_mc");}
      stop();

      this.3_btn.onRelease = function () {
      loadMovie("3.swf","placeholder_mc");}
      stop();

      this.4_btn.onRelease = function () {
      loadMovie("4.swf","placeholder_mc");}
      stop();

      From what I have read so far to accomplish the above I'll probably need some varialbles to be defined and have listner code. I could be wrong. Since I am very new at Actionscript, would greatly appreciate forum members assistance.

      I am using Flash8 professional. Thanks.