I want to work with _root and a variable where the variable is out of a database.
So I got this as ASP(file Nav_02.asp)|
<!--#include file="connection.asp"-->
<%
SQL = "SELECT * FROM ipadres WHERE ID= 1"
Set r = conn.Execute(SQL)
Do While Not r.EOF
Response.Write "a=" & r("Name")
r.MoveNext
loop
%>
Then on a MC in Flash I have this actionscript|
onClipEvent(data) {
a = button_01
_root.a = {_x: 100, _y: 50};
}
onClipEvent (load) {
loadVariables ("Nav_02.asp", this);
}
but this doesn’t work…what to do??