smokeyfull
07-23-2007, 05:16 AM
Hi All,
I use a simple ASP code to retrieve the latest data from the MSDE databases and display them in Flash. However, these databases are updated frequently and I need the changes to reflect in the display. If I'm not mistaken, it's possible for Flash to refresh the display automatically by using setInterval.
So I need to set certain intervals for Flash to call the ASP code and load the latest data from the databases.
I have below codes to call the ASP code but I'm not sure how to use it together with the setInterval.
onClipEvent(load)
{
loadVariables ("GetDataLoc1.asp?", this);
loadVariables ("GetDataLoc1.asp?", this);
}
Appreciate your help. Thanks.
I use a simple ASP code to retrieve the latest data from the MSDE databases and display them in Flash. However, these databases are updated frequently and I need the changes to reflect in the display. If I'm not mistaken, it's possible for Flash to refresh the display automatically by using setInterval.
So I need to set certain intervals for Flash to call the ASP code and load the latest data from the databases.
I have below codes to call the ASP code but I'm not sure how to use it together with the setInterval.
onClipEvent(load)
{
loadVariables ("GetDataLoc1.asp?", this);
loadVariables ("GetDataLoc1.asp?", this);
}
Appreciate your help. Thanks.