0 Replies Latest reply on Mar 5, 2013 12:00 AM by KentWood2012

    how to add resize effect on target that using releated size

    KentWood2012 Level 1

      hey guys

      i found i can't add a resize effect on the Group that using a releated size.code like this


                          <s:Transition fromState="*" toState="*">
                                    <s:Sequence duration="300">
                                              <s:Resize target="{aaa}" />
                          <s:State name="a" />
                          <s:State name="b" />
                <s:Group id="aaa" width="200" >
                          <s:Rect width="100%" height="200" includeIn="a">
                                              <s:SolidColor color="0xff0000" />
                          <s:Rect width="100%" height="100" includeIn="b">
                                              <s:SolidColor color="0xff0000" />
                <s:Button click="{currentState='b'}" />

      as i click that button,Group change its size directly,no resize effect run.is there any way to solove that?

      hope u guys can show me the way,thks vv much