At 1/27/03 10:13 AM, TomFulp wrote:
Let me know if you found it confusing, so I can try to make it even easier.
(I'm using Flash version 5.)
Overall the preloader looks good. I tried it and it seems to work - almost. There are a couple of things that I would change:
1) LoadingBar.gotoAndStop(PercentLoaded) - this didn't work for me. I.e. during loading, the loading bar size didn't change. I made the Loading bar into a movieclip and used setProperty (LoadingBar.bar, _xscale, PercentLoaded)
2) I'd use PercentLoaded = _root.getBytesLoaded() / _root.getBytesTotal() * 100 instead of PercentLoaded = _root._framesloaded / _root._totalframes * 100 since some frames usually contain more bytes than others. e.g. if there are 2 frames in a movie where frame 1 has 1 byte and frame 2 has 9 bytes then after loading frame 1, the bar would show that the movie is 50% loaded. But if the bar is based on bytes then it would show 10% only.
3) Maybe have the description message as a separate text file and have the .fla file contain one frame only. After reading your comments on NG, when I opened the .fla file, I expected to copy all the frames into my movie's first frame - which is not the case.
Hope that helps,
If you have any questions, let me know.
-Istvan