﻿package com.adobe.captivate.widgets
{
	/**
		* This class describes the properties of the random pool slide 
		
		* @see CPMovieHandle#CPRandomPoolSlideProperties
	*/
	public class CPRandomPoolSlideProperties
	{
		/**
     		* @private
     	*/
		public function CPRandomPoolSlideProperties(PoolSlideIdx:int=0,PoolName:String ="")
		{
			this._poolSlideIndex = PoolSlideIdx;
			this._poolName = PoolName;
		}
		/**
     		* @private
     	*/
		private var _poolSlideIndex:int;

		/**
     		* This function returns the index of the question slide picked from the pool. The indexing begins with zero.
			* @return A Number indicating the index of the question slide picked from the pool 
		*/
		public function get poolSlideIndex():int
		{
			return _poolSlideIndex;
		}

		/**
     		* @private
     		*/
		private var _poolName:String;
		
		/**
     		* This function returns the name of the pool. 
			* @return A String indicating the name of the pool
		*/
		public function get poolName():String
		{
			return _poolName;
		}
	}
}
