一个简单但很实用的类

      Flash 2006-3-11 11:36:00
class loadInLevel {
  function loadInLevel(target, level, x, y) {
    loadMovieNum(target, level);
    _root.onEnterFrame = function() {
      trace(1);
      _root["_level"+level]._x = x;
      _root["_level"+level]._y = y;
      if (_root["_level"+level]._x == x && _root["_level"+level]._y == y) {
        delete _root.onEnterFrame;
      }
    };
  }
}
标签集:TAGS:
回复Comments() 点击Count()
喜欢就顶一下

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}
深度XP 雨林木风XP WinXP下载 世界之窗 深度系统 雨林木风 Ghost ghost系统盘 XP下载