defmars
10-15-2006, 09:06 PM
Been around the web, haven't found the answer, so this is my last shot, I don't expect much, but who knows, maybe someone does have the answer.
I connected my flash movie to a javascript that update the page url, i.e
www.mysite.com/#id=32 becomes www.mysite.com/#id=33. I have a javascript function that send the #id to my flash movie, but my problem, there's no way to tell my javascript when to send the function.
I naively believed that DOM would have an intrisic way ( like a keyboard event ) to capture URL change, but apparently not.
Does anybody know how to capture URL change w/o using server-side script ?
It's so stupid, you'd think something like this would be ubiquitous ... what a joke.
I connected my flash movie to a javascript that update the page url, i.e
www.mysite.com/#id=32 becomes www.mysite.com/#id=33. I have a javascript function that send the #id to my flash movie, but my problem, there's no way to tell my javascript when to send the function.
I naively believed that DOM would have an intrisic way ( like a keyboard event ) to capture URL change, but apparently not.
Does anybody know how to capture URL change w/o using server-side script ?
It's so stupid, you'd think something like this would be ubiquitous ... what a joke.