Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

working with Flash and ASP.NET

Status
Not open for further replies.

sthmpsn1

MIS
Sep 26, 2001
456
US
I am trying to bring data into Flash from SQL server using this code.

Dim strVDS as string
strVDS = "success=True"
strVDS = strVDS & "&empName=" & server.UrlEncode(empDS.tables("employeeinfo").Rows(0).Item("firstName")) & _
"&empaddress=" & server.UrlEncode(empDS.tables("employeeinfo").Rows(0).Item("address"))

then in flash I have this

loadVariablesNum("flash.aspx?", 0);

And

if(_root.success eq "True")
{
gotoAndStop(5);
}else if(_root.success eq "False")
{
gotoandstop(6);
}else
{
_root.LoadStatus = "loading...";
}


It seems to keep running though all my pages and ignoring my actionscript telling to goto a frame and stop. Can someone help.
 
Okay I figured out my looping problem. So basically now it doesn't get a value for success. So it runs the else part everytime.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top