doEvent
Description
Executes the action nodes for the specified event, attached to the specified element.
Syntax
Action:
<action event="ready" type="doEvent" target="panoelement1" action="click"/>
API call:
doEvent("panoelement1","click")
Arguments
-
target
id of a currently loaded element (in the current scene or global node). -
action
Event name to simulate. See the node documentation for standard events for each node type.
History
- 30-Oct-06: Changed event attribute to action
- 13-Jan-06: Initial version
fieldOfView | SPi-V dev
no link
there is no link here in this sentence:
See the node documentation for standard events for each node type.
goes to: http://fieldofview.com/spv-dev/docs/node that doesn't open
Karol
Thanks
fixed the typo
target as "_this"
Trying to use "doEvent" with target="_this", I got a script error "object expected" with 1.3.10
Re: target as "_this"
looking in to it.
Can you post a link (or code), I can't reproduce this error.