Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Masks can only be PIXI.Graphics or PIXI.Sprite objects. #71

Open
kburke3 opened this issue Dec 18, 2017 · 2 comments
Open

Warning: Masks can only be PIXI.Graphics or PIXI.Sprite objects. #71

kburke3 opened this issue Dec 18, 2017 · 2 comments

Comments

@kburke3
Copy link

kburke3 commented Dec 18, 2017

Masks are not working for me. I am publishing mask-nested-tween.fla and mask-movieclip.fla from pixi-animate-master/tests/renders/assets/_fla. Any ideas on how I can get this working?

Thank you!

screen shot 2017-12-18 at 1 09 27 pm

@kburke3
Copy link
Author

kburke3 commented Dec 18, 2017

Hi,
I just found this bug. Is it still the case?
pixijs/animate-extension#13

@dmitrymailk
Copy link

pixi.js - v4.8.9
I had same issue. I'd solved it just add
Before
var instance3 = new lib.Symbol_1().setMask(instance2);
After
var instance3 = new lib.Symbol_1().setMask(instance2.children[0]);

instance2 hasn't instance
instance2.children[0] has instance Graphics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants