From PanoZona
ActionLogic |
Author | Marek Standio |
Module version | 1.0 |
Compatibility | SaladoPlayer 1.0 + |
For now this is just a sketch of module that will enable simple logic in virtual tours configuration.
Configuration structure
Configuration details
ActionLogic
Attribute | Type | Sub-attribute | Type | Default | Values | Description |
Parent: modules
path | S | - | - | path to swf file | Mandatory attribute. Value points to module swf file. |
script
Attribute | Type | Sub-attribute | Type | Default | Values | Description |
Parent: scripts
id | S | - | - | - | Mandatory attribute. Must be unique among other script nodes |
condition
Attribute | Type | Sub-attribute | Type | Default | Values | Description |
Parent: script
onSatisfy | S | - | - | action id | Mandatory attribute. Action executed when given condition is satisfied. |
equals
Attribute | Type | Sub-attribute | Type | Default | Values | Description |
Parent: script
currentPanorama | S | - | - | panorama id | Id of panorama that needs to be currently displayed in order to satisfy given condition. |
Exposed functions
runScript
Type | Description | Function description |
B | script id | Runs script of given id. |