如何设置图像的ActionScript中的深度? [英] How do I set the depth of images in ActionScript?
本文介绍了如何设置图像的ActionScript中的深度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何在ActionScript中设置不同的图像的深度?
How do I set the depth of different images in ActionScript?
推荐答案
如果你是指深度在图像的位置,这是父母的显示列表,结帐<一href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html#setChildIndex%28%29"相对=nofollow> setChildIndex()和 swapChildren()
的的DisplayObjectContainer
类的方法。
If you are referring depth as in the position of the image in it's parent's display list, checkout setChildIndex() and swapChildren()
methods of the DisplayObjectContainer
class.
这篇关于如何设置图像的ActionScript中的深度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文