tags:

views:

102

answers:

3

Hello,

I don't know much about Flash but we are working on a site that has a flash form and when the users pick an option, like selecting a value from a drop down list, we need the value to be passed to asp.net server-side code. What's the easiest way to do this?

A: 

Flash can invoke server side service. So use GET or POST to pass data

Dewfy
A: 

You could explore these options:

1) Communicate between the SWF and the containing page through JavaScript

2) Communicate via asp.net webservices from the SWF directly to the webservice.

3) Not sure but could probably do a POST to a processing aspx page?

HTH

Mark Redman
A: 

I think a good option is to use the XML class so consider this:

var xmlRequest = new XML();
xmlRequest.onLoad = parseXMLResponse;
xmlRequest.load("http://yourpathtoyourserver/file.aspx?listselectedvalue=something");

function parseXMLRequest(loaded)
{
  trace("hi");
}

You can also have the page give you data back this way so it's not just one way communication.

Jon