# If statements

**URL:** <https://forum.kirupa.com/t/if-statements/231325>\
**Category:** Uncategorized\
**Created:** [July 3, 2007, 6:40pm UTC](https://forum.kirupa.com/t/if-statements/231325 "2007-07-03T18:40:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Overshee](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/overshee/32/2037_2.png) [@Overshee](https://forum.kirupa.com/u/Overshee)\
**Post date:** [July 3, 2007, 6:40pm UTC](https://forum.kirupa.com/t/if-statements/231325/1 "2007-07-03T18:40:27Z")

</div>

So I’m trying to make an action that will make a little dot appear once the loading sequence gets past a certain point, the dot (set at alpha 0) is in a movie clip on the first frame of the document, and I don’t understand why it doesn’t work…

```auto
if ((_root.getBytesLoaded()/_root.getBytesTotal()) * 100) >= 8.3) {
    setProperty("LD1", _alpha, "100"); ;
}

```

it should be a simple if…then statement, but that doesn’t work…

Help would be wonderful!
