Share Posted June 23, 2013 i use ThrowPropsPlugin and blitmask , and its wow scrollview for my background but it disabled every listeners and every movieClips animation inside the background movieClip i dont know why ? this line of code which disable every thing .. blitMask = new BlitMask( mcBg, bounds.x, bounds.y, bounds.width, bounds.height, false); please help me , i need the smooth blitmask scroll , and also i need the children inside the background -mcBg- to work . Link to comment Share on other sites More sharing options...
Share Posted June 23, 2013 Hi and welcome to the GreenSock forums. I think you might be missing a key component to how BlitMask works. When a BlitMask is created, the target DisplayObject (in your case mcBg) is swapped for a bitmap. BlitMask literally takes a snapshot of the target and only displays the pixels within the bounds that you have set. You can set bitmapMode = false to regain interactivity. Typically folks will turn bitmapMode on as soon as a scrolling animation starts and then set it to false when the animation is finished. The docs go to great lengths to describe these concepts: http://api.greensock.com/as/com/greensock/BlitMask.html Link to comment Share on other sites More sharing options...
Author Share Posted June 24, 2013 Thank you very much .. 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