Solved

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

Posted on 2012-04-12
2
460 Views
Last Modified: 2012-04-12
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
Comment
Question by:kadin
2 Comments
 
LVL 19

Accepted Solution

by:
quizengine earned 500 total points
ID: 37840348
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
 

Author Closing Comment

by:kadin
ID: 37840395
Thanks for your help.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
FLEX 3 LineChart doubt 4 279
how to edit swc file 3 548
Flex (as3) add parameters to addEventListener 2 756
Adobe URL is default to local hosts in my Mac Air 13 539
First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
This tutorial shows how to create a greeting card by combining two image layers and a text layer on a PC using a free image editing app.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question