A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: cache : flashvars vs querystring

  1. #1

    cache : flashvars vs querystring

    Hey..i was wondering..

    If i use querystring with a swf .. like www.mydomain/myflash.swf?message=hi , then a new flashfile will be downloadet (so not cahched).. if i use flashvars instead, will that let the browser use the cache of the swffile? so it wont be doenloaded over and over again?

  2. #2
    oke. i can answer that myself now.

    Quote Originally Posted by http://probertson.com/articles/2005/02/14/flash-databases-urlvars-flashvars/
    The next iteration: FlashVarsMacromedia recognized that the URL variables approach to loading data really isn’t acceptable, since it prevents browsers from using the cached copy of a .swf file. Consequently, with the release of Flash MX and the Flash Player version 6, they added support for a new construct known as FlashVars which can be used to accomplish the same task of passing in variables when a .swf file loads, but without the unwanted side effect of forcing the browser to download the .swf file again.

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