Hi all, The preloading of the app' I'm working on is not working properly when classes are exported on first frame. This is because they are large enough to have a significant effect on the loading of the .swf as a whole (yes, they can and should be optimised, if only I had that luxury!). More specifically, the application works fine when tested locally but sometimes doesn't initialise correctly in the live environment.
If I set the classes to export in frame 2 and move all code currently in frame 1 onto frame 2, the application initialises correctly when I test locally using 'Simulate Download' but does not initialise fully when I just use a standard 'Test Movie' (I haven't tested it live yet). I can see that some things are initialising correctly but some views, apparently those using V2 components, are not initialising at all. The output window reports no errors. So, I find myself in a situation where all indications are that the preloading is working as I'd like it but i can no longer conveniently test the app locally (without using 'Simulate Download' I mean)! Can anyone suggest what is causing this? I could start delving into the internals of the app and try to work out what isn't initialising and why but I thought I'd check if there is a more obvious answer first. Other specifics to note are: - I have used V2 components extensively (might they be causing this?) - I have turned off 'export in first frame' on ALL linked assets and have dumped them in a movie clip which is placed on a later frame on the main timeline - this ensures the preloader loads first and this all seems to work fine. - I'm positive everything has loaded because the app is not instantiated until I press a button (included for testing) and still doesn't work even if wait a while before instantiating the app. - there are 2 components, Slider and EnhancedDataGrid, which are not part of the standard compenent library and which I've had to set to export on first frame because the app fails to compile of I don't! Could this be something to do with it? TIA Adrian P _______________________________________________ Flashcoders@chattyfig.figleaf.com 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