utility.as
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:1k
- #include "log.as"
- var g_lastFrameEntered = 0;
- function exploreAllStaticArg(path, object)
- {
- var iterator;
- for (iterator in object) {
- var Msg = "";
- Msg += (path + "." + iterator + " == (" + object[iterator] + ")");
- gLog(Msg);
- exploreAllStaticArg(path + "." + iterator, object[iterator]);
- }
- }
- var gOnEnterFrame = function()
- {
- // if ( this._totalframes == this._currentframe )
- // {
- // delete this.onEnterFrame;
- // }
- if ( g_lastFrameEntered != this._currentframe )
- {
- gLogFrame();
- g_lastFrameEntered = this._currentframe;
- }
- }