# \[flash8\] AS to hide mc when xml node missing

**URL:** <https://forum.kirupa.com/t/flash8-as-to-hide-mc-when-xml-node-missing/189125>\
**Category:** flash\
**Created:** [May 14, 2006, 1:24am UTC](https://forum.kirupa.com/t/flash8-as-to-hide-mc-when-xml-node-missing/189125 "2006-05-14T01:24:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![waywoodr](https://avatars.discourse-cdn.com/v4/letter/w/3be4f8/32.png) [@waywoodr](https://forum.kirupa.com/u/waywoodr)\
**Post date:** [May 14, 2006, 1:24am UTC](https://forum.kirupa.com/t/flash8-as-to-hide-mc-when-xml-node-missing/189125/1 "2006-05-14T01:24:31Z")

</div>

Heya, I am using an XML gallery thanks to [SIZE=2]Josh from [2210media.com](http://2210media.com)[/SIZE]

I am trying to hide a movie clip if the description node is left empty in the xml.

```auto
if (information = !null) {
      infoBtn._visible = true;
      } else {
      infoBtn._visible = false;
      }

```

doesn’t work :deranged:

anyone know what to do??

my files [www.freewebs.com/waywoodr/zip.zip](http://www.freewebs.com/waywoodr/zip.zip)

PS. all the code is in the AS file.
