    package com.bluefire.flexDemo.events
    {
        import com.adobe.cairngorm.control.CairngormEvent;
        import com.bluefire.flexDemo.control.DemoFrontController;

        public class AutoCloseSidePanelEvent extends CairngormEvent
        {
            public var closed:Boolean;

            function AutoCloseSidePanelEvent(toClose:Boolean)
            {
                closed = toClose;
                super(DemoFrontController.EVENT_AUTO_CLOSE_SIDE_PANEL);
            }
        }
    }