0

我希望在鼠标悬停时在组件上创建效果。而当鼠标移出时,效果会反转。

    <fx:Declarations>
        <s:Parallel id="move">
                <s:Move3D id="moveDown"  yBy="+100"/>
                <s:Pause  />
                <s:Move3D id="moveUp"  yBy="-100"/>
        </s:Parallel>
    </fx:Declarations>

<s:Panel id="userMenu" includeIn="USER" x="920" y="35" width="689" height="142"

             mouseOver="move.play(Array(userMenu), false)" 
             mouseOut="move.resume(Array(userMenu), false)"
             rotationZ="180" >
        <s:HGroup x="44" y="9" width="590" height="62" gap="15" horizontalCenter="1" rotationZ="180"
                  verticalCenter="1"
                  x.USER="10" y.USER="208">

        </s:HGroup>
    </s:Panel>

但我收到这样的错误

1152: A conflict exists with inherited definition mx.core:UIComponent.move in namespace public mx.core:IFlexDisplayObject.

添加move.resume()功能后。为什么我会收到此错误?以及如何调试它?

4

0 回答 0