﻿// Copyright 2007. Adobe Systems Incorporated. All Rights Reserved.
package com.adobe.captivate.events 
{
	import flash.events.Event;

	/**
	 * The CPMovieStartEvent class describes the event object passed to the event listener when a captivate movie starts playing
	 */
	public class CPMovieStartEvent extends CaptivateEvent 
	{
		/**
		*  The <code>CPMovieStartEvent.CPMOVIESTARTEVENT</code> constant defines the value of the
		*  <code>type</code> property of the event object for an <code>CPMovieStartEvent</code> event.
		*  <p>The properties of the event object have the following values:</p>
		*  <table class="innertable">
		*     <tr><th>Property</th><th>Value</th></tr>
		*     <tr><td><code>bubbles</code></td><td><code>true</code></td></tr>
		*     <tr><td><code>cancelable</code></td><td><code>false</code></td></tr>
		*	  </table>
		*  @eventType CPMovieStartEvent	
		*/
		public static const CPMOVIESTARTEVENT:String = "CPMovieStartEvent";
		/**
		* @private
		*/
		public function CPMovieStartEvent(captivateVersion:String="",cancelable:Boolean=false) 
		{
			super(CPMovieStartEvent.CPMOVIESTARTEVENT,captivateVersion,cancelable);
		}
		/**
		* @private
		*/
		public override function clone():Event
		{
			return new CPMovieStartEvent(captivateVersion,cancelable);
		}
		/**
		* @private
		*/
		public override function toString():String
		{
			return formatToString("CPMovieStartEvent","type","bubbles","cancelable","eventPhase","captivateVersion");
		}
	}
}
