ASV4中看到的__set__X、__get__X与AS2中的GET SET

      AS3 2004-10-22 14:52:00
如果在类中使用了
function get X():Number{
  return this.x;
}
function set X(x:Number):Void{
  this.x=x;
}
那么在ASV4中就会找到__set__X与__get__Y,如果你看到这样的东西就知道源文件应该是如何写的了吧!!!
标签集:TAGS:
回复Comments() 点击Count()
喜欢就顶一下

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}