flash高手帮忙翻译哈

来源:百度知道 编辑:UC知道 时间:2024/06/27 08:27:25
function LoadSwf(FilePath, McName)
{
loadMovie(FilePath, McName);
} // End of the function
function ReLoadSwf(ReturnMc, FilePath, McName)
{
ReturnMc.onEnterFrame = function ()
{
ReturnMc.prevFrame();
if (ReturnMc._currentframe == 1)
{
delete this["onEnterFrame"];
_root.LoadSwf(FilePath, McName);
} // end if
};
} // End of the function
function ReturnMc(ReturnMc)
{
ReturnMc.onEnterFrame = function ()
{
ReturnMc.prevFrame();
if (ReturnMc._currentframe == 1)
{
delete this["onEnterFrame"];
} // end if
};
} // End of the function
function checkFileLoaded()
{
if (Content_Mc.Content != undefined)
{
clearInterval(File_interval);
} // end if
} // End of the function

函数loadswf ( filepath , mcname )

loadmovie ( filepath , mcname ) ;
) / /结束功能
功能reloadswf ( returnmc , filepath , mcname )

returnmc.onenterframe =函数( )

returnmc.prevframe ( ) ;
如果( returnmc._currentframe == 1 )

删除此[ “ onenterframe ” ] ;
_root.loadswf ( filepath , mcname ) ;
) / /结束,如果
) ;
) / /结束功能
功能returnmc ( returnmc )

returnmc.onenterframe =函数( )

returnmc.prevframe ( ) ;
如果( returnmc._currentframe == 1 )

删除此[ “ onenterframe ” ] ;
) / /结束,如果
) ;
) / /结束功能
功能checkfileloaded ( )

如果( content_mc.content ! =未定义)

clearinterval ( file_interval ) ;
) / /结束,如果
) / /结束功能
system.usecodepage =真正的;
this.createemptymovieclip ( “ content_mc ” , this.getnexthighestdepth ( ) ) ;
loadvariables ( “ content.cfg.php ” , content_mc ) ;
无功file_interval = setinterval (