Jump to content
Search Community

Need Help in Throwporps Plugin with Blitmask

Kirtan Patel
Moderator Tag

Recommended Posts

Kirtan Patel
Posted

I Implemented throwprops functionality as described on site with use of blitmask. same exact example shown on the site.

 

now My problem is i want to prevent clicking items . when Scrolling is running.

 

Here is my senario.

 

I have A Sprite container.

 

MainContainer.

addChild(itemPenel)

 

I add Item Panel as Child to MainContainer and Applying Scroll functionality to it with code described on the site using ThrowPorps Plugin.

 

item penel have following structure.

 

ItemPanel ( item Panel Contain Child Items )

  • --Item1
  • --Item2
  • --item3
  • --Item4

problem is when I scroll and when scroll is running I want that user is able to speed up the Scroll process by Accelerate it using drag but i dont want that he clicks any of item in the Item Panel.

 

Also when I want to scroll by flick on Item ItemPenel should scroll but item should not be clicked its bugging me from lot of days :)

 

Thanks.

Posted

You should be able to add a "MOUSE_DOWN" (or touch-related) event listener to the BlitMask instance itself which will be triggered regardless of whether it is in bitmapMode or not.

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...