Module:ActionLogic

From PanoZona

Contents

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 TypeSub-attribute TypeDefaultValuesDescription
Parent: modules
path S - - path to swf file Mandatory attribute. Value points to module swf file.

script

Attribute TypeSub-attribute TypeDefaultValuesDescription
Parent: scripts
id S - - - Mandatory attribute. Must be unique among other script nodes

condition

Attribute TypeSub-attribute TypeDefaultValuesDescription
Parent: script
onSatisfy S - - action id Mandatory attribute. Action executed when given condition is satisfied.

equals

Attribute TypeSub-attribute TypeDefaultValuesDescription
Parent: script
currentPanorama S - - panorama id Id of panorama that needs to be currently displayed in order to satisfy given condition.

Exposed functions

runScript

TypeDescriptionFunction description
B script id Runs script of given id.