Behavior functions
309
dreamweaver.behaviorInspector.getSelectedBehavior()
Availability
Dreamweaver 3.
Description
Gets the position of the selected action in the Behaviors panel.
Arguments
None.
Returns
An integer that represents the position of the selected action in the Behaviors panel, or –1 if no
action is selected.
Example
If the first action in the Behaviors panel is selected, as shown in the following figure, a call to the
dreamweaver.behaviorInspector.getSelectedBehavior()
function returns 0:
dreamweaver.behaviorInspector.moveBehaviorDown()
Availability
Dreamweaver 3.
Description
Moves a behavior action lower in sequence by changing its execution order within the scope of
an event.
Arguments
positionIndex
•
The
positionIndex
argument is the position of the action in the Behaviors panel. The first
action in the list is at position 0.
Returns
Nothing.
000_DW_API_Print.book Page 309 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...