beautypg.com

Adobe Dreamweaver API Reference CS5 User Manual

Page 324

background image

319

DREAMWEAVER API REFERENCE

Page content

Last updated 8/27/2013

Example
Calling the

dreamweaver.behaviorInspector.moveBehaviorUp(3)

function swaps the positions of the Preload

Images and the Change Property actions on the

onMouseOver

event. Calling the

dreamweaver.behaviorInspector.moveBehaviorUp()

function for any other position has no effect because the

onClick

and

onFocus

events each have only one associated behavior, and the behavior at position 2 is already at the

top of the

onMouseDown

event group.

More Help topics

dreamweaver.behaviorInspector.getSelectedBehavior()

” on page 316

dreamweaver.behaviorInspector.setSelectedBehavior()

Availability
Dreamweaver 3.

Description
Selects the action at the specified position in the Behaviors panel.

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. To deselect all actions, specify a positionIndex of –1. Specifying a position for which no action exists is
equivalent to specifying –1.

Returns
Nothing.