PDA

View Full Version : replacing onClick events with a Hover?



exs
9 Feb 2012, 10:44 AM
is it possible to replace onClick events with hover event in a HTML editor?

scenario: user hovers over a hotspot and scene change occurs.

Thx.

arnebech
9 Feb 2012, 4:01 PM
You could use a listen for "mouseover" events for that particular object. You could give your object an css-id, then in the start action for a scene, you can set up a listener for the object, and a callback function that will go to the next scene.