Works nice.  Good job!

JOR

Thanks - glad you like it!


Can  I have a peek at your code? :>


i don't mind sharing ... you can probably cook up more than a few ways to streamline my code. (If so, pass it back! :) But it'll have to wait until later tonight for me to grab the file from another machine.

If you wanna get a jump on it, yes - the clip moves around in a mask. The code looks at the ratio between the viewable area vs. the content, and the dragger vs. the scroll track. Once that conversion is done, you just reverse the y value and position the content.

Since the content is moving according to how the dragger moves in its track, i just limit the dragger so it doesn't go outside the track, and the content follows suit.

The hold-down-arrow-to-scroll is just a matter of setting a 1-second interval onPress that fires a function. When fired, the function asks is the user is still pressing the arrow button. If not, no biggie. If so, create a new interval that calls a funcMoveContent("up") (pseudocode) function every third of a second or so.


- Ryan Creighton



From: Kent Humphrey <[EMAIL PROTECTED]>
Reply-To: Flashcoders mailing list <[email protected]>
To: Flashcoders mailing list <[email protected]>
Subject: Re: [Flashcoders] scroll dynamic MC help
Date: Fri, 28 Oct 2005 17:36:19 +0100



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_________________________________________________________________
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new MSN Search! Check it out!

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to