Return to Snippet

Revision: 13750
at May 5, 2009 10:41 by forchid


Initial Code
package
{
	
	import flash.display.Sprite;
	import flash.system.Capabilities;
	import mdm.*;
	
	public class Main extends Sprite
	{
		
		public var isZinc:Boolean;
		
		/* _____________________________________________________________________________
		 * 
		 * CONSTRUCTOR
		 * 
		 */
		public function Main() 
		{
			mdm.Application.init( this, onMDMinit );
		}
		
		private function onMDMinit():void
		{
			isZinc = ( Capabilities.playerType == "ActiveX" ) ? true : false ;
		}
	}
	
}

Initial URL

                                

Initial Description

                                

Initial Title
Base Class Template with Zinc init

Initial Tags

                                

Initial Language
ActionScript 3