package com.exanimo.gallery { import flash.events.IEventDispatcher; /** * * .. * * @langversion ActionScript 3 * @playerversion Flash 9.0.0 * * @author Eric Eldredge * @author Rich Perez * @author Matthew Tretter * @since 2009.01.12 * */ public interface IGallery extends IEventDispatcher { // FIXME: Don't use Loader in interface.. what if you want to load an FLV? // // accessors // /** * * * */ function get numItems():uint; /** * * * */ function get selectedItemIndex():int; // // public methods // /** * * */ function bindSelectedItem(gallery:IGallery):void; function clearSelection():void; /** * * */ function selectItemAt(index:uint):void; /** * * */ function unbindSelectedItem(gallery:IGallery):void; } }