You can't use % in the effects. But what you can do is determine what the
x/y is before the effect and store it in a var, thus when you play the
'unwipe' effect the effect can know where to go back to.
Follow? something like this
<mx:Resize id="CloseLefty" targets="{[lefty]}" duration="400" widthTo="0"/>
<mx:Resize id="OpenLefty" targets="{[lefty]}" duration="400"
widthTo="{myDivPos}"/>
then in the function to run CloseLefty above we have
myDivPos = lefty.width;
CloseLefty.play();
then in the function to run CloseLefty above we have
OpenLefty.play();
DK
On 5/3/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> I assume I use the xFrom, yFrom, xTo, and yTo properties. But I'm not
> sure I understand how to use them to stop a wipe left effect at 20% the
> width of the container and start the subsequent wipe right effect at the
> same 20% position.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR
Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4050
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37