开发者

Is there any way to know where is used a movieclip?

I have a huge library in Flash CS5. Sometimes, I need to know in which place is used a movieclip (scene, inside another movieclip..).

开发者_运维问答

Has Flash any options to know that?

Txs!


Every displayobject has a parent property that stores exactly what you need to know. Just chack the object against the types you need to handle and away you go. The code you're looking for is something like:

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜