problème dans le setProperty
Bonjour à tous,
j'ai une erreur que je ne comprends pas très bien : "in Initializer for 'states': type mx.states.setProperty is not assignable to target Array element type"
voici le code
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
<mx:states>
<mx:State name="edito_open_state"/>
<!-- modifier la hauteur -->
<mx:SetProperty target="{vBoxEdito}" name="height" value="300" />
</mx:states>
<!-- Panel Edito -->
<mx:VBox id="vBoxEdito" width="478" height="189" y="38" x="0">
<mx:TitleWindow id="windowEdito" width="100%" height="100%" layout="absolute"
title="EDITO" showCloseButton="true" styleName="panneauStyle"
titleIcon="@Embed('assets/ui/star_icon.png')">
<mx:LinkButton id="linkButtonEdito" label="+ en savoir plus"
click="currentState='edito_open_state'" right="0"
bottom="0" fontWeight="normal" />
</mx:TitleWindow>
</mx:VBox> |
quelqu'un aurait-il une idée du pourquoi l'erreur sur le setProperty ???
Merci d'avance pour vos réponses