Apache flex Flex深度属性不工作

Apache flex Flex深度属性不工作,apache-flex,Apache Flex,深度属性是否仅适用于火花组件?当我将其应用于非火花容器时,它不会改变任何东西 <mx:VBox height="100%" width="30" id="minimizeContainerLeft" clipContent="false"> </mx:VBox> 我在一个非容器上使用了depth,它工作了。我把它和图像一起使用。我将我想要的元素的深度设置为1,将其他元素的深度设置为0 container.getElementAt(oldValue).depth =

深度属性是否仅适用于火花组件?当我将其应用于非火花容器时,它不会改变任何东西

<mx:VBox height="100%" width="30" id="minimizeContainerLeft" clipContent="false">

</mx:VBox>

我在一个非容器上使用了depth,它工作了。我把它和图像一起使用。我将我想要的元素的深度设置为1,将其他元素的深度设置为0

 container.getElementAt(oldValue).depth = 0;
 oldValue = val;
 container.getElementAt(val).depth =  1;   
这样我把一个图像带到前面,另一个带到后面