I am inside a custom component and I am getting could not resolve
<states> to a component implementation. See code below.
<?xml version="1.0" encoding="utf-8"?>
<fig:CalloutContainer
xmlns:fig="com.adobe.wheelerstreet.fig.callout.*"
xmlns="http://ns.adobe.com/mxml/2009"
mouseDown="stopProp(event)"
mouseMove="stopProp(event)"
click ="{ handleMouse(event); }"
rollOver="{ handleMouse(event); }"
rollOut ="{ handleMouse(event); }"
>
<states>
<State name="minState"
enterState="superDetailsMinimized(event)" />
<State name="maxState"
enterState="superDetailsMaximized(event)" />
</states>