Double-click-enabled

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This style determines whether or not a visual element can be double-clicked.


Value

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

double-click-enabled: false;


Remarks

Disabling double-clicking by default is a Flash feature. This style is used to change that default behavior. It must be set to "true" before the "onDoubleClick" interaction will work.


Example

In this example, only the first 'div' may be double clicked.

<style><![CDATA[
div 
	{
		width: 100px;
		height: 100px;
		background-color: blue;
		margin: 1px;
 
		@onDoubleClick
		{
			sS ( "background-color", Math.floor ( 0xffffff * Math.random ( ) ) );
		}
	}
]]></style>
<div style="double-click-enabled: true;" />
<div />


Can Be Applied To

This style can be applied to all visual elements:

Personal tools
Get Adobe Flash player