# Quick AS question... please give me a hand

**URL:** <https://forum.kirupa.com/t/quick-as-question-please-give-me-a-hand/2921>\
**Category:** Uncategorized\
**Created:** [March 8, 2002, 9:25pm UTC](https://forum.kirupa.com/t/quick-as-question-please-give-me-a-hand/2921 "2002-03-08T21:25:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 8, 2002, 9:25pm UTC](https://forum.kirupa.com/t/quick-as-question-please-give-me-a-hand/2921/1 "2002-03-08T21:25:12Z")

</div>

i don’t know why this code doesn’t work. it should… what is wrong with my conditional statement? i’m not seeing it! please help me before i go insane!\r\r\rsb = “{textSub2a}”;\rtrace(sb); //outputs the correct string\rtrace(sb == “”); //outputs ‘false’\rif (sb == “”) \r{\r&nbsp &nbsp &nbsp &nbsp trace(“invisible!”); //no output\r&nbsp &nbsp &nbsp &nbsp subBullet1bw1.\_visible = false;\r&nbsp &nbsp &nbsp &nbsp subBullet1c.\_visible = false;\r&nbsp &nbsp &nbsp &nbsp subBullet1bw2.\_visible = false;\r}\relse \r{\r&nbsp &nbsp &nbsp &nbsp trace(“visible!”); //no output\r}\rtrace(“still running”); //no output

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 8, 2002, 9:31pm UTC](https://forum.kirupa.com/t/quick-as-question-please-give-me-a-hand/2921/2 "2002-03-08T21:31:23Z")

</div>

Here’s the output I got with that code :

```auto
 {textSub2a}\r\rfalse\r\rvisible!\r\rstill running

```

Isn’t that what you want ? I just pasted the code as the code of a movie clip, inside an onClipEvent (enterFrame) handler. Where did you put your code ?\r\rpom 0]
