Pour un bouton, il faut mettre le buttonMode et useHandCursor sur true. Pour un autre composant, il faudra rajouter mouseChildren="false".
<mx:Button buttonMode="true" useHandCursor="true"/>
<mx:Label buttonMode="true" useHandCursor="true" mouseChildren="false"/>
Aucun commentaire:
Enregistrer un commentaire