hi,
i have a reseller account on a shared server in the state, the hosting
provider refuses to install the flash remoting for .net on the server. Is there
a way if i buy the software to use this technology on my account only without
installing it on the server (ie use the assembly dll file only) please advice
Stephen Beattie - 29 Sep 2004 17:28 GMT
It should work with just the assembly, and your XML configured properly ( I
got Flash remoting working uinder Cassini ). I think the only prerequisite
is that the server has .NET installed.
> hi,
> i have a reseller account on a shared server in the state, the hosting
> provider refuses to install the flash remoting for .net on the server. Is there
> a way if i buy the software to use this technology on my account only without
> installing it on the server (ie use the assembly dll file only) please advice
daoud - 02 Oct 2004 12:22 GMT
i tried with a simply hello page, but nothing happend as it doesn't work, maybe
there is a problem with the directory service path, i have it under
e:\web\dajani.info\httpdocs
i add it as
Aspxser=gatewayconn.getService("web.dajani.info.httpdocs",this);
any sugesstions
sixlead - 27 Jan 2006 19:32 GMT
you should have something like this in place as a start -
first frame action script
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;
import mx.utils.Delegate;
var gatewayUrl:String = "http://localhost/flashservices/gateway.php"
NetDebug.initialize();
// setup listener for your button to respond to a click
btnSendInfo.addEventListener("click", Delegate.create(this, onSendInfoClick));
function onSendInfoClick()
{
//whatever you named your remoting connector in the mc
remotingConnector1_rc.trigger();
trace("button clicked");
}
you then look at the remotingConnector1_rc in its parameters you will need to
specify the following
service url / the method / the service
under Schema -> params:object add a parameter -> inputText_txt:string
under bindings add a new binding in bound from inputText_txt
what this does is tell the flash remoting connector upon recieving the trigger
event to collect the string in inputText_txt text field put it in a parameter
package and send it to the specified site / service / method your method then
will have to deal with appending the XML or you could try the xml connector
which will allow you to import and xml schema and you can set your bindings
accordingly