Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2012-04-12
2
464 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

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…
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
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…

856 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