What's my scroll position?

This is kinda about ‘computers’, ‘flash’, ‘scripting’, ‘random’, etc… so I plop it here! :wink:

Is there a way for an object or for a script to determine whether or not it has been scrolled off the page or when it has been scrolled into the page?

I’ll give a swf example on this forum:

Say my footer has a swf movie. As you surf a thread here’s what happens: When it scrolls into view it auto plays a certain part, then you scroll down and dont see it. Later you scroll it back into the screen and it resets and plays the same certain part again.

It could also apply to a HTML based pic that gets swapped by a Java script everytime you scroll it out of view.

Is this possible?

Thanks!

Peace