Yeah, I can do that, the thing is that my layout is a bit more  
complex than that and that the visibility is already dynamically  
triggered of the child views. Was wondering if there was something  
easy instead of having to do this manually to each hidden layered  
child view.

On 14 Jun 2006, at 20:00, Neil Mix wrote:

> Geert, how about doing something like this with your "blue" view:
>
>      <view name="blue" width="400" height="60" x="50" y="20"  
> bgcolor="#0000ff" visible="${parent.opacity == 1}">
>
> On Jun 14, 2006, at 12:26 PM, Geert Bevin wrote:
>
>> Hello,
>>
>> Consider this code snippet:
>> <canvas width="500" height="100" embedfonts="true">
>>    <view onclick="this.myAnimator.doStart()" opacity="0">
>>      <animator attribute="opacity" from="0" to="1" duration="1000"/>
>>      <view name="blue" width="400" height="60" x="50" y="20"
>> bgcolor="#0000ff"/>
>>      <view name="red" width="500" height="100" bgcolor="#ff0000"/>
>>      <view name="green" width="60" height="100" x="220"
>> bgcolor="#00ff00"/>
>>    </view>
>> </canvas>
>>
>> When the fade-in happens, you see the "blue" view shining through the
>> "red" and the "green" view. It's as if the opacity of each individual
>> child view is animated also. What I would like to do is animate the
>> opacity of the final composition, so that you only see the "red" and
>> the "green" view during the fade-in.
>>
>> Is there any way to easily do this?
>>
>>
>> Thanks for the help,
>>
>> Geert
>>
>> --
>> Geert Bevin
>> Uwyn "Use what you need" - http://uwyn.com
>> RIFE Java application framework - http://rifers.org
>> Music and words - http://gbevin.com
>>
>>
>> _______________________________________________
>> Laszlo-user mailing list
>> [email protected]
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>

--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to