Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想按特定顺序在容器 MovieClip 中添加 MovieClip。(从左到右,从上到下)。
例如:在 flex 中,我有 Hbox、VBox、HGroup、VGroup。我在 Flash 中有类似的实现吗?
你有:
myMC.x = prevMC.x + prevMC.width + spacing; prevMC = myMC; ...
但是,您可以编写一个基类来封装它,这正是 Flex 团队所做的。