I doubt it's possible. Having two visible doesn't really fit with the idea 
of a stack.

Why not roll your own component?

Paul
----- Original Message ----- 
From: "m.frigge" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Tuesday, February 19, 2008 5:40 PM
Subject: [flexcoders] Re: Is it possible to have 2 children of viewstack 
visible?


> Knock.. knock.. nobody knows this??
> A simple no it doesn't work would be alright too :-) ???
>
>
> --- In flexcoders@yahoogroups.com, Max Frigge <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I am trying to create a slide effect for a ViewStack. Therefor
>> I would need to have 2 children visible at the same time, so that
>> you can see the second child sliding in while the first one is
>> sliding out. Is that possible or am I on the wrong path?
>>
>> I want something like this:
>>
>> <?xml version="1.0"?>
>> <!-- containers\navigators\VSLinkEffects.mxml -->
>>
>>
>>     <mx:Parallel id="toSecond">
>>         <mx:Move duration="400" xFrom="{search.x}"
> xTo="{search.width}" target="{search}"/>
>>         <mx:Move duration="400" xFrom="{-custInfo.width}"
> xTo="{custInfo.x}" target="{custInfo}"/>
>>     </mx:Parallel>
>>
>>     <mx:ViewStack id="myViewStack"
>>         borderStyle="solid"
>>         width="200"
>>         creationPolicy="all">
>>
>>         <mx:Canvas id="search"
>>             label="Search" >
>>             <mx:Label text="Search Screen"/>
>>         </mx:Canvas>
>>
>>         <mx:Canvas id="custInfo"
>>             label="Customer Info">
>>             <mx:Label text="Customer Info"/>
>>         </mx:Canvas>
>>     </mx:ViewStack>
>>
>>     <mx:Button click="toSecond.play()" label="Play Effect" />
>> </mx:Application>
>>
>>
>>
>>
>>
> ____________________________________________________________________________________
>> Looking for last minute shopping deals?
>> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
> 

Reply via email to