Re: problem with anchor events, please help!!



On 2005-12-31, elibol@xxxxxxxxx <elibol@xxxxxxxxx> wrote:
> Hi Randy,
>
> I apologize for the mistake when replying, are there consequences to
> the way I replied?

there can be... it's generally a good idea to quote a little of the mesage
you are replying to so that readers can see immediately what you are
replying to. also replying in context can save you typing

> I'm building a tool that will allow actionscript developers to use the
> browsers forward and back button to trigger events by using the url
> hash as the distinguishing identifier. Using the hash will also allow
> for bookmarking, so that when a flash page is revisited, or linked, the
> actual content that the end user is attempting to share may be directly
> visited.

if you're only interested in where they are currently periodicaly checking
location.hash will give that information.

> I was hoping there was a way for me to trigger a function call when the
> url hash changes, but if that's not possible, given the problem, can
> you, or anyone else for that matter, think of a solution to this
> problem?

I just tried watch()ing location.hash and it didn't work... so ignore that
part of me previous post.

> I don't like the idea of having to continually check the url, it is a
> terrible work around.

yes, but it works, and doesn't consume a great amount of their processor's
power


Bye.
Jasen
.


Quantcast