私はこれを行うための適切な方法を見つけたと信じています。コンポーネントがVGroupの子として追加されたときに呼び出される、「addedEffect」と「removedEffect」の2つのイベントがあります。
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="100%"
addedEffect="{addedEffect}"
removedEffect="{removedEffect}"
clipAndEnableScrolling="true" xmlns:gui="gui.*">
<fx:Declarations>
<s:Sequence id="addedEffect" targets="{[this, callWindow]}">
<s:Move duration="300" xTo="0" target="{callWindow}" />
</s:Sequence>
<s:Sequence id="removedEffect" targets="{[this, callWindow]}">
<s:Move duration="300" xFrom="0" xTo="300" target="{callWindow}" />
<s:Scale target="{this}"
scaleYFrom="1.0" scaleYTo="0.0"
duration="300"/>
</s:Sequence>
</fx:Declarations>
<gui:CallWindow id="callWindow"
width="100%" minHeight="0" x="300" />
</s:Group>
したがって、それはアイテムレベルで行われますが、それを行うためのエレガントな方法があります。
ありがとう、ヌーノ