You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by scott matheson <sc...@matheson.it> on 2016/08/01 13:33:22 UTC

Move / Wipe in effect

Hi
   i want a panel to slide in from the bottom of the  screen, this is my first animation and i just missing something


code that drives the effect

private function clickShowBottomMenu():void{
    if(currentState == "bottomSlideIn"){
        currentState = "noShow"
    }else{
        currentState = "bottomSlideIn";
    }


}





<s:transitions  >
    <mx:Transition fromState="*" toState="bottomSlideIn">
            <s:Move startDelay="300" duration="1000"  />

    </mx:Transition>

</s:transitions>


<homebuttonbars:BottomButtons2  id="BottomMenu"   bottom.noShow="-600"   bottom.bottomSlideIn="0" />





Re: Move / Wipe in effect

Posted by Scott Matheson <sc...@matheson.it>.
Hi
  My fault, I nee to add a direction and target to 

    <s:Move startDelay="300" duration="1000"  />



On 02/08/2016 03:22, "jude" <fl...@gmail.com> wrote:

Does it show at all? Is the button bar in a vgroup? Is it the last item in
MXML (so it is not hidden underneath)?

On Aug 1, 2016 8:33 AM, "scott matheson" <sc...@matheson.it> wrote:

Hi
   i want a panel to slide in from the bottom of the  screen, this is my
first animation and i just missing something


code that drives the effect

private function clickShowBottomMenu():void{
    if(currentState == "bottomSlideIn"){
        currentState = "noShow"
    }else{
        currentState = "bottomSlideIn";
    }


}





<s:transitions  >
    <mx:Transition fromState="*" toState="bottomSlideIn">
            <s:Move startDelay="300" duration="1000"  />

    </mx:Transition>

</s:transitions>


<homebuttonbars:BottomButtons2  id="BottomMenu"   bottom.noShow="-600"
 bottom.bottomSlideIn="0" />




Re: Move / Wipe in effect

Posted by jude <fl...@gmail.com>.
Does it show at all? Is the button bar in a vgroup? Is it the last item in
MXML (so it is not hidden underneath)?

On Aug 1, 2016 8:33 AM, "scott matheson" <sc...@matheson.it> wrote:

Hi
   i want a panel to slide in from the bottom of the  screen, this is my
first animation and i just missing something


code that drives the effect

private function clickShowBottomMenu():void{
    if(currentState == "bottomSlideIn"){
        currentState = "noShow"
    }else{
        currentState = "bottomSlideIn";
    }


}





<s:transitions  >
    <mx:Transition fromState="*" toState="bottomSlideIn">
            <s:Move startDelay="300" duration="1000"  />

    </mx:Transition>

</s:transitions>


<homebuttonbars:BottomButtons2  id="BottomMenu"   bottom.noShow="-600"
 bottom.bottomSlideIn="0" />