• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 528
  • Last Modified:

what can cause a flash page to take 30 sec. to display?

I am using Flash Builder 4.6 to create flex 4 and ActionScript 3.0. This process creates a number of files for one webpage.

history folder
upload.html
upload.swf
framework_4.6.0.23201.swf
mx_4.6.0.23201.swf
playerProductInstall.swf
rpc_4.6.0.23201.swf
spark_4.6.0.23201.swf
sparkskins_4.6.0.23201.swf
swfobject.js
textLayout_2.0.0.232.swf

When my firefox browser first loads a page that has a flash upload form I created, the page shows a load bar for 30 seconds before the page displays the form. Every visit to the page after that displays the form near instantly.

When I visit other websites for the first time that have flash content, the pages don't take 30 seconds.

What could be the cause of this? Thanks.
0
kadin
Asked:
kadin
1 Solution
 
quizengineCommented:
Flash is good at caching.

The first time you visit a page that has Flash content on, the page has to load the whole Flash movie. Any subsequent visits to the same page your browser can load the swf (flash content) from your cache (local copy from your hard drive).

If 'pagea' takes 5 secs to load the first time it is visited, and 'pageb' takes 30 secs to load the first time it is visited, then that's because the *filesize* of the swf in pageb is 6x larger than the swf at pagea.

If you want your swf to load faster, then it needs to be optimised (or optimized if you are in the US). How that file needs to be optimised is a whole other question...
0
 
kadinAuthor Commented:
Thanks for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now