Curious, is there a way for me to scroll the frame to a certain position? Say, if I'm 3000px from the top of the viewport and I wanted to animate a scroll on click to 0px.
Is your "frame" one layer or a group of layers? Either way, say your layer[s]' y-position is -3000 px (like you said), on a click event, animate that layer[s]' y position to 0. You'll probably want to play around with curve options to get the animation just right.
My "frame" is everything within the viewport. I have all of my layers ties to a super layer and animating that to 0 doesn't seem to work. What I am looking for is the equivalent of an anchor link from the bottom of the frame to the top. So, not animating layers but traversing them. I hope that makes sense :-)
Something like this?
I think so! I'm gonna try that out!
Faheem Patel Nice! I was going to suggest looping through the layers, give them a state, and looping through and setting the layers when applicable.
Did it work James? If I've understood correctly, this is what you're trying to do? http://cl.ly/0k2h0E050M37