Page 1 of 1
Maps
Posted: 11 Aug 2006, 16:42
by eragon
Is it possible to have, like in theochat, for the avatar chat to have a background for each room?
Re: Maps
Posted: 11 Aug 2006, 18:21
by acoole
eragon wrote:Is it possible to have, like in theochat, for the avatar chat to have a background for each room?
D' ya mean like each room diffrent?Or just a fixed background
Posted: 11 Aug 2006, 18:53
by eragon
Each room differnet.
Posted: 12 Aug 2006, 09:32
by acoole
eragon wrote:Each room differnet.
Hrrmm i dunno.Try asking Lapo he helped me...
Posted: 12 Aug 2006, 16:33
by Lapo
Yes of course you can, but this has little to do with the server side. It's more a client side question. Basically all you have to do is load a new background image or SWF file each time you change room.
If you have a basic understanding of Actionscript you shouldn't have problems creating it.
Posted: 14 Aug 2006, 06:26
by eragon
Ok, i know the command for checking which, like if mapname = "the hall" do something (i know it isnt that, just giving an example), do what is the command for showing an image or swf image in actionscript.
Posted: 10 Sep 2006, 18:55
by ASCIISkull
Probably, the easiest way would be to have all of the potential backgrounds as frames in a movie clip behind the avatar area, so then you could use a gotoAndStop(x) with x being the background you want.