From: Valentin Schmidt <[email protected]> To: Flash Coders List <[email protected]> Sent: Tue, March 9, 2010 3:28:52 PM Subject: Re: [Flashcoders] Re: swf doesn't work the same online
<quote> first, your emails are a bit hard to read, I'd suggest to quote correctly (see e.g. http://mailformat.dan.info/quoting/), or better, use an email client that takes care of correct quoting (and configure it accordingly). </quote> I don't see that yahoo affords me the opportunity to do other than I have done above. Bummer ;( <quote> second, I have the impression that this thread could go on forever without getting anywhere. Maybe it would be a good idea to do a fresh start, and this time first create a clear conception of what you want to achieve (in each function), e.g. by describing it in plain english, before writing your actual code? </quote> OK. I have: 1) Created a "preloader" which preloads two graphics, one of which is rather large. 2) These graphics, in turn, are used as assets in two swf files. 3) The first of these swf files is displayed only when the visitor visits the home page. 4) BOTH of these swf files are scripted into a template that is used for all pages. The first of them displays "over" the second (when it's the home page) and then is removed using css. This is why I can't have a traditional preloader page: I need to preserve those assets and not have them re-loaded whenever the splash page disappears and reveals the regular page with the second swf as an element within the html page that is generated from the template. Now, the problem is that, for some reason, the "preloader" always, without fail, loads the graphics. It never seems to check if these graphics were cached, even though they were in fact cached in the browser. I wonder if the reason it doesn't check could be because I don't add the graphics to the stage (addChild), since I don't want them to appear on stage. <quote> but if you don't want to this, maybe you could extract the problematic part into a simple demo movie and put the FLA online, so anyone interested can download and fix the code? I think that makes more sense than posting longe code extracts here which then even aren't your actual code. </quote> I don't believe that would help. All you'll see is: 1) a counter showing how much is loaded, then; 2) a splash page, finally; 3) the template In other words, exactly what I've already described. I hope I've clarified the problem. Thanks, John. just my 2 cts. cheers, valentin _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

