PEssoal alguem pode me falar aonde esta dando erro nesse codigo por favor?
[code]<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx=“http://www.adobe.com/2006/mxml” width=“66” height=“450” backgroundColor="#282828" verticalGap=“0”>
mx:Script
<![CDATA[
[Bindable]
private static var painelAumentar:String="";
[Bindable]
private static var painelDiminuir:String="{vbCesafis}";
public function selecionarOpcao(evento:Event):void
{
painelAumentar=evento.target.id;
movePaineis.play();
painelDiminuir=evento.target.id;
}
]]>
</mx:Script>
<mx:Parallel id="movePaineis" targets="{[painelAumentar, painelDiminuir]}">
<mx:Resize id="aumenta" heightFrom="50" heightTo="300" target="{painelAumentar}"/>
<mx:Resize id="diminui" heightFrom="300" heightTo="50" target="{painelDiminuir}"/>
</mx:Parallel>
<mx:VBox width="100%" height="300" backgroundColor="#282828" borderStyle="solid" borderColor="#2B2A2A" borderThickness="2" horizontalAlign="center" id="vbCesafis" verticalGap="0"
click="selecionarOpcao(event)">
<mx:Image source="imagens/1553_128x128.png"/>
<mx:Image height="250" width="60" source="imagens/CesafisImage.png"/>
</mx:VBox>
<mx:VBox width="100%" height="50" backgroundColor="#282828" borderStyle="solid" borderColor="#2B2A2A" borderThickness="2" horizontalAlign="center" id="vbProfissional" verticalGap="0"
click="selecionarOpcao(event)">
<mx:Image source="imagens/8435_128x128.png"/>
<mx:Image height="250" width="60" source="imagens/ProfissionalImg.png"/>
</mx:VBox>
<mx:VBox width="100%" height="50" backgroundColor="#282828" borderStyle="solid" borderColor="#2B2A2A" borderThickness="2" horizontalAlign="center" id="vbExtras" verticalGap="0"
click="selecionarOpcao(event)">
<mx:Image source="imagens/1553_128x128.png"/>
<mx:Image height="250" width="60" source="imagens/ExtrasImagem.png"/>
</mx:VBox>
<mx:VBox width="100%" height="50" backgroundColor="#282828" borderStyle="solid" borderColor="#2B2A2A" borderThickness="2" horizontalAlign="center" id="vbAcompanhamento" verticalGap="0"
click="selecionarOpcao(event)">
<mx:Image source="imagens/8435_128x128.png"/>
<mx:Image width="60" height="250" source="imagens/AcompanhamentoImage.png"/>
</mx:VBox>
</mx:VBox>
[/code]
ele retorna o seguinte erro:
[quote]TypeError: Error #1006: value não é uma função.
at mx.effects::EffectInstance/play()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\effects\EffectInstance.as:584]
at mx.effects.effectClasses::CompositeEffectInstance/play()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\effects\effectClasses\CompositeEffectInstance.as:172]
at mx.effects.effectClasses::ParallelInstance/play()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\effects\effectClasses\ParallelInstance.as:151]
at mx.effects::EffectInstance/startEffect()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\effects\EffectInstance.as:569]
at mx.effects::Effect/play()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\effects\Effect.as:930]
at br.com.cesafis.components::Menu/selecionarOpcao()[D:\Java\CursoFlex\projetos\CESAFIS\flex_src\br\com\cesafis\components\Menu.mxml:13]
at br.com.cesafis.components::Menu/__vbProfissional_click()[D:\Java\CursoFlex\projetos\CESAFIS\flex_src\br\com\cesafis\components\Menu.mxml:28][/quote]
Obrigado