Return to Snippet

Revision: 40525
at February 3, 2011 05:47 by jeffnehlsen


Initial Code
package  
{
	import flash.display.MovieClip;
	import flash.display.Sprite;
	
	/**
	 * ...
	 * @author Jeff
	 */
	public class MyTestProject extends MovieClip 
	{
		// Placeholder for a ball Sprite from Flash Professional's Library.
		var ball:Sprite;
		
		public function MyTestProject() 
		{
			// Bring in a new instance of Ball
			ball = new Ball();
			ball.x = 100;
			ball.y = 100;
			addChild(ball);
			
			TweenLite.to(ball, 1, {x:200, y:200, ease:Back.easeOut});
		}
		
	}

}

Initial URL


Initial Description


Initial Title
FlashDevelop example

Initial Tags


Initial Language
ActionScript 3