Return to Snippet

Revision: 645
at July 24, 2006 09:52 by sHamilton


Initial Code
/**	Project: 
	File: untitled
	Purpose: 
	Usage:
	Created On: 2006-07-24
	
	(c) 2006 Stephen.Hamilton MRM World */

//import com.ClassName

class com.untitled extends MovieClip
{
	/**	PRIVATE PROPERTIES:
	 *	------------------- */
	private var _propName:String;
	
	/**	CONSTRUCTOR:
	 *	------------ */
	function untitled ()
	{
		super();
	}

	/**	PUBLIC METHODS:
	 *	---------------- */
	public function init(arg:Object):Void
	{
		trace("init "+this)
	}

	/**	EVENTS:
	 *	------- */
	public function eventMethod(arg:String):Void
	{
	}

	/**	GETTERS/SETTERS:
	 *	------- */
	public function set propName(arg:String):Void
	{
		_propName = arg;
	}
	public function get propName():String
	{
		return _propName
	}
	
	/**	PRIVATE METHODS:
	 *	----------------*/
	private function cleanUp():Void
	{
	}
	private function privateMethod(arg:String):Void
	{
	}
	
	/**
	 *	When movieclip and children have loaded, start application */
	private function onLoad():Void
	{
	}
}

Initial URL

                                

Initial Description
basic template for AS2 class

Initial Title
AS2 class template

Initial Tags
class

Initial Language
ActionScript