Jump to content
Search Community

Panning a really big image up and down

DeltaFrog test
Moderator Tag

Recommended Posts

I'm sure there is a much better way to do this and before I try I wanted to see what your thoughts on it are. This works but I'm sure it it could be a bit smoother. Thanks. :oops:

 

function panUpFunc() {

TweenLite.to(panning_mc, 23, {y:-170, onComplete:panDownFunc});

}

 

function panDownFunc() {

TweenLite.to(panning_mc, 23, {y:20, onComplete:panUpFunc});

}

 

panUpFunc();

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...