Application.init() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Application Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Application.init():void

Parameters
none

Returns
Nothing

Description
Initialises {mdm}Scriptâ„¢. This is required in 4.0 for applications programmed in ActionScript 3 and in ActionScript 1/2

Notes
Please note that method definition is changed compared to 3.0 version: it now has no parameters. The 3.0 version accepts two arguments: target and optional callback reference.

Example Code
// this code can be now called at any time just before other {mdm} script is to be used
mdm.Application.init();

//
// in complex implementations initialization flags can be used
if(initialized == false) {
initialized = true;
mdm.Application.init();
// other code to run during init
};

mdm.Application Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page