I am noticing that the Firefox 3 beta stuffs up my Flash websites that use SWFAddress.
It doesn’t actually break the official examples, so maybe I’m doing something wrong, but my sites work fine in Safari (and on FF2) and break with FF3.
Mike Chambers notes that there has been a new release of FF3 beta to fix KeyUp events. But, as noted in the comments, the SWFAddress bug is not fixed properly.




I’ve also run into an issue with FF3 and SWFAddress. It doesn’t break things entirely, I simply get a blinking effect every time the url is changed.
I’ve been trying to figure out if it’s simply SWFAddress or a mixture of SWFAddress and something else. For instance, the two sites having the issue also use Papervision.
I had the same problem. The problem was the combination of SWFAddress.setValue() and the dynamic change of “stage.quality”
tvwonline.net uses this and it works in FF3, Opera, and IE 6 and 7.
@Sean Yep, I have the same problem, i’m using SWFAddress and Papervision and I also get this get a blinking effect. Did you found a solution for this?
I’ve having the same exact blinking problem. Anyone have any luck with this?
We have the blinking problem as well. anyone found a solution?
gr, ben
Hey there Joshua, your blog seems to be one of the better ranked articles about this blinking effect - I’m experiencing it too. Have you or any of the other readers already found a solution?
Cheers // ep
Found a solution to my case over at Sean Musick’s blog. Introduce a tiny delay between any heavy calculations in your flash and the call to the SWFAddress’s javascript methods: http://seanmusick.com/blog.cfm?id=24
Cheers // ep
Inspired by Luis’ post I modified SWFAdress rather then putting the delay in Flash. Works fine for me and is easier to handle.
I changed
———-
this.setValue
———-
to
———-
this.setValue=function(_7e){if(_21.isFirefox()){setTimeout(”SWFAddress.setValueWithDelay(’”+_7e+”‘);”,500);}else{SWFAddress.setValueWithDelay(_7e)}};this.setValueWithDelay=function
———-
including a delay if Firefox is the browser.
It works for my project but it would be nice to hear if it also solves the problem for others.
Macm
Sorry, a little error in my previous post: you must replace
this.setValue=functionwith the following term.
Best regards
Macm
Macm - tried following your instructions but couldn’t get it to work? I’m using SWFAddress 2.1, SWFObject v2.1 with the static publishing method. Before making yoru alterations, it works on the PC with IE 6/7, but no deal in FF3… and then after your altercations it doesn’t seem to function in either browser :(
Dear Jaden,
maybe calling your function with a timeout in Flash
setTimeout(SWFAddress.setValue(),1000,”newAdress”);
should do the trick as well without modifying SWFAddress.
If this doesn’t help I could send you my modified version of SWFAddress.
Best regards
Macm
Thanks Macm. I ended up using an old version of SWFObject… couldnt waste any more time on it! Do you have a site that you’ve successfully run it on? I could just inspect and borrow the code if you’re okay with it… will save you any hassles.
Regards,
Jayden
Just follow the link my name points to and copy the swfaddress.js
Best regards
Macm
[...] some of our sites have been a little temperamental as we use swfaddress heavily in our production. This blog seems to be the place to solve this problem, but i had to fafe about getting the uncompressed [...]
Using Marcels trick above seems to cure the problem. (Except do not include the () in the setTimeout.)
setTimeout(SWFAddress.setValue, 1000, â€newAddressâ€);
I have also found that you can set the delay to as little as 5 and it still works (1 does not, however).
setTimeout(SWFAddress.setValue, 5, â€newAddressâ€);
Thanks for the help everyone. Cheers.