activateButton()
229
Parameters
point
(x, y)
Required. A point in Stage coordinates that specifies the location of the embedded
DVD menu item.
Example
This statement activates the hilite of the menu item at a specified Stage location:
-- Lingo syntax
member("movie1").activateAtLoc(point(100, 200))
// JavaScript syntax
member("movie1").activateAtLoc(point(100, 200));
See also
DVD
activateButton()
Usage
-- Lingo syntax
dvdObjRef
.activateButton()
// JavaScript syntax
dvdObjRef
.activateButton();
Description
DVD method; activates the currently selected menu button.
This method returns 0 if successful.
Parameters
None.
Example
This statement activates the menu button on a specified cast member:
-- Lingo syntax
sprite(1).member.activateButton()
// JavaScript syntax
sprite(1).member.activateButton();
See also
DVD
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...