Skip to main content
sergiopop75
Inspiring
June 4, 2021
Question

Parent a layer inside a symbol with an external object.

  • June 4, 2021
  • 1 reply
  • 607 views

Is it possible to parent a layer that is inside a symbol, with another symbol that is in the main scene? For example for some pupils that are inside the eye symbol, control them from a controller in the main scene.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 4, 2021

layers don't exist once you publish, so you can't do anything with layers outside the ide (like control with code). 

 

otoh, there's no need for that.  you can always copy and paste a layer (or layers) into a movieclip timeline and, of course, movieclips are controllable outside the ide (eg, with code including reparenting).

 

 

sergiopop75
Inspiring
June 4, 2021

If it can be done with the movieclip, I am interested, because a pupil of one eye, does not have so many changes of pose, and if needed, it can be swapped symbol and without problems. Now it is how to make this script.

____2D vector animator since 2000 & PhD
kglad
Community Expert
Community Expert
June 4, 2021

what script?