 	//--------------------------------------------------------------------------
 
 	/**
-	 *  The <code>ItemExistenceChangedEvent.ITEM_ADD</code> constant 
+	 *  The <code>ElementExistenceEvent.ELEMENT_ADD</code> constant 
 	 *  defines the value of the <code>type</code> property of the event 
-	 *  object for an <code>itemAdd</code> event.
+	 *  object for an <code>elementAdd</code> event.
 	 *
      *	<p>The properties of the event object have the following values:</p>
 	 *  <table class="innertable">


import flash.events.Event;

/**
 *  Represents events that are dispatched when an item of a Group
 *  is created or destroyed. 
 */
public class ItemExistenceChangedEvent extends Event
{
    include "../core/Version.as";


	 *
	 *  @param cancelable Specifies whether the behavior associated with the event can be prevented.
	 *
	 *  @param element Reference to the element that was added or removed.
	 * 
	 *  @param index The index where the element was added or removed.
	 */
	public function ElementExistenceEvent(
								type:String, bubbles:Boolean = false,
								cancelable:Boolean = false,
								element:IVisualElement = null, 
								index:int = -1)
	{
		super(type, bubbles, cancelable);

		this.element = element;
		this.index = index;
	}

	//--------------------------------------------------------------------------
