Click-max-frames

From Frontal Wiki

Jump to: navigation, search

Contents

Purpose

This style is used to determine the difference between a press and a click. Imagine that when the mouse button is clicked down, a frame counter is started. When the mouse button comes up, the number of frames counted is exmained. If that number is less than or equal to this style, then it is counted as a click. If the number is greater than the value of this style, then a press has begun and continues until the mouse is released.


Value

A positive integer. The default is 6.

click-max-frames: 8;

This style is cascading.


Remarks

This style is currently only used by the scrollbar implementation. It uses this number to differentiate between a click and a press on the srollbar buttons and on the track.


Can Be Applied To

This style can be applied to any visual element. Currently it only affects scrollbar behavior.

Personal tools
Get Adobe Flash player