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:46]
agcyphers [Examples]
web:animator [2019/10/23 05:53] (current)
Line 46: Line 46:
 ====== Methods ====== ====== Methods ======
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| NewAnimatedObject(theControl as [[http://​developer.xojo.com/​webcontrol|WebControl]] as GraffitiWebAnimatorObject | Created a new animator object referencing the supplied WebControl. ​ All of the work is done via the GraffitiWebAnimatorObject. |+| NewAnimatedObject(theControl as WebControl as GraffitiWebAnimatorObject | Created a new animator object referencing the supplied WebControl. ​ All of the work is done via the GraffitiWebAnimatorObject. |
  
 ====== Properties ====== ====== Properties ======
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( 100, 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 |