Jump to content
Search Community

mjperry51

Members
  • Posts

    10
  • Joined

  • Last visited

mjperry51's Achievements

0

Reputation

  1. Guess that's what happens when I respond before my 2nd cup of coffee I can send you two links to the versions on our server if you want to see it in "full glory". As I said -- the non-LM version currently takes about two minutes to load over a 10MBs cable connection -- I'll make a change to see if I can reduce what''s being loaded to reduce the time. I didn't know if there were any tools that could monitor/report Flash Player processes -- doesn't sound like there are. I'll build up a stub that emulates my main swf and play with that. I did notice that the non-LM version requires more memory -- that's probably because the loaders stay loaded. I have been very careful to remove event listeners and restrict needed timers to one and done - found out about runaway timers early on!! If I find something I'll let you know -- sorry for my grumpiness. . . Mike
  2. Look -- I'm not here to call anyone's baby ugly. I did not (mean to ) imply causality; that LoaderMax was the cuplrit. I am describing a relationship. The problem occurs in a SWF that utilizes LoaderMax, while it does not in a non-LoaderMax SWF. I'll be the first to stipulate the the problem lies somewhere in my class code. I'm not a highly experienced AS3 coder as are many here. I don't have the background that allows me to intuitively sense a problem. My class code is certainly not elegant -- it utilizes OOP and encapsulation in bits and pieces, as I get more comfortable with the concepts and effective implementation. The problem is most likely of my own creation, since a search in the forum for 'Sluggish SWFs' and other related topics returned nothing. I did my best to find a solution before posting. To answer some of your questions: LoaderMax is not "active" when this occurs. The preloader Progress.COMPLETE eventListener has fired; and if I am using the files on our Web server I can see that the router is not active. Additionally the problem occurs on my machine (all files local) where there are no network bandwidth limitations. The main class is over 800 lines -- I'm not going to clog the forum with that code. If you can make any suggestions as to tools I might utilize to see exactly whats happening when the two different SWFs play I'm more than willing to solve my own problems. As a novice I could use a little guidance, if you're so inclined.
  3. I have two versions of a main class -- one uses LoaderMax and the other uses Flash loader variables. I have employed autoDispose to eliminate the LoaderMax instances when the all external swfs are loaded. The tweens in the LoaderMax version are sluggish, and take from 1.5 to 2 times as long to execute. The non-LoaderMax version tweens are snappy, and take less time. Any thoughts?? The items can be seen on a web site if needed -- obviously the non-LoaderMax version takes forever to load. Thanks, Mike
  4. I understand. Still learning how Flash does what it does -- so when galleryContent loads (called by LoaderMax) it also loads it's own children swfs. Thanks, Carl.
  5. I must be missing something -- please bear with me. One XMLLoader file follows: <?xml version="1.0" encoding="iso-8859-1"?> The Debug output using this file follows: Attempting to launch and connect to Player using URL D:\Incite\Incite Flash Site 2011\Site\main.swf [sWF] D:\Incite\Incite Flash Site 2011\Site\main.swf - 203674 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\stillCloud.swf - 21737 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeContent.swf - 26690 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\galleryContent.swf - 125569 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\brandRight.swf - 304625 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\packageRight.swf - 334058 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\collateralRight.swf - 103366 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\internetRight.swf - 43518 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\digitalRight.swf - 54626 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeRight.swf - 120194 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\newsRight.swf - 27859 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeRight.swf - 120194 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeRight.swf - 120194 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeRight.swf - 120194 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\presentationsContent.swf - 16634 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\contactContent.swf - 32368 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\presentationRight.swf - 95997 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\contactRight.swf - 94432 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\brandGallery.swf - 517128 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\packageGallery.swf - 1277178 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\collateralGallery.swf - 1274652 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\webGallery.swf - 426004 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\digitalGallery.swf - 558177 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\CSS_featured_gallery.swf - 972774 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\fischers_recent_gallery.swf - 690577 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\ltd_recent_gallery.swf - 447869 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\ltdNews.swf - 229701 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeContentUpperLeft.swf - 144817 bytes after decompression Notice the five files that load after galleryContent.swf. They are all listed in the second LoaderMax instance in the XML file -- if i understood correctly the second instance should have prevented them from loading. These five files are loaded in the galleryContent class. If I remove galleryContent,swf from the first LoaderMax instance in the XML file I get the following Debug output: Attempting to launch and connect to Player using URL D:\Incite\Incite Flash Site 2011\Site\main.swf [sWF] D:\Incite\Incite Flash Site 2011\Site\main.swf - 203675 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\stillCloud.swf - 21737 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeContent.swf - 26690 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\presentationsContent.swf - 16634 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\presentationRight.swf - 95997 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeRight.swf - 120194 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\newsRight.swf - 27859 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeRight.swf - 120194 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeRight.swf - 120194 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\homeRight.swf - 120194 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\contactContent.swf - 32368 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\brandGallery.swf - 517128 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\contactRight.swf - 94432 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\packageGallery.swf - 1277178 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\collateralGallery.swf - 1274652 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\webGallery.swf - 426004 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\digitalGallery.swf - 558177 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\CSS_featured_gallery.swf - 972774 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\fischers_recent_gallery.swf - 690577 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\ltd_recent_gallery.swf - 447869 bytes after decompression [sWF] D:\Incite\Incite Flash Site 2011\Site\ltdNews.swf - 229701 bytes after decompression The five files don't load. Be gentle -- what am I missing?? Is the Flash compiler (not LoaderMax) doing the loading of those files because they are in the galleryContent class? Thanks, Mike
  6. That's what I expected -- I was curious as to why when it was unloading the selected swfs. If I removed the autoDispose statement the [unloadSWF] didn't happen. Yes -- Kind of. Are you saying to create two LoaderMax instances in the XML file -- one listing the files I want loaded with load set to true, and another listing all the children I I don't want loaded with load unset, or set to false? I'm still learning AS in general; sometimes I don't get a good handle on exactly what the documentation is saying. It probably makes perfect sense to an experienced coder -- that's not me yet, but I'm learning Will do -- thanks for the explanation. . . Mike ETA: If autoDispose destroys the loaders, how can I be sure I have all the loader contents assigned to MovieClips before the loader instance is gone?
  7. Unloading the files stops my SWF cold. If I remove the autoDispose var the redundant files are not removed and the SWF runs normally, although sluggishly. There is no other LoaderMax code in any other class. And other than the homeRight.swf (which is being used for a placeholder) how can I stop the multiple loads of some of the swfs?? Can I limit the files being loaded to those listed in the XML file, or does LoaderMax by default load ALL swfs found in the classes? Thanks, Mike
  8. Carl - I found the real solution in a post of yours regarding casting ContentDisplay as a MovieClip. So you problem my solved -- just in another thread!! Thanks. . . Mike
  9. It was rather poorly phrased -- let me try again. I have an existing Flash Web Site in which I want to use LoaderMax. How should I name the loader in an external XMLLoader XML file so that it can be used by the main SWF? Do I use the same name as the loader var in the main swf? Example: I use a loader named ldrh in the main swf to load and reference homeContent.swf. In the XML file do I name the SWFLoader that loads homeContent.swf ldrh, and If I do will the swf content be available to the main swf into which it's loaded?? Better Question?? Thanks, Carl -- I'm still fairly new to AS, so it get's a little confusing sometimes. . .
  10. Do I need to declare the loader variables I assign in a LoaderMax XML file in the class that uses the loader variables? I have an XML file that assigns loader names; those loaders are used on the class which calls the XML file. Or does the "creation" of those loaders in the XML file make them available in the parent class? Thanks, Mike
×
×
  • Create New...