So with bmm2.swf?t="+new Date().getTime() you are ensuring that the user
will get a new swf per view of the page. This is working correctly (I can
see the swf being called on page refresh / new page address)

I think there might be a logic error in your swf code on the page setting.

I get the same error in FF when I change from mypage=8 to mypage=20, so it
is not a IE issue. If all you are trying to do is ensure the swf goes to the
right page, you should not need to cache-bust the swf anyway.

Perhaps you are not waiting until the config.xml has done all its loading /
parsing (making a jump to a specific page possible)

If you are sure the logic to go to a page is 100% working, you might need to
cache-bust the XML ( http://tempwebdev.com/mag/config.xml ) within the swf
itself (using the same getTime() call to cache-bust as above)


Aran




-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Brian
Sent: Monday, 16 February 2009 2:51 PM
To: SWFObject
Subject: cache issue with variables read in from url


I am having trouble with a simple cache issue.

This is my embed html code:

<script type="text/javascript">
                // <![CDATA[
                var so = new SWFObject("bmm2.swf?t="+new Date().getTime(),
"bmm13",
"1000", "730", "7");
                so.addVariable("mypage", getQueryParamValue("mypage"));
                so.write("flashcontent");
                // ]]>
</script>

This should stop caching, but if I use this url:
http://tempwebdev.com/mag/index-new.html?mypage=8

It will work once.

If I change the mypage variable to 20, the page won't turn.  E.g
http://tempwebdev.com/mag/index-new.html?mypage=20

Does anyone know how you could fix this?

Brian.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to