Hello-
This is driving me insane! I have a 4 buttons that I have assigned this Actionscripting to and I can not get a recordset to return. The netconnection debugger shows nothing firing! Why? Please chack my coding and see what I did wrong please.
Thanks!
on (rollOver) {
#include "NetServices.as"
#include "NetDebug.as"
if (inited == null) {
inited = true;
rt = this._name;
NetServices.setDefaultGatewayUrl("http://www.kermy.com/flashservices/gateway/");
gatewayConnection = NetServices.createGatewayConnection();
descript = gatewayConnection.getService("Clients.flyingbarm.routes", this);
descript.getdescript(rt);
}
function getdescript_Result(result) {
_root.routes_mc.Leaving_txt = result.items[0].leave_date;
_root.routes_mc.Arriving_txt = result.items[0].arrive_date;
_root.routes_mc.info_txt = result.items[0].add_comments;
}
_root.route1._alpha = 0;
_root.routes_mc.gotoAndPlay(2);
_root.routes_mc.Route_txt.text = "1";
<-----------Green code works fine.
}
on (rollOut) {
_root.routes_mc.gotoAndPlay(1);
_root.route1._alpha = 100;
}
Anthony Brown - 06 Apr 2005 22:09 GMT
Uhh....apparently you can't assign buttons to fire remoting :-)
I changed my buttons over to movie clips and it works now..yippie!!!
Thanks anyway.
Hello-
This is driving me insane! I have a 4 buttons that I have assigned this Actionscripting to and I can not get a recordset to return. The netconnection debugger shows nothing firing! Why? Please chack my coding and see what I did wrong please.
Thanks!
on (rollOver) {
#include "NetServices.as"
#include "NetDebug.as"
if (inited == null) {
inited = true;
rt = this._name;
NetServices.setDefaultGatewayUrl("http://www.kermy.com/flashservices/gateway/");
gatewayConnection = NetServices.createGatewayConnection();
descript = gatewayConnection.getService("Clients.flyingbarm.routes", this);
descript.getdescript(rt);
}
function getdescript_Result(result) {
_root.routes_mc.Leaving_txt = result.items[0].leave_date;
_root.routes_mc.Arriving_txt = result.items[0].arrive_date;
_root.routes_mc.info_txt = result.items[0].add_comments;
}
_root.route1._alpha = 0;
_root.routes_mc.gotoAndPlay(2);
_root.routes_mc.Route_txt.text = "1";
<-----------Green code works fine.
}
on (rollOut) {
_root.routes_mc.gotoAndPlay(1);
_root.route1._alpha = 100;
}