Hi ,,
use class veriable as icon for button,
[Bindable]
[Embed("assets/up_button.png")]
public var upbuttonIcon:Class;
<mx:Button x="556" y="191" id="upbtn" icon="{upbuttonIcon}"
click="HandleScroll(event)"/>
hope it work , i have working code for your problem. if needs i will put it
here.
Thanks
Krishna.
On Fri, Apr 8, 2011 at 9:52 AM, Malek S <[email protected]> wrote:
> HI ,
> I have a requriement where in i want to display arrows on button.
> and is i am clicking up arrow the list items should move upward.
> i have created custom button and tried setting icon property.
> But its not displaying arrow button.
> Any pointers of how i can do it?
>
>
> please help!!
>
> Regards
> malekSf
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.