Forum Moderators: not2easy

Message Too Old, No Replies

advanced actionscript percentage preloader

I know this ios possible with some custom actionscript, Just don't know how

         

amdorsey

9:41 pm on Apr 24, 2004 (gmt 0)

10+ Year Member



I have a main .swf movie that contains a timeline from 1800 to 2000 (1800, 1820, 1840...2000) I have separate swf files for each year on the timeline. I want the seperate swf files to have a custom preloader based on the year you came from and the year your going to. (e.g. If I am viewing the swf for 1820 and I click on the swf for 1900, I would like the loader to be the years counting from 1800 to 1900. So my percentage (100%) would be from 1800 to 1900, one hundred years.

Any thoughts? I will elaborate if some are confused by this.

bayon86

3:11 pm on Apr 28, 2004 (gmt 0)

10+ Year Member



how about assigning a global variable to each swf identifying the year, for example, the swf for 1820 would include currentYear=1820. then each button that links to the other year.swf files will also have a variable, say comingYear=2000, or whatever.

then pass both of these varible to the actual comingYear.swf. from there you should be able to count from currentYear to comingYear, instead of 0 to 100, with your preloader.

conversely, you could do something similar with movieClips instead external swf files.

HTH