Making Sprites Editable And Draggable; Making Sprites Editable Or Moveable With Lingo Or Javascript Syntax - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

Making sprites editable and draggable

Using the Property inspector, you can make a sprite editable, draggable, or both while your movie
is running. For more information, see
inspector" on page
To make a sprite draggable on the Stage:
Click the Moveable button in the Property inspector.
To make a text sprite editable:
Click the Editable button in the Property inspector.
Making sprites editable or moveable with Lingo or
JavaScript syntax
Lingo or JavaScript syntax can make sprites editable or moveable regardless of the settings in the
Score. You can also use script to constrain a moveable sprite to a certain region. For example, you
can create a draggable slider with an indicator that moves across a gauge. For more information,
see the Scripting Reference topics in the Director Help Panel.
To make a text sprite editable with script, set the text sprite's
best results, set this property in a script that is attached to the sprite or the frame where the
sprite is located.
To make a sprite moveable with script, set the
best results, set this property in a script that is attached to the sprite or the frame where the
sprite is located.
To restrict the registration point of a moveable sprite so it stays within the bounding rectangle
of a second sprite, use the
To constrain a sprite along a horizontal or vertical path, use the
constrainV()
"Displaying and editing sprite properties in the Property
59.
Moveable button
Editable button
constraint
method.

Making sprites editable or moveable with Lingo or JavaScript syntax

editable
moveableSprite
sprite property.
property to
TRUE
sprite property to
TRUE
or
constrainH()
. For
. For
295

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents