Hi !
I’ve got a script that launches a random animation for my characters every x seconds.
There are two sorts of those animations :
-“simple” animations; like “random3” on this timeline.
-“splitted” animations (works in two times); like “random2” on this timeline.
When we play a “splitted” animation (random2); we STOP the reading at the middle.
When the script plays a new animation, I have to check if the previously played animation was a splitted one.
My idea was to use “IN” & “OUT” labels for splitted animations.
I would need to retrieve the current labelS and check if “IN” is contained in them.
If I find a IN label; then we would just use play() to finish reading this animation rather than playing a new one.
The problem is that I cannot find a way to retrieve all the frame labels.
mc.currentLabels returns all the labels of the timeline, when mc.currentLabel returns just one single label, not the labels from every layer.
Is there a way to retrieve them ?
Any idea ?
Thanks !