2004/10/22 | ASV4中看到的__set__X、__get__X与AS2中的GET SET
类别(AS3) | 评论(4) | 阅读(395) | 发表于 14:52
如果在类中使用了
function get X():Number{
  return this.x;
}
function set X(x:Number):Void{
  this.x=x;
}
那么在ASV4中就会找到__set__X与__get__Y,如果你看到这样的东西就知道源文件应该是如何写的了吧!!!
0

评论Comments

日志分类
首页[33]
AS3[20]
工作日记[10]
个人简介[2]
ASV[1]