flash actionscript:
Hello. I've query that is probably very easy to do but being a bit of Homer Simpson I can't get me head round it. I can do loading bars fine.. progress bars whatever... what I can't do is section up the loading bar. How do they do those bars that load all graphics (maybe even show the ones loading), then it'll have another bar for sounds...(again maybe even display the names on screen). So basically it's like seeing a progress bar for the different elements of a site.. vector graphics, bitmaps, etc. I saw it on a site that I just can't find the URL of... How is done? Loading individual movies into a root movie? Or is it someone says 30% is graphics, 40% is sound, 14% is video, 1% is scripting, putting them all together in groups to be loaded sequentially and doing a bit of maths with the overall percentage to resemble 4 seperate loading bars? Can it be done? Or have I been taken in and it's just a mocked up thing to add interest whilst loading? Many thanks for time. Meeesta
sometimes those preloaders are just a gimmick, it's not actually loading graphics, then sounds, then xml blah blah blah. you could do this if you were loading multiple swfs by building a chain preloader. do a loop that iterates through an array of swfs you want to load. preload whatever is in index 0 of the array, when it's loaded, clear the preloader, increase a counter to go to the next index in the array and fire the preloader again.
Don't see what you're looking for? Try a search.
|