[Golist] [goasap commit] r54 - trunk/goasap/go_flextests/src/com/mosesSupposes/go/flextests

codesite-noreply at google.com codesite-noreply at google.com
Sun Sep 21 15:27:02 PDT 2008


Author: mosesoak
Date: Sun Sep 21 15:23:57 2008
New Revision: 54

Modified:
     
trunk/goasap/go_flextests/src/com/mosesSupposes/go/flextests/TBasicTween.as

Log:
minor fix: an import was missing in a flex test.

Modified:  
trunk/goasap/go_flextests/src/com/mosesSupposes/go/flextests/TBasicTween.as
==============================================================================
---  
trunk/goasap/go_flextests/src/com/mosesSupposes/go/flextests/TBasicTween.as	 
(original)
+++  
trunk/goasap/go_flextests/src/com/mosesSupposes/go/flextests/TBasicTween.as	 
Sun Sep 21 15:23:57 2008
@@ -1 +1 @@
-
package com.mosesSupposes.go.flextests {
	import com.mosesSupposes.go.tutorials.SizeTweenMG;
	
	import mx.effects.easing.Bounce;
	
	/**
	 * @author Moses Gunesch
	 */
	public class TBasicTween extends GoFlexTestBase {

		public function TBasicTween() {
			
			var target:Sprite = super.box();
			
			// Note that GoASAP does not have a standard syntax, so when you look at  
this constructor
			// call, you're seeing the specifics of SizeTweenMG only. Tween classes  
built over GoASAP
			// can vary wildly. I used SizeTweenMG so I could set a startWidth,  
which is again just a
			// feature of that particular custom class.
			var tween1:SizeTweenMG = new SizeTweenMG(target, 250, NaN, 0, 2,  
Bounce.easeOut);
			tween1.startWidth = 10;
			
			// used by this test class to set up a row of control buttons. The  
second param is the skipTo amount.
			super.addButtonUI(tween1, 1.5);
		}
	}
}
\ No newline at end of file
+
package com.mosesSupposes.go.flextests {
	import com.mosesSupposes.go.tutorials.SizeTweenMG;
	
	import mx.effects.easing.Bounce;
	
	import flash.display.Sprite;
	
	/**
	 * @author Moses Gunesch
	 */
	public class TBasicTween extends GoFlexTestBase {

		public function TBasicTween() {
			
			var target:Sprite = super.box();
			
			// Note that GoASAP does not have a standard syntax, so when you look at  
this constructor
			// call, you're seeing the specifics of SizeTweenMG only. Tween classes  
built over GoASAP
			// can vary wildly. I used SizeTweenMG so I could set a startWidth,  
which is again just a
			// feature of that particular custom class.
			var tween1:SizeTweenMG = new SizeTweenMG(target, 250, NaN, 0, 2,  
Bounce.easeOut);
			tween1.startWidth = 10;
			
			// used by this test class to set up a row of control buttons. The  
second param is the skipTo amount.
			super.addButtonUI(tween1, 1.5);
		}
	}
}
\ No newline at end of file



More information about the GoList mailing list