all groups > flash data integration > september 2005 >
You're in the

flash data integration

group:

Flash and Asp


Flash and Asp vikbro
9/7/2005 12:00:00 AM
flash data integration:
Hi,

I am trying to design a flash based form but I am not able to get the
variables to be posted to a asp file.

I placed a textbox and set the props - input text and assigned a variable name
as fname
I place a button on the stage and tried geturl(url,"","post")
I am using a request.form("fname") to get the value but I am totally lost ...

Now strangley I am simply getting a blank new browser window.

What am I doing wrong here??
Re: Flash and Asp {curiel}
9/7/2005 12:00:00 AM
Hi !

Be carefull, you are using case sensitive functions, i had some troubles too,
until i notice this, also make sure that you are using absolute path's if
you're in the IDE.

example:

myBtn_btn.onRelease = function() {
var url:String = "http://www.macromedia.com/page.asp?fname=" add _root.fname;
getURL(url, "_blank", "POST");
};

if you want to flash communicate with asp, maybe it would be a better idea to
use LoadVars, so that it is transparent for the final user.
AddThis Social Bookmark Button