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

Way to access all Graphics used in a Timeline layer? #77

Open
kburke3 opened this issue Jan 24, 2018 · 0 comments
Open

Way to access all Graphics used in a Timeline layer? #77

kburke3 opened this issue Jan 24, 2018 · 0 comments

Comments

@kburke3
Copy link

kburke3 commented Jan 24, 2018

Hi,
Currently I have a layer in my project that uses different graphics. I'd like to make changes to them dynamically. I could do something like this to affect a Graphic on the 3rd layer:

scene.stage.children[2].alpha = 0;

However, this would only affect the Graphic on the first frame, not the subsequent ones in the Timeline. I could convert the later Graphics to MovieClip instances and name them, but I'd like to keep them Graphics for the looping/single frame features. Is there a way for me to access all of the Graphic instances on a layer?

Thank you!

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

1 participant