2 Replies Latest reply on Jul 18, 2010 1:37 AM by Shongrunden

    show effect not working??????

    Vasiqullah Level 1

      I'm trying to add an effect on Navigator Content, in which if a user changes the tab, a wipe down effect will be applied on the border container ...but i don't know why it is not working here.

      Any help guys....

       

       

       

      <?xml version="1.0" encoding="utf-8"?>

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

         xmlns:s="library://ns.adobe.com/flex/spark"

         xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">

      <fx:Declarations>

      <s:Wipe direction="left"

      duration="2000"

      id="wipe_left"/>

      <!-- Place non-visual elements (e.g., services, value objects) here -->

      </fx:Declarations>

       

       

      <s:TabBar x="331" y="112" dataProvider="{viewstack1}"/>

      <mx:ViewStack x="331" y="141" id="viewstack1"

                           width="200" height="200">

      <s:NavigatorContent label="Home" width="100%" height="100%">

      <s:BorderContainer x="4" y="11"

         borderColor="Blue"

         width="200" height="118"

         showEffect="{wipe_left}">

      <s:Label x="62" y="54" text="Label"/>

      </s:BorderContainer>

      </s:NavigatorContent>

      <s:NavigatorContent label="Contact"

      width="100%" height="100%" visible="true">

      <s:BorderContainer x="0" y="37"

         width="200" height="119"

         showEffect="{wipe_left}">

      <s:Label x="80" y="53" text="Label"/>

      </s:BorderContainer>

      </s:NavigatorContent>

      </mx:ViewStack>

      </s:Application>