Skip to main content
Participant
July 4, 2007
Question

How to control the native browser scroller with Flash?

  • July 4, 2007
  • 3 replies
  • 245 views
Hi, I'm working on a Flash site. The site is quite long and doesn't fit the page vertically so automatically, the browser but its usual vertical scroller to be able to scroll down the page.

In HTML, you can put some "back to the top" links to go back to the top of the page. Is it possible to do the same in Flash?

I have an example here: www.cubamoon.com. It's an entire Flash site. When you are down in the page, you can click on the arrows to go back up. Look at the browser scroller, it goes up!

If anyone has a suggestion how it's done...

Thanks!
This topic has been closed for replies.

3 replies

kglad
Community Expert
Community Expert
July 4, 2007
use the externalinterface class in flash to communicate with javascript and use javascript to control the browser's scrolling.
ced--cedAuthor
Participant
July 4, 2007
Thanks for this. However it's not what I am looking for. This example is to create a full-window flash movie. What I'm trying to do is in the Flash movie, creating some buttons that will scroll the page back to the top. Like on www.cubamoon.com.
July 4, 2007