# If node is empty

**URL:** <https://forum.kirupa.com/t/if-node-is-empty/320461>\
**Category:** Uncategorized\
**Created:** [March 24, 2011, 6:36am UTC](https://forum.kirupa.com/t/if-node-is-empty/320461 "2011-03-24T06:36:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evissy](https://avatars.discourse-cdn.com/v4/letter/e/ed8c4c/32.png) [@evissy](https://forum.kirupa.com/u/evissy)\
**Post date:** [March 24, 2011, 6:36am UTC](https://forum.kirupa.com/t/if-node-is-empty/320461/1 "2011-03-24T06:36:04Z")

</div>

Hello,

I have a project with 4 movie clips. Inside each clip there are dynamic textfields that read xml-file. My intention is to view each clip(alpha 100%) for 10-15secs at a time.

My question is how can I view only the clips that have content in their xml?

Lets call the movie clips mc1-4. If I only have text to view in the first two mc’s how do I construct some sort of IF structure:

IF mc3 doesn’t have content to view, view mc1 instead of it and then mc2 and so on.

All the movie clips read the same xml-file they just view different content from it. For example: mc1 reads 10 first nodes(with its childs), mc2 reads 11-20 and so on. That is why I want to know because it is stupid to show empty tables.

Thanks.
