| Previous | Next | |
Windows: Flash 8 or 9 AS2.0 SWF + mProjector
3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector
2.0;
Macintosh: Flash 8 or 9 AS2.0 SWF + mProjector
2.0;
mApplication.getWindow() : ObjectAn object.; ; An extended mWindow object of the main window.
Method; Returns the application's main window object. This can be used by any child window wanting to accesss the application window.
The following example gets the main projector's mWindow object, and calls one of its methods. Note that you can define your own custom mWindow methods and call them from within a child window's ActionScript code.
var win = mApplication.getWindow();
if (win)
{
win.doSomething();
}
Creating and Controlling Multiple Windows, Window to Window Communications
| Questions or Feedback? | Previous | Next |