Donate SIGN UP

Action Script - bring symbol to front

Avatar Image
dodd_tim | 15:50 Wed 20th Jul 2005 | Technology
1 Answers

I'm looking for some action script to work with symbols in Flash...I need to be able to bring a symbol to the front (i.e. on top of all other objects) when it is clicked or when is passes through a certain key frame.

Any ideas? thanks.

Gravatar

Answers

Only 1 answerrss feed

Best Answer

No best answer has yet been selected by dodd_tim. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
By default, the Z-order of symbols is the same as the layers in your timeline.  To change the order dynamically I'd recommend converting the symbol to a movie, then use the swapdepth method to control the Z-order (look up the syntax in the help).

Only 1 answerrss feed

Do you know the answer?

Action Script - bring symbol to front

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.