# Can anyone help with this simple IF?

**URL:** https://forum.kirupa.com/t/can-anyone-help-with-this-simple-if/253717
**Category:** flash
**Created:** [March 4, 2008, 12:50pm UTC](https://forum.kirupa.com/t/can-anyone-help-with-this-simple-if/253717 "2008-03-04T12:50:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![your\_syndrome](https://avatars.discourse-cdn.com/v4/letter/y/f04885/32.png) [@your\_syndrome](https://forum.kirupa.com/u/your_syndrome)
#### Post date: [March 4, 2008, 12:50pm UTC](https://forum.kirupa.com/t/can-anyone-help-with-this-simple-if/253717/1 "2008-03-04T12:50:41Z")

</div>

For some reason when i test the movie the trace part displays in the output without me even clicking on my\_button???

```php

my_button.onPress = function() { 
      _root.clicked = true; 
} 

if (clicked == true;) { 
      trace("clicked is true"); 
} 

```
