NOT A FLEX QUESTION, I am using Flash 8 
How do I trap an event when the URL doesn't exist i.e. if a server is down?

I am doing flash Remoting where I am connecting to a particular server with 
openamf installed on port 7092 

var myURL = "http://224.157.15.16:7092/openamf/gateway";;

I am not sure if Remoting makes a connection over http like webservice. 
But apparently if it is not then the connection can get blocked due to some 
firewall or security software installed on a client's machine. 

The onStatus function also doesn't throw up an error But the output window 
would show Error opening URL "http://224.157.15.16:7092/openamf/gateway";

I tried different tricks but wasn't been able to trap it...!! any clue how I 
can ?

Btw. Currently one of my client overseas cannot see the application running, 
but the rest can. I am presuming it is the port being blocked. 
'cause for testing I change the port or make a wrong connection it too does 
give me an Error opening URL on output window but doesn't trap the error 
anywhere else so that I can show an appropriate message. 

Thank you,
Regards,
VARUN SHETTY 


________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Pat 
Buchanan
Sent: Thursday, October 05, 2006 10:17 AM
To: [email protected]
Subject: [flexcoders] Open CF generated PDF report in new window from Flex?

I'm converting an old CF app over to Flex.  I have dozens of .CFR reports I 
want to call - they generate PDF not FlashPaper.

I'm sure this is easy, and I'm over thinking it, but how do I post some data to 
new window that calls a CFR or other existing web page? 

What are the different ways people are doing this?  I need to POST not GET the 
data to the pages.

My first thought was to use an ExternalInterface call, but I've read that 
FireFox does not work with this method too well and I'm not sure how to POST 
with it to a new window. 

My next thought was to call back to JavaScript in the parent window and have it 
post for me.  However, I'm not quite sure how and if this is a hack.

Am I over-thinking this?  Is there a simpler way?  I've searched for hours. 

Thanks for your help
 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to