I guess you can post a 'trimmed down' version of your project. (.zipped and in Flash 8 format) so I can see what your doing? are you manually triggering the component? or do you have it set to automatic?
you are using AS2...correct?
Printable View
I guess you can post a 'trimmed down' version of your project. (.zipped and in Flash 8 format) so I can see what your doing? are you manually triggering the component? or do you have it set to automatic?
you are using AS2...correct?
I carnt really post any version of my project -- its too big, and needs so many smaller swfs to work. :(
Yes, im using as2.
When i say the text dosnt show up -- its right from the start when the project is all loaded at the beginning. If the text shows when the component is first called -- it's there everytime it's called.
If the text is missing when it's called the first time -- it's missing everytime it's called, until the url is "refreshed", and it just appears to be random. Just depending on how flash is loading the swf. :(
My preloader is like this:
(LDR is the ezPreloader)Code:this.onEnterFrame = function() {
percent = int(getBytesLoaded()/getBytesTotal()*100)+"%";
if (getBytesLoaded() == getBytesTotal()) {
delete this.onEnterFrame;
trace("Stage loaded")
_root.ldr.startLoad("app.swf","_root");
}
}
Now, that preloader works fine -- the numbers show everytime.
The app.swf also contains a ezPreloader. - and this one loads many more swfs into the project. This is the ezPreloader which is hit or miss if the text shows or not.
All the other swfs which are loaded inside - one of them also contains a ezPreloader, and that also works spot on each time.
If there was just a way to get the text back into the ezPreloader - it would be great. As the loading / hiding / reapearing is working fine. just not the text everytime.
Sorry to mess up your thread whispers -- i know this was for your component, and its making a mess. You can delete this posts if you like after :)
hmm...sorry without having something to play with..its hard to hard to tell/debug since there really isnt any pattern to the problem..
are you testing locally? or live?
maybe loading from cache? is causing some problem??
maybe its because you loading things into _root? (ie: replacing _level0)??
and everything else you are loading is into a 'target'?
worth a shot I guess.. make another .swf that loads something into _root and see if the 'bug' appears again...
in this thread I think i posted a workaround for loading into a _level.. might work for you ?
If i run the code locally -- the text shows up every time.
When its run on a server -- its hit or miss. It has to have somthing to do with the order flash is loading it.
I think i've narrowed it down to a linked/shared libary.
One of the swfs is a shared libary with the main app -- and the linked libary contains a copy of ezPreloader -- i wonder if somehow the two are getting mixed up and overwriting part of it?
I'll post back when i do more testing - but im 90% sure it has somthing to do with this.
Cheers!
I have never used a linked library in my life..sorry.. :)
hope it all works out for ya though..