             }
         }
         
-        private function apply(s:State):void
+        private function apply(oldState:State, s:State):void
         {
             var arr:Array = s.overrides;
             for each (var o:Object in arr)

                }
            }
            var arr:Array = doc.states;
            for each (var s:State in arr)
            {
                if (s.name == event.oldValue)
                {
                    revert(s);
                    break;
                }
            }

////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.core
{
        
    import org.apache.flex.core.IParent;
    import org.apache.flex.core.IStatesObject;
    import org.apache.flex.effects.Effect;
