在Flash布局管理器?管理器、布局、Flash

2023-09-08 13:43:12 作者:相关高冷的昵称推荐>>

我有点新的闪烁,我只是不能找到一个很好的方法来控制,我添加到容器中的影片剪辑元件的位置。

I'm kind of new to flash and i just can't find a nice way to control the position of the elements that i add to a container movie clip.

我做什么的addChild我的目标容器影片剪辑和控制 在x,根据总的宽度和总高度的儿童的y值 所有其他的孩子在容器中。太可怕了。

What i do is addChild to my target container Movie Clip and the control the x,y values of the child depending on the total width and total height of all other children in the container. Awful.

你能为我提供了一些diretions。

Could you provide me with some diretions.

推荐答案

您可以使用这些类,简单易用,非常有帮助:

You can use those classes, easy to use, very helpfull :

http://www.greensock.com/liquidstage/ http://www.greensock.com/autofitarea/

http://www.greensock.com/liquidstage/ http://www.greensock.com/autofitarea/