Animate CC Canvas : changing position of labels layer makes labels not working
Hi everybody,
This issue looks like a bug to me - but even if not completely new, I do not have so much experience with Animate CC, so I request your opinion or explanation.
The situation is very simple :
- I put en instance of a movieclip on my stage. This mc is used as a button,
- it has 3 frames which display the object (a menu icon) in different colors,
- and 3 layers which are from top to bottom : Actions, Labels and Img.
- The labels are "off", "hover" and "on" : obviously related to mouse pointer's relative position.
- The code implements the button's behavior : some EventListeners with gotoAndStop(label) here and there.
- When I move the labels' layer to the bottom position labels are not working.
I checked the code with gotoAndStop(frameNumber) : it works perfectly . The labels will work too in this configuration... but I prefer labels' layer at the bottom of layers in my timeline. So, why not move it, Animate is not supposed to care about it ! Unfortunately it looks like it does : the labels are not taken into account any longer and currentFrame returns a correct frame number but currentLabel returns null. If I move the layer back to its initial position, everything is OK again !
And on my main timeline labels are at the bottom and there's no problem. (I won't try to move it to another place !)
It's not that much annoying, but I like to understand. Do you think it's a bug or did I make a mistake somewhere ?
