Simple Question About Netstream.Play

Hi All,

I have a doubt in using the Netstream.Play. Please explain me how it works.

My Doubt is :

In all clients am playing a stream using the following code :

ns.play(“firststream”,-1);

The above one works fine.

Now i want to play a second stream, what should i do?

If i give the following codes what will happen?

ns.play(“secondstream”,-1); is this the correct way?

or should i first stop the stream using ns.stop() and play the second stream using ns.play(“secondstream”,-1);

or should i use another netstream like ns2.play(“secondstream”,-1);

My expectation is when one stream is playing i want to stop the previous one which is already playing and start playing a new one, please put me into the correct way, i coudlnt explore how the netstream.play works, someone of you please advice me on how this works.

Thnaks,
Saddu.