How-To's > How do I create a rollover effect?


The rollover effect replaces the object that is in focus with another object. Sometimes the two objects are very similar and the effect serves to show where focus is currently placed.

The two states can also be completely different from each other. For example, an image of a car can be replaced by a schematic image of the interior of the car.

Rollover effects can be triggered by using onMouseEntered and onMouseExited event handlers, or by binding to the node's hover property.

Examples

Last Updated: November 2009
[Return to How-To's Home]



Rate This Article
Leave a Comment or Suggest a Topic

Do you have comments about this article? We welcome your participation in our community. Please keep your comments civil and on point. You may optionally provide your email address to be notified of replies—your information is not used for any other purpose. By submitting a comment, you agree to these Terms of Use.

 

English
日本語
한국어
简体中文
русский
Português do Brasil