Solved

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

Posted on 2012-04-12
2
471 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
[X]
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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
While it may be true that the internet is a place of possibilities, it is also a hostile environment lurking with many dangers. By clicking on the wrong link, trusting the wrong person or using a weak password, you are virtually inviting hackers to …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

763 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