A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: non-caching template-loaded movie

Hybrid View

  1. #1
    Junior Member
    Join Date
    Dec 2000
    Posts
    22
    Hello,

    We have some difficulties regarding caching movies within a template using ASP Flash Turbine 5.

    Here's the situation: We have an ASP-page, in which we load a Turbine template. Within the Turbine template, we load an external .swf.

    What we want is following: We want to cache the ASP page and the template. What we DON'T want to cache is the external loaded .swf.

    Anyone has an idea how to manage this (not caching the .swf)?
    Thx

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Posts
    827
    I think the problem is that since the loadMovie for external.swf is done using the browser, it could be caching this movie, not actually doing the request. If this is so, you'll be able to prove it by navigating to other location, clearing the browser's cache, and on the next load it should bring the most recent "external.swf".
    If this is the case, a solution could be to serve the external.swf movie through an ASP script or other scripting and setting Response.Expires=-1
    Maybe another solution would be to request external.swf with a random query string, created on Action Script, like loading:
    external.swf?id=156567
    external.swf?id=191980

    If the id= numbers are random, this should trick the cache.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center