Use flash and ASP to make a message this-flash article
About writing data to flash with ASP: for example, to let flash know a=1 this value, you have to enter &a=1°asp with such a statement Response.Write ("&a=1").
The introduction of ASP files in Flash, you can use such a statement to get:
Loadvariables ("http://localhost/view.asp", "");
(This is the default local machine)
And the ASP to obtain data from flash (for example, in Flash has an INPUT text variable value of TEXT1) can be used such statements: Loadvariables ("http://localhost/send.asp", "", " POST ");
(This is the default local machine), and then use request ("text") to get the value of this input TEXT.
Here's the view. ASP is used to display files that are recorded in Falsh, SEND. The ASP is used to get the data and log it into the database. Specific look "with flash and ASP make a message this-asp article (up, Down)".
The following is a brief description of the Flash to get the records in the database paging,-here with the effect of the bar display. The source program is as follows:
name1 = eval ("name" Add i);
Text1 = eval ("text" add I);
Name1 and Text1 are the two dymanic text that displays records, and from view.asp you can see that the record variable you entered is: Name1,name2,name3 ...
Text1,text2,text3 ...
This makes it possible to display the contents of a record up to two buttons, such as one of the source programs:
On (Press)
{
x = i-1;
if (X==eval ("Total")) {
If I reach the maximum (show the last one), I will be 1 (show the first one)
i = 2;
}
else {
i = i+1;
}
//
Change the content in text by changing the value of I
Others can be solved by themselves!!