Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / April 2005



Tip: Looking for answers? Try searching our database.

Remoting code not firing.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anthony Brown - 06 Apr 2005 21:42 GMT
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;
 }
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.