Well my portfolio is being done from time to time with some animations from 3d max. I knew it would have to be optimized in the future because of that animations, but yesterday i realized that it was running too slow after publishing some test swf files onto my host.
I have the terrible habit of overusing the timeline also. This site is being modularized by the loadmovieNum technique.
The heaviest swf file is 4MB!! LOL! after compression it is 900Kb but that's not enough because i'm sure i didn't respected the basics in terms of site construction.
But the problem is that, even if i remove the heavy animation from the file, the file gets 40Kb and when i upload it, it remains slow AGAIN. What's causing this? Here's an example (the bio section) but with a file of 150Kb so you can see (click on ENTRAR). Forget the jaggy background cus it is just a guideline from the container as well as the intro html page.
Do i have to "break" the site even more? Is that going to improve it's speed? By using the loadmovieNum?
Thanks in advance because i'm starting to become desperate!
ps. The files are exported in 60FPS, flash 8, AS2.0.
Though as I checked your bio section I think the first file could be under 1k and then the second 20k enough. I could only guess whether you have cleaned all useless assets from library.
When i view it in my computer it runs smooth as supposed to in 60fps. The problem is that when i publish it, whether it has 40Kb or 900Kb it runs slow comparing with what it was supposed to.
It appears that the frame rate changes to around 40fps. Just runs slow and not with the flowness that i wanted to.
This test file that i put so that you could see it, not even it is published in my host. This .swf file is exactly 173Kb.
Yes, i do. The main swf has the loadmovie parameter to load the others. All files are exported to 60FPS. But again, when published they really slow down and that aggravates me...
At first i would thought that it was because the files were heavy, but when i published a 40Kb version of the same, the results were the same...slow...
Ok.. it is only fast as hell when i run this in the flashplayer.exe
or in my authoring environment, as soon, as i watch the swf in
my browser it gets this slowdown.
Must be one of these performance issues with the players for the browsers.
And i tested both FireFox and IE players...
Oh..
It is quite simple:
- put the ShowFPS.as into the directory of your fla file,
- add the following lines to your fla:
PHP Code:
import ShowFPS;
new ShowFPS(_root);
What the ShowFPS will do, is get the next free depth in _root, and
put a small mc in there.. so you'd better put those 2 lines at the end
of your code to make sure, the layer the fps shows up is not beeing
overwritten.
alternativly you could put it like this:
PHP Code:
import ShowFPS;
_root.createEmptyMovieClip("fps",34454);
new ShowFPS(fps_mc);
to make sure, you'll get a layer (34454 i.E.) which
isn't used
Yes, Flash Player is faster than the IE plugin. This is news to you? IE has always been a bit slower. Now it is ALOT slower. Netscape plugin is a little faster than IE's.
Your movie filesize has nothing to do with it. It's the dimensions that do. For example, Flash can draw a 400x400 window much faster than a 800x800 window.
Your site takes up the entire page, so you're gonna have slowdown no matter what.