all groups > flash actionscript > december 2005 >
You're in the

flash actionscript

group:

How to go to top of page?


Re: How to go to top of page? Gabriel Viteri
12/7/2005 5:49:22 PM
flash actionscript:
In the html you have to put a layer with a named anchor:
<div id="Layer1" style="top:500px; left:50px"><a name="anchor_1"
id="anchor_1"></a></div>
and in the link put:
"mypage.html#anchor_1"


How to go to top of page? Ace_25
12/7/2005 9:47:34 PM
When I "switch pages" (gotoAndStop at new keyframe) can I make the Flash movie
jump to the top of the page (Y position = 0)? My movie is 1100 pixels tall so
it requires some scrolling, when I switch pages it stays in the same y position
instead of jumping back up to the top (like an HTML page).

Thank you!!

Re: How to go to top of page? sly one
12/7/2005 11:02:37 PM
The only way I know of to move the browser back to the top of your page is by
using an HTML link: http://www.pageresource.com/html/link2.htm

You would have to call it via Javascript within Flash I suppose.

Re: How to go to top of page? Ace_25
12/7/2005 11:21:48 PM
AddThis Social Bookmark Button