Component: MouseEvents ( Data)

From Flowcode Help
Revision as of 16:45, 25 June 2026 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author MatrixTSL
Version 1.0
Category Data


MouseEvents component

Component that links to mouse-based events such as mouseEnter, mouseDown and mouseMove

Version information

Library Version, Component Version, Date, Author, Info
1, 1.0, 15-06-26, ST, Created


Detailed description

Many mobile devices contain an internal accelerometer which can report the acceleration in each of the 3 perpendicular axes - x, y and z.

This component allows access to the data provided by this sensor (if available) and can report the data with/without the contribution of the gravity force at that time.


Examples

Graphing the accelerometer output

This example shows the acceleration in the 3 axes on a chart.

FC6 Icon.png DeviceMotion.fcweb

The web app created by this example can be viewed here: DeviceMotion Example


Using the Motion component with a callback

The is a similar example to above, but this one uses a callback function to retrieve the acceleration data on a regular basis.

FC6 Icon.png DeviceMotionWithCallback.fcweb

The web app created by this example can be viewed here: DeviceMotionWithCallback Example


Macro reference

Property reference

Fc9-prop-icon.png Properties
Fc9-type-7-icon.png Whole App
If true, mouse events will be monitored for the whole app. Otherwise, mouse events will be monitored only for the linked object. 
Fc9-type-16-icon.png LinkTo
The object that will fire the events when the mouse is over it. 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_WEBEXP_MouseEvents.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_MouseEvents.fcsx