Flash calling server side script only once

Hi all,

     I am making a movie in which flash will call a [COLOR=Red]ASP.NET[/COLOR] page, which in turn gives a [COLOR=Red]random ID[/COLOR], which is assigned as a file name to the user recorded streams. The Page will be called upon pressing [COLOR=Red]Record [/COLOR]button.

When I compile the flash movie, pressing [COLOR=Red]Record [/COLOR]button gives me a new [COLOR=Red]ID [/COLOR]every time the page called. Every thing is fine.

But the problem is, [COLOR=Red]when I embed the SWF in a browser[/COLOR], or let say, when tested in [COLOR=Red]localhost[/COLOR], the flash makes a call to the .NET page for the first time, but not later, and the [COLOR=Red]ID [/COLOR]being the same as first, the recorded streams are over writing. I want it to be unique every time user records a stream.

What may be the problem, when embedded in browser, [COLOR=Red]flash calling the .NET page only once and not later. [/COLOR]

Could some body please help me here…

Thnx
pandu :slight_smile: