# If empty

**URL:** https://forum.kirupa.com/t/if-empty/266836
**Category:** flash
**Created:** [July 24, 2008, 7:23pm UTC](https://forum.kirupa.com/t/if-empty/266836 "2008-07-24T19:23:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xelaxam](https://avatars.discourse-cdn.com/v4/letter/x/5e9695/32.png) [@xelaxam](https://forum.kirupa.com/u/xelaxam)
#### Post date: [July 24, 2008, 7:23pm UTC](https://forum.kirupa.com/t/if-empty/266836/1 "2008-07-24T19:23:20Z")

</div>

I’m loading some info by an mysql database into flash. I created a variable for the web site  
var Site:Object = this.Membre.Siteweb … And It working perfectly. With that variable I’m able to load the web site and make some action. The only problem is there is not always a web site, when there is not a web site I would like to make an if/else and when the site is empty do thing but else thos some function (on release on a picture and on some text.)

How?

Thx  
Xelaxa
