MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 202

Director scripting reference
Table of Contents

Advertisement

An
on zoomWindow
window dimensions change.
Example
This handler moves sprite 3 to the coordinates stored in the variable
window that the movie is playing in is resized:
-- Lingo syntax
on zoomWindow
centerPlace = point(10, 10)
sprite(3).loc = centerPlace
end
// JavaScript syntax
function zoomWindow() {
var centerPlace = point(10, 10);
sprite(3).loc = centerPlace;
}
See also
drawRect, sourceRect,
202
Chapter 10: Events and Messages
event handler is a good place to put Lingo that rearranges sprites when
on resizeWindow
when the
centerPlace

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents