Same variable name, different values...possible?

Hi friends,

I have a big problem.
I have a flash movie connected to a access database via ASP.
I have 2 variables (ws_is and ref_id) that modify the SQL query in the ASP.
All that works fine. But here is the problem:
I assigned diferent values to my variables in each frame of the timeline, but when I publish my movie the values of my variables are all the same! Seems that the values of the first frame are copied to the other frames when I publish the movie. If I change the variable name then it works, but I have to keep the same variable name for the ASP to work.

Is it possible to have the same variable give different values in each diferent frame?

If any of you know how to do this please let me know…I’m stuck here big time…I need your help.

thanks

Andino