Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old July 1st, 2008, 07:36 AM
Newbie
 
Join Date: Jul 2008
Posts: 1
Default To link Flash & ASP

My new.asp code like this.
<%
dim text1
text1 = "sample"
response.write "&txt=text1"
response.write("txt="&text1)
response.urlencode("txt=&text1")
%>
I tried with all the above statements individually.

In flash two textfields and one button is there.
one dynamic text with instance name - n
one dynamic text with var name - txt
button with instance name - but

Action script code as follows.

but.onRelease=function() {
var nametxt:LoadVars=new LoadVars();
nametxt.onLoad = function(success:Boolean){
if(success){
n.text="success";}
else
{ n.text="Error";
}
}
txt=txt;
loadVariables("http://localhost/Flashpgm/new.asp","GET");
}


I also changed the above code in different types and worked but getting only
UNDEFINED message in flash.
both files are in same directory.

Pleeeeeease anyone help.....
Reply
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles