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

	/**
	 * The CPMovieStopEvent class describes the event object passed to the event listener when a captivate movie stops playing
	 */
	public class CPMovieStopEvent extends CaptivateEvent 
	{
		/**
		*  The <code>CPMovieStopEvent.CPMOVIESTOPEVENT</code> constant defines the value of the
		*  <code>type</code> property of the event object for an <code>CPMovieStopEvent</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 CPMovieStopEvent	
		*/
		public static const CPMOVIESTOPEVENT:String = "CPMovieStopEvent";
		/**
		* @private
		*/
		public function CPMovieStopEvent(captivateVersion:String="",cancelable:Boolean=false) 
		{
			super(CPMovieStopEvent.CPMOVIESTOPEVENT,captivateVersion,cancelable);
		}
		/**
		* @private
		*/
		public override function clone():Event
		{
			return new CPMovieStopEvent(captivateVersion,cancelable);
		}
		/**
		* @private
		*/
		public override function toString():String
		{
			return formatToString("CPMovieStopEvent","type","bubbles","cancelable","eventPhase","captivateVersion");
		}
	}
}
