Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var myInterval = setInterval(roomCheck, 100);
- function roomCheck()
- {
- var SHELL = _global.getCurrentShell();
- var INTERFACE = _global.getCurrentInterface();
- var ENGINE = _global.getCurrentEngine();
- var rmc = ENGINE.getRoomMovieClip();
- if (rmc.customInterace === true)
- {
- return;
- }
- else
- {
- clearInterval(myInterval);
- this._visible = false;
- // and other code to revert interface.
- } // end if
- } // end of the function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement