|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Action script
Hi:
Does anyone know how can I load an ASP file with variable quer like loadVariablesNum("Member_details.asp?MemberID= ???", 0, "GET"); thanks Ok may be the question wasn't clear: this is The asp file --------------------------------------------------------------------- Dim oRS, MyConn,intComID intComID=Request.form("industry") ' response.write 'response.end Set oRS = Server.CreateObject("ADODB.Recordset") oRS.Open "SELECT * FROM myTable where ID= " & intComID & " order by Date desc", MyConn, 2, 3 fldpercentage = oRS("Rate_Average") fldDate = oRS("Updated_Date") If oRS.EOF Then Response.Write "fldpercentage=Not+Found" Else Response.Write "fldpercentage=" & Server.URLEncode(oRS("Rate_Average")) & "&fldDate=" & Server.URLEncode(oRS("Updated_Date")) End If oRS.Close Set oRS = Nothing ---------------------------------- I can get the the required value, but not the flash If I give constant number for "intComID" the flash file will work any idea?? Last edited by Ray99b : September 23rd, 2003 at 11:13 AM. |
|
#2
|
|||
|
|||
|
Code:
loadVariablesNum("Member_details.asp?MemberID="+FLASH_VARIABLE, 0, "GET");
Where FLASH_VARIABLE is a number representing the record you want to pull. -bret |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Action script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|