Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Olá pessoal tubem com você? Eu espero que sim............ por que eu estou enrolado pra caramba.
Tem um script que funcionava perfeito no flex 3 mais estou migrando para o flex 4 e esta dando erro no <mxeffects:CubeRotate>
tipo do erro é -> Could not resolve <mxeffects:CubeRotate> to a component implementation.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
backgroundColor="0x000000" viewSourceURL="srcview/index.html"
xmlns:mxeffects="com.adobe.ac.mxeffects.*">
<s:states>
<s:State name="segunda"/>
<s:State name="index"/>
</s:states>
<fx:Script>
<![CDATA[
import com.adobe.ac.mxeffects.CubeRotate;
]]>
</fx:Script>
<s:transitions>
<s:Transition fromState="" effect="{ flipFront }"/>
<s:Transition fromState="segunda" effect="{ flipBack }"/>
</s:transitions>
<mx:Sequence id="flipFront">
<mxeffects:CubeRotate
target="{ segunda }"
siblings="{ [ index ] }"
direction="RIGHT"
horizontalLightingLocation="LEFT"
duration="1000" />
<mx:RemoveChildAction target="{ segunda }"/>
<mx:AddChildAction target="{ index }"/>
</mx:Sequence>
<mx:Sequence id="flipBack">
<mxeffects:CubeRotate
target="{ index }"
siblings="{ [ segunda ] }"
direction="LEFT"
horizontalLightingLocation="LEFT"
duration="1000"/>
<mx:RemoveChildAction target="{ index }"/>
<mx:AddChildAction target="{ segunda }"/>
</mx:Sequence>
<s:Panel includeIn="segunda" x="60" y="66" width="390" height="294">
</s:Panel>
<s:Panel includeIn="index" x="19" y="51" width="423" height="354">
<mx:DateChooser x="128" y="57"/>
</s:Panel>
</s:Application>
Onde estou pecando ??????
Será que no flex 4 não tem mais o <mxeffects:CubeRotate ???
Carregando comentários...