|Jul 19, 2009, 02:27 PM||#1|
Flash newbie needs help with slow loading site
Hi all. I am new to Flash and web-site building in general and I have been learning while doing. Its fun, but frustrating. I really need some help, hope someone out there with Flash experience can give me some advice.
My problem is this: I built a Flash website, but it is painfully slow to load up (3-5 minutes via cable modem) when I visit the site (via Firefox, etc). Once it does load up, everything is fine with navigation. I'm having a hard time figuring out why its taking so long to load up on the web because, basically, I don't know how to trouble shoot. Hope you guys can help!
Details: the site is just a portfolio site with pictures and a few motion-things, no complicated animations. The swf file is about 9MB. I do have a flash preloader, but it doesn't show up until after the 3-5 minute "load-up" time. When I do the testing via Flash, its Ok and doesn't show the lag. But once I upload the website files and try to visit my website, the load time problem occurs.
- do I have to purge my Flash file/library of unused images before creating my swf file?
- Is there a problem with my html code in my index file?
- because it is a portfolio site, I've got about 90 images on it, each image about 300-400K. Is this too big, or about right?
Please help! Sorry for the long email, just desperate for help. Thanks in advance for any advise!!!! Just in case, here is the html code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="favicon.ico" rel="icon" />
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','800','heigh t','600','title','Acme Company','vspace','100','src','development files/company site_AS2_2008 OCT_final','loop','false','quality','high','plugin spage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgco lor','#000000','scale','exactfit','movie','develop ment files/company site_AS2_2008 OCT_final' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="800" height="600" vspace="100" title="Acme Company">
<param name="movie" value="development files/comapny site_AS2_2008 OCT_final.swf" />
<param name="quality" value="high" /><param name="BGCOLOR" value="#000000" /><param name="LOOP" value="false" /><param name="SCALE" value="exactfit" />
<embed src="development files/company site_AS2_2008 OCT_final.swf" width="800" height="600" vspace="100" loop="false" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000" scale="exactfit"></embed>
17" MacBook Pro, 2.4 GHz, 4GB RAM, 150 GB HD; G-Drive 320G Firewire HD; WD MyBook 1TB USB HD; 1st gen iPod Touch
|Jul 19, 2009, 03:48 PM||#2|
9MB is huge, I'm also starting to build my own website and learning on the way.
Most people on here are not keen on flash. I had an animation in flash that I was using but had to scrap it as it took too long to load. So I am now trying to learn code.
|Jul 19, 2009, 05:41 PM||#3|
Your website is called Acme Company?
Your images are way too big. You need to optimize them for the web! Depending on their dimensions, none of them should be over 100k (and that's pushing it)
If you have a lot of images, consider loading the separate sections when the user requests them, not all at the beginning. You just build separate flash files and have the main flash file load them in when the necessary.
My cat's breath smells like catfood.
|Jul 19, 2009, 08:41 PM||#4|
Take a good look at the loader class... this allows you to download images as the user requests them... you do not want the user to have to download all of your content before the site becomes visible...
no "site preloaders". Each image should have its own small preloader.
a loader can load images, or SWF files... this will allow you to separate up the downloads.
Note that due to a bug in FP9, images are not released from memory when you are done with them. For a site such as yours you want to target FP10 and use the unloadAndStop command.
|Jul 20, 2009, 02:45 AM||#5|
A few recommendations:
2.4ghz 24" iMac (Aluminum); 4GB RAM; 320GB HDD; 250GB external G-Drive; 10.6.3; Adobe CS3.
|Jul 20, 2009, 04:57 AM||#6|
Talk about diving in at the deep end. You're going to need some help if you're really new and want to follow snickelfritz's advice (which is what I would have recommended too).
Some tutorial sites that come to mind will help you grasp the concepts of accessing XML feeds from Flash are:
If you need help just ask. I'm sure there are a few Flash designers kicking around these forums....they just tend to keep a low profile.
"You didn't have a bad experience with tequila, you had an experience with bad tequila!" : tequilatown
Mac Pro: 2.93GHz Quad-Core, iMac 21.5":2.7 GHz Core i5, MacBook Air: 1.8GHz i5
|Jul 20, 2009, 06:45 PM||#7|
personally i dont like creating websites in flash. thats not to say that if dont discreetly they cant look good. if doing a flash one, i will always create it in html first and then 'copy' it to flash. flash is able to let you do things that would otherwise would be a pain, or impossible in html.
dont make a flash site turn into something that users get fed up of. if they have to wait a long time for the site to load, it needs to be very good.
imho i would only use flash for video content, or other multimedia such as games.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Newbie needs help with Xcode||usrg||Mac Applications and Mac App Store||18||Nov 24, 2009 04:06 AM|
|Newbie needs help with Canon HV20...||shuffle1||Digital Video||14||Feb 18, 2009 02:56 AM|
|Newbie, Need help with Iphone and Itunes Please||0gameon0||iPhone Tips, Help and Troubleshooting||1||Nov 25, 2007 02:14 AM|
|Newbie, need help with composition||chaoticbear||Digital Photography||8||Aug 27, 2007 02:34 PM|
|PB newbie needs help with shopping list.||bopat||Buying Tips, Advice and Discussion (archive)||1||Mar 9, 2005 03:41 PM|
All times are GMT -5. The time now is 11:19 AM.