I have a web page that i am trying to use ASP to get fields from a database then send the data to variables to flash using a variable on the flash page. I am trying to determine what variables to send based on information comming from the FSCommand. I have no problem setting a variable or talking to a database the problem comes in when i try to combine the 2. here is the code to set a variable
sub Test_FSCommand(ByVal command, ByVal args)
Test.SetVariable "TestText", "8"
the movie is test the variable is called testtext. this sets a variable to what the fscommand sends to the web browser. The problem is the <script language="vbscript";> this does not work when changed to <%@Language="VBScript"%> which is needed to run my database code. i would very much appreciate if anyone can give me any information on this even if it is just asp code to pass variables to one another as long as i can recieve them in my flash code. I have been working on this for 2 days and haven't got anywhere.