Tuio

From MegaZine3
Jump to navigation Jump to search
{{#if: | }} {{#if: | }}{{#if: * tuio.swf | }}{{#if: | }}
Plugin: TUIO
[[File:{{{image}}}]]
Name TUIO
Since version

{{{version}}}

Files
  • tuio.swf
Related plugins

{{{related}}}

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.

Settings

This plugin uses or defines the following settings.

== tuioconnector =={{#if: String |

  • Type: String}}{{#if: |
  • Valid values: {{{valid}}}}}{{#if: lc |
  • Default: lc}}{{#if: |
  • Overrides: {{{overrides}}}}}{{#if: |
  • Aliases: {{{alias}}}}}{{#if: |
  • Version: {{{version}}}}}

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.{{#if: |

  • See also: {{{see}}}}}

== tuiodebug =={{#if: Boolean |

  • Type: Boolean}}{{#if: |
  • Valid values: {{{valid}}}}}{{#if: false |
  • Default: false}}{{#if: |
  • Overrides: {{{overrides}}}}}{{#if: |
  • Aliases: {{{alias}}}}}{{#if: |
  • Version: {{{version}}}}}

To enable visualizing debug info for TUIO events (only for 'tuioas3' lib).{{#if: |

  • See also: {{{see}}}}}

== tuiolcnamein =={{#if: String |

  • Type: String}}{{#if: |
  • Valid values: {{{valid}}}}}{{#if: OscDataStream |
  • Default: OscDataStream}}{{#if: |
  • Overrides: {{{overrides}}}}}{{#if: |
  • Aliases: {{{alias}}}}}{{#if: |
  • Version: {{{version}}}}}

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

  • See also: {{{see}}}}}

== tuiolcnameout =={{#if: String |

  • Type: String}}{{#if: |
  • Valid values: {{{valid}}}}}{{#if: OscDataStreamOut |
  • Default: OscDataStreamOut}}{{#if: |
  • Overrides: {{{overrides}}}}}{{#if: |
  • Aliases: {{{alias}}}}}{{#if: |
  • Version: {{{version}}}}}

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

  • See also: {{{see}}}}}

== tuiolib =={{#if: String |

  • Type: String}}{{#if: |
  • Valid values: {{{valid}}}}}{{#if: tuioas3 |
  • Default: tuioas3}}{{#if: |
  • Overrides: {{{overrides}}}}}{{#if: |
  • Aliases: {{{alias}}}}}{{#if: |
  • Version: {{{version}}}}}

To allow choosing the backing library to use for interpreting events.{{#if: |

  • See also: {{{see}}}}}

== tuiotapdelay =={{#if: Number |

  • Type: Number}}{{#if: |
  • Valid values: {{{valid}}}}}{{#if: 400 |
  • Default: 400}}{{#if: |
  • Overrides: {{{overrides}}}}}{{#if: |
  • Aliases: {{{alias}}}}}{{#if: |
  • Version: {{{version}}}}}

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

  • See also: {{{see}}}}}

== tuiotcphost =={{#if: String |

  • Type: String}}{{#if: |
  • Valid values: {{{valid}}}}}{{#if: 127.0.0.1 |
  • Default: 127.0.0.1}}{{#if: |
  • Overrides: {{{overrides}}}}}{{#if: |
  • Aliases: {{{alias}}}}}{{#if: |
  • Version: {{{version}}}}}

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.{{#if: |

  • See also: {{{see}}}}}

== tuiotcpport =={{#if: int |

  • Type: int}}{{#if: |
  • Valid values: {{{valid}}}}}{{#if: 3333 |
  • Default: 3333}}{{#if: |
  • Overrides: {{{overrides}}}}}{{#if: |
  • Aliases: {{{alias}}}}}{{#if: |
  • Version: {{{version}}}}}

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

  • See also: {{{see}}}}}

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

{{#if: | |}}