# Help Meeeee

**URL:** <https://forum.kirupa.com/t/help-meeeee/314675>\
**Category:** flash\
**Created:** [October 6, 2010, 3:49am UTC](https://forum.kirupa.com/t/help-meeeee/314675 "2010-10-06T03:49:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icoffeetown](https://avatars.discourse-cdn.com/v4/letter/i/7c8e57/32.png) [@icoffeetown](https://forum.kirupa.com/u/icoffeetown)\
**Post date:** [October 6, 2010, 3:49am UTC](https://forum.kirupa.com/t/help-meeeee/314675/1 "2010-10-06T03:49:11Z")

</div>

I have a piece of actionscript code which sends a chat messege using Smart Fox Server but some of the code is not working.

```auto
			if(_global.myName != "Skybucks100")
                {
					mc.bubble.gotoAndStop(2)
					mc.bubble._visible = true
					mc.bubble.message.text = msg
					mc.deactivate()
				}
    			 else 
				{
	 					if(_global.myName != "Prang123")
					{
						mc.bubble.gotoAndStop(2)
						mc.bubble._visible = true
						mc.bubble.message.text = msg
						mc.deactivate()
					}
      			 		else
						{		
							mc.bubble.gotoAndStop(1)	
							mc.bubble._visible = true
							mc.bubble.message.text = msg
							mc.deactivate()
                 		}
			}
}

```

I know this code is working:  
mc.bubble.\_visible = true  
mc.bubble.message.text = msg  
mc.deactivate()

So the code I want you to look at the other code mainly.  
I define the MC with var mc:MovieClip = avatarMC[“avatar\_” + user.getId()]

And i know everything exists.

~Prang123~
