3 Replies Latest reply on Mar 1, 2012 11:53 AM by kglad

    Can your loadMovie "file name" = timeline frame number?

    tallscot Level 1

      I have a simple slideshow that has 70 slides. Each slide is on a frame in the main timeline and I have the following AS 2:


      loadMovie("Data/5.swf", "container");



      There will be 70 SWF files in that Data folder. Instead of having to manually type in 1, 2, 3, 4, 5...in that "Data/5.swf" attribute, is there a way to just tell it to load the SWF number based on the current frame? Frame 1 in the timeline loads 1.swf, frame 2 loads 2.swf, etc.


      That way I can just put the same AS on each frame instead of having to manually go in and type each one.


      Thank you!