# Newbie actionscript question

**URL:** <https://forum.kirupa.com/t/newbie-actionscript-question/109388>\
**Category:** Uncategorized\
**Created:** [May 5, 2004, 3:18am UTC](https://forum.kirupa.com/t/newbie-actionscript-question/109388 "2004-05-05T03:18:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![veraxoxo](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@veraxoxo](https://forum.kirupa.com/u/veraxoxo)\
**Post date:** [May 5, 2004, 3:18am UTC](https://forum.kirupa.com/t/newbie-actionscript-question/109388/1 "2004-05-05T03:18:58Z")

</div>

I am checking the value of a variable I have just loaded from a php file.  
I copy this value to a dynamic text box named checkLog (just for debugging purposes).  
The value of checkLog is indeed 1, but the condition  
if(this.checkLog == 1)  
fails.

I used sendAndLoad to get the value of checkLog from the php file.

Any ideas?  
Am I doing an incorrect comparison?
