Loading SWFs that import shared library items using a MovieClipLoader is also problematic. Are the SWFs that you are loading importing shared library items?
Scott On 8/23/06, Tony Fairfield <[EMAIL PROTECTED]> wrote:
Does anyone have any insights as to why onLoadInit (the movieClipLoader event) might fail in some instances? Background: I create programs for CD and web delivery. Programs simply consist of a menu system and a movie clip into which external swfs are loaded as the content. I preload this swf content using the movieLoader routine as described in Flash Help in order for page display to be seamless. I use onLoadInit in order to gather information about files for use in navigation once they are initialized and I also have the option to call a function to "start" the content. Problem: While testing, each swf loaded successfully triggers the onLoadComplete and then onLoadInit perfectly. However, when launching the projector or the generated swf, onLoadComplete is always successful but the onLoadInit event simply fails for the majority of the pages. For reasons I cannot understand, it will succeed for certain files - the same ones - only occasionally. I have noticed that page content seems to affect the onLoadInit, because pages with graphics were less likely to init. And as a test, I created substitute pages that were completely empty, about 2k each. The problem went away. Thanks to anyone who can help, even if only to inform me that onLoadInit is known to be unreliable. Tony Fairfield _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

