Use-hand-cursor

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This style determines if a hand cursor will be used when the mouse rolls over a visual element with button-mode set to true.


Value

Either "true" or "false." The default value is "true."

use-hand-cursor: true;


Remarks

The style uses a Flash feature which says that when a visual element is in button mode, the cursor will be drawn with a hand unless otherwise specified. For more details, see the Flash reference for Sprite.useHandCursor.


Example

The following example works because the onClick interaction ultimately puts the visual element in button mode. For more details see button-mode.

<style><![CDATA[
	text
		{
			font-size: 40px;
			@onClick { }
		}
]]></style>
<text><![CDATA[hand cursor]]></text>
<text style="use-hand-cursor: false;"><![CDATA[no hand cursor]]></text>


See Also


Can Be Applied To

This style can be applied to any visual element:

Personal tools
Get Adobe Flash player