帮我找了闪光灯的对象路径 [英] Help me to find out the object path in flash
本文介绍了帮我找了闪光灯的对象路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
帮助我得到一个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.
抢
这篇关于帮我找了闪光灯的对象路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文