Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flash 有没有办法知道电影剪辑在哪里使用?_Flash - Fatal编程技术网

Flash 有没有办法知道电影剪辑在哪里使用?

Flash 有没有办法知道电影剪辑在哪里使用?,flash,Flash,我在FlashCS5中有一个巨大的库。有时候,我需要知道在哪个地方使用了一个电影剪辑场景,在另一个电影剪辑中 你有什么办法知道吗 Txs 每个displayobject都有一个父属性,它精确地存储您需要知道的内容。只需将对象与需要处理的类型进行对比,然后离开。您要查找的代码类似于: if (parent is MovieClip) {...something...}

我在FlashCS5中有一个巨大的库。有时候,我需要知道在哪个地方使用了一个电影剪辑场景,在另一个电影剪辑中

你有什么办法知道吗


Txs

每个displayobject都有一个父属性,它精确地存储您需要知道的内容。只需将对象与需要处理的类型进行对比,然后离开。您要查找的代码类似于:

if (parent is MovieClip) {...something...}