TonyL
05-09-2002, 01:06 PM
Hi,
I want to pass a variable from .asp script to a flash movie for the loadmovie command. I have tried this and nothing has worked can anyone help me?
The variable is being picked up from an access db using
<%
Set Con = Server.CreateObject("ADODB.Connection")
Con.Open "dance101"
Set RS = Server.CreateObject("ADODB.Recordset")
RS.ActiveConnection = Con
RS.Open "SELECT * FROM Chart"
imgname=RS("Image")
and then passed into flash using
loadMovie ("imgname", "Picture");
As I understand it the code above will pick up the variable (imgname) and send it to a dynamic textbox (Picture)
Am I missing something??
Thanks in advance
I want to pass a variable from .asp script to a flash movie for the loadmovie command. I have tried this and nothing has worked can anyone help me?
The variable is being picked up from an access db using
<%
Set Con = Server.CreateObject("ADODB.Connection")
Con.Open "dance101"
Set RS = Server.CreateObject("ADODB.Recordset")
RS.ActiveConnection = Con
RS.Open "SELECT * FROM Chart"
imgname=RS("Image")
and then passed into flash using
loadMovie ("imgname", "Picture");
As I understand it the code above will pick up the variable (imgname) and send it to a dynamic textbox (Picture)
Am I missing something??
Thanks in advance