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.
kadinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kadinAuthor Commented:
Thanks for your help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Flex

From novice to tech pro — start learning today.

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.