Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-27-2007, 03:30 PM   #1
Registered User
Join Date: Nov 2005
Location: vancouver
Posts: 26
Default anchor tag emulation in flash

Hi, Im trying to emulate the functionality of anchor tags within a scrolling mc in flash. Does anyone know what the formula is for calculating the percentage the scrollbar would have to move to to make a certain item at a certain ypos within the scrollpane move to the top of the screen? (Basically, how one would calculate the same thing that clicking an anchor tag does in html)

Im not using the scrollpane component, but for the sake of discussion, lets say I am.

any help on this would be greatly appreciated.
muchogrande is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash 8 player bug? cleoleeps ActionScript 2.0 3 02-26-2006 05:58 PM
Flash Number type and c# float and decimal types. Convertion problem within Flash. maglez ActionScript 2.0 2 06-02-2005 05:14 PM
[Q] Do we need those forums??? CyanBlue General Chat 59 07-27-2004 11:13 AM
Bar Code Readers, PDQs and Flash and ColdFusion niklas ActionScript 1.0 (and below) 5 04-09-2003 05:32 PM

All times are GMT. The time now is 02:38 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.