Archive for June, 2008

06
Jun

SWFAddress and a tip

Working on a revamp of a website, I decided to try out SWFAddress to make the back button work instead of a hand-rolled solution…

I managed to get this up and running really quickly, which was nice, but then I spent 2 hours working out why it no longer worked when I integrated the SWFAddress into the site…

The Flash bit worked okay - change something and the address bar got updated, but the back button never worked - or did not send any events back to Flash.

2 Hours later, after stripping my code back, I found the problem:

If you are using SWFObject, the javascript for this needs to be included before the SWFAddress javascript. Doh!

Apart from that small hiccup, it’s nice and fairly simple to use…




About

I am a web-monkey / computer junky living in Cornwall and occasionally I tear myself away from my computer to go bodyboarding and playing in some of the beautiful places near my home. I love doing Flash and ActionScript stuff and feel that there needs to be more of this going on around here, so someday, if I have time, I may get my goddamn user group started. I may occasionally make controversial comments here about work, life and such, but this is essentially a diary and we still have the laws for a free press. Feel free to go somewhere else if you don't like it, or maybe comment if I dare turn them on. If you are: * my Gran, then sorry for swearing * my Mum, stop reading my diary dammit * everyone else, then get out more
Adobe, MAKE SOME NOISE