Hi all,
Flash CS3 coding in AS2 on a mac.
As you may have noticed I have been troubled by the issues of preloaders over the last few days (lol). This is my latest situation:
Lots of layers, everything is toggled by visibility and so on, all on the first frame of the main swf. I insert a frame before this, so that there is a place for the preloader. I make my preloaderMC - a bar which is a MC called loadBar with a registration point of bottom middle, an outline of a shape, a mask for that shape, and dynamic text box called loadText. The bar would “fill” the shape by moving from bottom to top according to bytesLoaded etc.
This, in theory, works fine. However, the preloader is apparently 28kb when i export it, and when i simulate the download as 56kb and look at the streaming graph etc, it says that in the first frame on the main swf, there is 47kb worth of data. It also starts the preloader around 60% and when i look at the streaming data this is on around 47kb. Now, i find this very strange. I find it even more strange when I delete the only thing that is in the first frame - the preloader - and comment out the preloader code - it makes no difference. There is nothing on any of the other layers in that frame because otherwise it would show up - right?
I am pretty sure this is the reason why the preloader takes a while to appear - it effectively has to preload itself - but WHY is it that big? I have tried placing it on the stage rather than as a MC - no difference - and the dynamic text is not embedded so its not that. I cant for the life of me work out what the problem is - has anyone ever encountered this before and/or does anyone have any ideas?!
As you can probably tell i’m not too impressed with all this. I knew preloaders were a pain but I didnt think they would be THIS much of a pain!
Thanks in advance
Theo
p.s. none of the items in my library are exported for actionscript or anything like that - all check boxes are unchecked.