开发者

Animate resize and move on group and children of group

I have a Spark Group with an image inside and a label control.

<s:Group><开发者_如何学Python;mx:Image source="..."/><s:Label text="Hello!"/></s:Group>

The image is that of a speech bubble. I want to make the effect of it growing from bottom-right to full size.

How can I do this and make it that resizing the Group will also resize the children?

Thank you.


Group is Sprite, so it has scaleX and scaleY properties. Try setting these, but I don't guarantee anything (UI containers may control their scale coefficients).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜