由网友(男人、太虚伪)分享简介:帮助我得到一个object.So的目标路径的,我可以给的属性/方法的到object.Actually我需要的目标路径的当点击/ KEYUP / enterframe ..等。Help me to get the target path of an object.So that i can give properti...
帮助我得到一个object.So的目标路径的,我可以给的属性/方法的到object.Actually我需要的目标路径的当点击/ KEYUP / enterframe ..等。
Help me to get the target path of an object.So that i can give properties/methods to that object.Actually i need the target path when an event occurs.like on click/keyup/enterframe
..and so on.
var curinstance:Object = ev.target.valueOf();
在上面的codeI获得特定对象的实例名称我不能放弃的属性和方法的吧。
In the above code i get the instance name of the particular object i cant give properties and methods to it.
推荐答案
ev.target.name给你对象的路径。
ev.target.name gives you the path of the object.
抢
相关推荐
最新文章