In AS2.0, the Remotinng Connection object has an "onStatus" method which can be overridden. If the server is unreachable, the onStatus method will get called.
See http://sourceforge.net/mailarchive/message.php?msg_id=15173267 David Rorex <[EMAIL PROTECTED]> wrote: Perhaps when your compent loads, have it call a remote method like "ping" or "test" or something, and if that method is not successful, show an error saying "can't connect to gateway" -David R On 8/8/06, Wade Arnold wrote: > I am looking for actually detecting it in the program. I have a couple of > components that use remoting and people always seem to not place the proper > remoting URL into the inspectable property. This leaves us with a lot of > "the component doesn't work" > > Wade > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Wade Arnold > Sent: Wednesday, August 02, 2006 2:56 PM > To: 'Flashcoders mailing list' > Subject: [Flashcoders] Invalid gateway URL > > I was wondering if there is a way to capture the error that happens when you > do not have a proper gateway URL for flash remoting. Flash just traces out > that it can not open the url. Is there a way to do this or should I try and > use getURL before I run the remoting service? > > > > Thanks; > > Wade > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com --------------------------------- How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

