On the main page just have an object/embed call with the SWF loaded in at 1
pixels by one pixel. 

-----Original Message-----
From: Dave Phillips [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2008 12:08 PM
To: CF-Talk
Subject: (ot) How do you preload a SWF file?

Hey folks - this is OT but I know someone on this list will know the answer:

I need to 'pre-load' a SWF file prior to it ever being launched with a
click.   I have done some googling and it appears it can be done, but I'm
just wondering if someone here has done it below.   Here is the scenario:

We have a Flex app with a fairly good size footprint.  When a user hits the
main page of our website, they get our HTML page with graphics, etc.  There
are multiple ways for them to click to launch the Flex App.  When they click
one of the links/graphics to launch the app, they then have to wait for the
app to load completely before they can navigate it.  

What we want to be able to do is for those users who come to our main page
and start reading information there, we want the app to be loading in the
background without them being aware of it.  If they read long enough for the
app to load, then, when they click one of the links/graphics to launch the
app, it will come up very quickly because it's already in the browser cache.

1) Can you confirm this is possible and
2) Do you have any sample code or a reference that I can use to go by?

Thanks!

Dave Phillips




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311788
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to