Menu: OpenLaszlo
Du HTML vers le LZX
Faire défiler une image
Faire un tabelement
Faire une animation
Faire une animation séquentielle
Animation + openlaszlo
Animation avec contrainte
Animation du layout
Bordure openlaszlo
Texte avec ombre
Instances et script
Animation opacité
Découvrir XML
Découvrir AJAX
Découvrir JavaScript


Créer une Animation du layout avec OpenLaszlo

Vous pouvez animer le "layout" comme tout autre élément OpenLazslo.

<canvas>
<class name="box" bgcolor="red" width="10" height="10" />
<view>
<box/>
<box/>
<box/>
<box/>
<box/>
<simplelayout axis="x" spacing="5">
<animator id="anm" attribute="spacing" to="20" duration="1000" start="false"/>
</simplelayout>
</view>
<button onclick="anm.start()" y="100">
Animate</button>
</canvas>


Ressource en anglais sur le forum OpenLaszlo ici

A bientôt pour de nouveaux tutoriels OpenLaszlo