Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web:animator [2019/01/31 21:11]
agcyphers [Examples]
web:animator [2019/01/31 21:46]
agcyphers [Examples]
Line 55: Line 55:
 === Position and Fade in a Container === === Position and Fade in a Container ===
 This example shows how to effectively chain animations with GraffitiWebAnimator. Starting with a Container off-screen, or whose Visible property is True, this snippet will hide it, move it in to place, then fade it in for a really nice effect. This example shows how to effectively chain animations with GraffitiWebAnimator. Starting with a Container off-screen, or whose Visible property is True, this snippet will hide it, move it in to place, then fade it in for a really nice effect.
-<code xojo>Dim animContainer As GraffitiWebAnimatorObject = GraffitiWebAnimator1.NewAnimatedObject( ContainerControl1 ).Fade( GraffitiWebAnimator.EffectOperation.Hide,​ 1 ).Position( ​Button2.Left, 100, 1 ).Fade( GraffitiWebAnimator.EffectOperation.Show, ​800 )</​code>​+<code xojo>Dim animContainer As GraffitiWebAnimatorObject = GraffitiWebAnimator1.NewAnimatedObject( ContainerControl1 ).Fade( GraffitiWebAnimator.EffectOperation.Hide,​ 1 ).Position( ​100, 100, 1 ).Fade( GraffitiWebAnimator.EffectOperation.Show, ​1000 )</​code>​
 ====== Changes to this Page ====== ====== Changes to this Page ======
 ^ Date ^ Edit ^ Editor ^ ^ Date ^ Edit ^ Editor ^
 | Date | Document Created | User's Name | | Date | Document Created | User's Name |