Question
J'ai une application AIR et un mx:Label
avec la propriété htmlText
(<a href='http://www.adobe.com'>Navigate to Adobe.com.</a>)
. Pour une raison quelconque, rien ne se passe lorsque je clique dessus. Cela fonctionne dans une application non AIR, mais pas dans une application AIR. Des suggestions? Merci.
La solution
Assurez-vous que la propriété sélectionnable est définie sur true sinon cela ne fonctionnera pas.
<mx:Label selectable="true">
<mx:htmlText>
<![CDATA[ <a href='http://www.adobe.com'>Navigate to Adobe.com.</a> ]]>
</mx:htmlText>
</mx:Label>
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow