On Fri, 25 Mar 2005 11:20:28 -0500, Joe Berkovitz <[EMAIL PROTECTED]> wrote:

> Basically, it would be really helpful to understand how to minimize
> overhead for repeatedly loading a movieclip from an external URL,
> because even if the URL's response bytes are cached by the browser,
> there's still some significant time that it takes to load the clips.

Have you seen the Google Maps demo?

http://www.flexauthority.com/Samples/gmap/gmap.mxml
http://manish.revise.org/archives/2005/02/12/no-more-xml-from-google-maps/

I'm reusing the same Image objects to display new portions of the map.
 It's still slow the first time an image is downloaded, but after that
it's fast.  I simply set the 'source' property of the Image object to
the new value.  See the code.

http://manish.revise.org/flash/flex/gmap.zip

_Reuse_, not duplicate, is the key.

Manish


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to