How I can change(on Enter event) the colour of a button text to another color and vise versa to default on exit.
Like links effect
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
You can use this.caption.font.fill.color.value to change the text colour. I've done this using the mouseEnter/mouseExit events to create a rollover effect.
Enter:
this.caption.font.fill.color.value = "255,255,255"; //white
Exit:
this.caption.font.fill.color.value = "0,0,0"; //black
Views
Replies
Total Likes
You can use this.caption.font.fill.color.value to change the text colour. I've done this using the mouseEnter/mouseExit events to create a rollover effect.
Enter:
this.caption.font.fill.color.value = "255,255,255"; //white
Exit:
this.caption.font.fill.color.value = "0,0,0"; //black
Views
Replies
Total Likes