2009年9月3日 星期四

Flash Caching - use FlashVars to pass values

Don't pass parameters to flash by query string, change it as follows.

Passing parameters by query string will made the flash not cachable. Here's an sample:
Please change from

<param name="movie" value="a.swf?s=#NAV#">

to

<param name="movie" value="a.swf" >
<PARAM NAME=FlashVars VALUE="s=#NAV#" >

沒有留言:

張貼留言