Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : Global XMLSocket Across Screens



powerofq
3/11/2004 9:43:38 PM
Hi again,

Is it possible to create a single xmlsocket in say the application screen that
can be accessed from other screens? Or do I need to add a socket to each
screen? If so, doesn't this create a lot of sockets for one application?

Thanks
T Brownell
bioroid
3/11/2004 11:13:59 PM

Create a global XMLSocket like this:

_global.mySocket = new XMLSocket()

and every screen can just reference it by _global.mySocket

AddThis Social Bookmark Button