Avatar of ttist25
ttist25

asked on 

Set Z Order of Movie Clips

Hey guys,

I have a Flash movie that is a map of the US.  I've created movie clips for several of the states and placed them in layers on my main timeline.  

As the movie plays, each of the state movieclips are highlighted in succession by increasing in size and then going back to normal size.

The trouble is that when the states grow, they aren't always in front of the other states.

I've tried using swapDepth but the only examples I can find use on (release) which wont work for this application.  

How can I use actionscript to bring the state movieclips to the front when they are growing?

Hope that makes sense!

Thanks in advance.

Adobe Flash

Avatar of undefined
Last Comment
ttist25

8/22/2022 - Mon