Share Posted April 2, 2012 Hi, I'm trying to add a wipe transition to an image that is being panned with Blitmask, but as the height of the blitmask changes, the scrollY is also changed. Is there a way to do this, or should I come up with a different way to do the wipe? Here's my code: blit = new BlitMask(image, 0, 0, 1920, 1080, false, true); blit.y = 1080; blit.height = 0; blit.scrollY = 0; var t:Array = new Array(); t.push( new TweenMax(blit, 1, { y:0, height:1080, delay:startTime } ) ); t.push( new TweenMax(blit, 10, { scrollY:1, delay:startTime } ) ); t.push( new TweenMax(blit, 1, { height:0, delay:startTime + 8 } ) ); score = new TimelineMax(); score.appendMultiple(t); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now