Forum ActionScript 3.0 Chat - how to remove?

Problems and discussions relating to ActionScript 3.0 here.

Chat - how to remove?

Postby Turrican » January 12th, 2012, 11:22 pm

How can I remove the chat in a game?
I´m using the given example but I want to remove the chat when I start a match.
How to?

Thanks.
Turrican
 
Posts: 23
Joined: August 11th, 2011, 11:50 pm

Re: Chat - how to remove?

Postby Benjaminsen » January 13th, 2012, 12:52 pm

As the sample chat embedded with the examples is just an extension of sprite you can simply do
Code: Select all
chat.visible = false
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Chat - how to remove?

Postby Turrican » January 13th, 2012, 3:07 pm

Thanks!!!!
Turrican
 
Posts: 23
Joined: August 11th, 2011, 11:50 pm


Return to ActionScript 3.0