Adobe 38040334 - Dreamweaver CS3 User Manual page 292

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

DREAMWEAVER CS3
287
API Reference
dreamweaver.behaviorInspector.moveBehaviorUp()
Availability
Dreamweaver 3.
Description
Moves a behavior higher in sequence by changing its execution order within the scope of an event.
Arguments
positionIndex
• The
argument is the position of the action in the Behaviors panel. The first action in the list is at
positionIndex
position 0.
Returns
Nothing.
Example
If the Behaviors panel is set up as shown in the following figure, calling the
dreamweaver.behaviorIn-
function swaps the positions of the Preload Images and the Change Property
spector.moveBehaviorUp(3)
actions on the
event. Calling the
function
onMouseOver
dreamweaver.behaviorInspector.moveBehaviorUp()
for any other position has no effect because the
and
events each have only one associated behavior,
onClick
onFocus
and the behavior at position 2 is already at the top of the
event group.
onMouseDown

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents