onload问题

sol = function (f) {
 if (__onLoadHandler__ == undefined) {
  _global.__onLoadHandler__ = {};
 }
 __onLoadHandler__[this] = f;
};
gol = function () {
 return __onLoadHandler__[this];
};
MovieClip.prototype.addProperty("onLoad", gol, sol); 

你可能感兴趣的:(onload问题)