[SWFObject] [BUG?] Strange Caching issues

Sam Holland sam.holland at gmail.com
Mon Aug 21 12:44:31 PDT 2006


Wow. I feel stupid. That was it. Thanks a lot!


On 8/21/06, Geoff Stearns <geoff at deconcept.com> wrote:
> maybe you are trying to send it to a frame that hasn't loaded yet?
>
> are you waiting until the whole movie is loaded before telling it to
> jump to that frame?
>
>
>
>
> On Aug 21, 2006, at 2:57 PM, Sam Holland wrote:
>
> > I've had the same problem. Sometimes content loads, sometimes it
> > doesn't. I found that refreshing the page with javascript onLoad
> > solved the problem 99% of the time, but it's hacky and unprofessional.
> >
> > I've also been having what I think is a related problem passing
> > variables from the URL using addVariable and getQueryParamValue. I'm
> > trying to encode a location for deep linking in the URL, sort of like
> > this:
> >
> > http://www.example.com/index.html?page=2
> >
> > using getQueryParamValue it looks sort of like this:
> >
> > myFlashObject.addVariable("page", getQueryParamValue("page"));
> >
> > and in my Flash movie I have a switch statement in the first page that
> > looks like this:
> >
> > switch(page) {
> >     case "1":
> >         gotoAndStop(1);
> >         break;
> >     case "2":
> >         gotoAndStop(2);
> >         break;
> > etc...
> >     default:
> >         gotoAndStop(1);
> > }
> >
> > Safari, Firefox and Camino with player 9 on the Mac handle this
> > without a problem. Firefox for Windows also has no problem.
> >
> > IE 6 SP 2 and IE 7 beta 3 w player 9 on Windows will oddly only work
> > for the first few frames. Once I try linking to frame 5 or 6 in the
> > movie, it just stalls on the first frame and disables everything.
> >
> > I know this sounds like a Flash player problem and not something with
> > SWFObject, but I've already reinstalled the Flash Player 9 several
> > times, as well as IE 7 and IE 6. If it's a browser bug, it seems like
> > a very odd one to me. Could it be something with how IE handles
> > javascript? Has anyone else ever encountered this? I checked the
> > archives to no avail before sending this.
> >
> >
> > On 8/18/06, Mike Mountain <mike.mountain at ecmsys.co.uk> wrote:
> >>
> >>
> >>
> >>
> >> When running swfobject I'm experiencing strange caching issues on
> >> refresh/reload of the page - it's almost as if the flash doesn't
> >> reinitialise itself - so on the second load all the Stage sizes are
> >> interpreted incorrectly.
> >>
> >> I'v got around this by placing all the code a few frames on, but
> >> it had me
> >> puzzled for ages.
> >>
> >> I tested by just loading the swf as the URL and it worked as
> >> expected.
> >>
> >> Only tested this behaviour in IE.
> >>
> >> Cheers
> >>
> >> Mike
> >> _______________________________________________
> >> SWFObject mailing list
> >> SWFObject at lists.deconcept.com
> >> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> >>
> >>
> >>
> > _______________________________________________
> > SWFObject mailing list
> > SWFObject at lists.deconcept.com
> > http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>



More information about the Swfobject mailing list