You are here: --/ flex --/ Flex Image control as Button

Flex Image control as Button


Flex Image control as Button

[Bindable]
[Embed(source="/path/to/my/image.png")]
private var myIcon:Class;
 
private function handleImageClick(event:Event):void
{
// your click handler code
}
 
<mx:Image source="{myIcon}" useHandCursor="true" buttonMode="true" click="handleImageClick(event)" />

Bài viết liên quan

Tags: , , , ,

Leave a Reply

 
Copyright © 20010 ..::VN Support::...All Right Reserved.
Design by Junkie and developed by Manlivo.
Contact:
  • sugiatinhyeu_thantinhyeu3
  • manlivo
  • manlivo@gmail.com
Powered by WordPress.
  • frontpage hit counter
  • Page Ranking Tool