The EspressoMachine class

The EspressoMachine class is a built in tool that let developers select blitting transitions with custom parameters.

 

Building the application


The EspressoMachine class is available only with the SPAS 3.0 SWC release.
The following code creates an application that will display an instance of the EspressoMachine class:

package  {
	
	import org.flashapi.coffeeshop.coffeemachine.EspressoMachine;
	import org.flashapi.swing.Application;
	
	public class EspressoMachineBuild extends Application {
		
		public function EspressoMachineBuild() {
			super(init);
		}
		
		private function init():void {
			var espressoMachine:EspressoMachine = new EspressoMachine();
			this.addElement(espressoMachine);
		}
	}
}
	

 

Experience the EspressoMachine