         
         if ( (propertyName == null || propertyName == "mxmlContent") && (dest is IVisualElementContainer))
         {
-            addItemsToContentHolder(dest as IVisualElementContainer, localItems);
+            if (!addItemsToContentHolder(dest as IVisualElementContainer, localItems))
+                return;
         }
         else if (propertyName == null && dest is IChildList)
         {

package mx.states 
{
import flash.display.DisplayObject;

import mx.collections.IList;
import mx.core.ContainerCreationPolicy;
import mx.core.IChildList;
import mx.core.ITransientDeferredInstance;
import mx.core.IVisualElement;
import mx.core.IVisualElementContainer;

            dest[propertyName] = value;
        }
    }
    
    /**
     *  @private
     *  We've detected that our IDeferredContentOwnder target has created its
     *  content, so it's safe to apply our override content now.
     */
    private function onDestinationContentCreated(e:Event):void
    {
        if (parentContext)
        {
            removeCreationCompleteListener();
            apply(parentContext);
        }   
    }
    
    /**
     *  @private
     *  Remove our contentCreationComplete listener.
     */
    private function removeCreationCompleteListener():void
    {
        if (parentContext)
        {
            parentContext.removeEventListener("contentCreationComplete", onDestinationContentCreated);
            _waitingForDeferredContent = false;
        }   
    }
}

}
