Tuio

From MegaZine3
Jump to: navigation, search
Plugin: TUIO
Name TUIO
Files
  • tuio.swf

This plugin allows to use TUIO events to navigate the book, instead of using the mouse, e.g. The plugin uses the TUIO AS3 Library, which it uses to directly convert TUIO events to Flash's MouseEvents. This means you'll just have to add the plugin to the list, configure where to receive events from, and should be good to go.

Contents

Settings

This plugin uses or defines the following settings.

tuioconnector

This attribute determines the connection type over which to receive TUIO events. The default is lc, which stands for LocalConnection, meaning it uses Flash's LocalConnection facilities. The only other valid value is tcp, meaning it'll receive events over the network.

tuiodebug

To enable visualizing debug info for TUIO events (only for 'tuioas3' lib).

tuiolcnamein

The name of the stream with incoming TUIO data. This is only relevant when using tuioconnector="lc".

tuiolcnameout

The name of the stream with outgoing TUIO data. This is only relevant when using tuioconnector="lc".

tuiolib

To allow choosing the backing library to use for interpreting events.

tuiotapdelay

To set the delay (in milliseconds) in which a 'click' is recognized as such by as3touchlib (ignored by tuioas3).

tuiotcphost

This attribute determines the address to bind to, for listening to connections. This is only relevant when using tuioconnector="tcp". The default is the localhost, meaning it'll only accept connections from the same machine.

tuiotcpport

This attribute determines the port on which to listen for connections. This is only relevant when using tuioconnector="tcp".

Attributes

This plugin handles no attributes.

MegaZine3 Plugin-related articles
Plugins Anchors · Background Sounds · Batchpages · Bookmarks · Console · ElementIDs · Gallery · Google Analytics · Help · JavaScript · Keyboard Navigation · Links · NavigationBar · Options · Overlays · Password · PDFLinks · Print · PrintPDF · SWFAddress· Search · Sidebar · Slideshow · Titles
Plugin Articles Writing a plugin · Writing a plugin II · Plugin development
Personal tools
Namespaces
Variants
Actions
Navigation
documentation
miscellaneous
Toolbox