I have a flash movie that I’m using to display a particular record in a database and to pull that record in I have this:
loadVariables(“newsquery.asp?id=21”, “_level0”);
That works fine, but where I have “newsquery.asp?id=21” I need to be able to make the 21 any record id that is requested. Normally using asp and html I would just request it from the querystring when the window is pulled up and I can do that with in this case. My question is how would I get the variable into the flash movie?
I guess I’m not understanding your question(s) completely. As far as the id is concerned. But the question you had regarding how to insert a value from the Asp into flash is straight forward.
i.e.
In ASP-VbScript as an example:
In order to assign a variable and value to flash, you have to do this.
var mystring= “wow”
response.write “mystring=” & mystring
thats it and in flash just call the mystring value.
what I am saying I need to do is get the variable that I have in asp into the flash movie. For example, when I have a text box I’m able to name that text box something like:
textbox1
then to get the text into it I would have an out side file that said this:
textbox1=this text would appear
What I need to do though, is to get a variable from the querystring someway into the flash movie. The variable would always be a number and would need to go where you have:
varNum
how can I do that. I can use asp to get the varible written into javascript or anything else.