Flash problems.

  • Shimano
  • Banned
  • Banned
  • Shimano
  • Posts: 4

Post 3+ Months Ago

My flash site loads so f.... long. And when it's done it's steel works realy slow what can be the problem? And how can i improve my flash loading speed?

P.S. The site doesn't contain some hard graphics. Maybe it's host?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • voycieh
  • Novice
  • Novice
  • User avatar
  • Posts: 24
  • Loc: Poland, Warsaw

Post 3+ Months Ago

Do You have preloader on this site?

If You have... Maybe tere is something wrong with action scropt in it...
Don't use ifFrameLoaded function, because it doesn't work well...

Try with this one...

onClipEvent (enterFrame){

mctotal = _root.getBytesTotal();
mcloaded = _root.getBytesLoaded();

mcpercent = Math.round((mcloaded / mctotal) * 100);
sto = mcpercent + "%" ;

progress_mc._xscale = mcpercent;

if (mcpercent == 100) {
_root.play(1);

}
}
"sto" - variable name of text field to display the %%%
"progress_mc" - is the instance name of the loader stripe...
set it's width to 100 and scale to 1% width.... for start.

Another possible reason... the photos on your site weight to much... You should optymalize the photos or graphic in PS or Fireworks... use jpg for photos and png if You need transparency...

If it is dynamic site, everything is in motion... don't do de animations frame by frame... use motion tween...

Default frame rate is 12... make it 24...

Try to use the some elements from the flash library in different configurations... for example... if You have an arrow in your library and You need to build a square... put two arrows together and create the new mc.

When You build the gallery... don't import the thumbnails... use mask property and scale the photos (but only 50%)

Have fun

Marcin
  • evil_cockroach
  • Born
  • Born
  • evil_cockroach
  • Posts: 1

Post 3+ Months Ago

greeting, may i ask you a question about the script you provide?

onClipEvent (enterFrame){

mctotal = _root.getBytesTotal();
mcloaded = _root.getBytesLoaded();

mcpercent = Math.round((mcloaded / mctotal) * 100);
sto = mcpercent + "%" ;

progress_mc._xscale = mcpercent;

if (mcpercent == 100) {
_root.play(1);

}
}
"sto" - variable name of text field to display the %%%
"progress_mc" - is the instance name of the loader stripe...
set it's width to 100 and scale to 1% width.... for start.




can you tell me how or where i have to place the script to?

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 5 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.