 import mx.effects.Effect;
 import mx.effects.EffectManager;
 import mx.events.ChildExistenceChangedEvent;
+import mx.events.CollectionEvent;
+import mx.events.CollectionEventKind;
 import mx.events.EffectEvent;
 import mx.events.FlexEvent;
 import mx.events.IndexChangedEvent;
+import mx.events.PropertyChangeEvent;
 import mx.geom.RoundedRectangle;
 import mx.managers.HistoryManager;
+import mx.managers.IHistoryManagerClient;
 
 use namespace mx_internal;
 

        // Stretch the selectedIndex to fill our size
        if (selectedIndex != -1)
        {
            var child:Container =
                Container(getChildAt(selectedIndex));

            var newWidth:Number = w;
            var newHeight:Number = h;

 *  @playerversion AIR 1.1
 *  @productversion Flex 3
 */
public class ViewStack extends Container implements IHistoryManagerClient, INavigatable
{
    include "../core/Version.as";

