Hello Everyone. This is my first Post and hope to get a solution to my lack of ASP coding skills…
On one layer. I have several flash files serving up Dynamic Text pulling from external TXT
files. Script as;
on (press) {
loadText = new LoadVars();
loadText.load(“TEXT1.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
box1.html = true;
box1.htmlText = this.myNews;
}
};
}
On the same layer, the box containers (Vars) are grouped to POST with a;
on (release) {
getURL("addtocart.asp ", “”, “POST”);
}
Flash is serving all text correctly but not sure how to POST/write the ASP script to send the served up Dynamic Text. Do I need to send the contents of each box, either the Dynamic Pull TEXT1.txt, TEXT2.txt etc., Dynamic Text: box1, box2, or Var: item1, item2, etc.?
—ASP Script
<%@language = “VBScript” %>
<%
strItem1 = Request.Form(“box1”)
strItem2 = Request.Form(“box2”)
strItem3 = Request.Form(“box3”)
strItem4 = Request.Form(“box4”)
strItem5 = Request.Form(“box5”)
strItem6 = Request.Form(“box6”)
Response.Write(strItem1) & “<br>”
Response.Write(strItem2) & “<br>”
Response.Write(strItem3) & “<br>”
Response.Write(strItem4) & “<br>”
Response.Write(strItem5) & “<br>”
Response.Write(strItem6) & “<br>”
%>