Hello,

I have a small problem with my mobile application. When the user want's to logon he can connect with a server. For this I use this code:

Code:
private var m_context:XMLApplicationContext;

public function execute():*
		{
			m_context = new XMLApplicationContext("application-context.xml");
			m_context.addConfigLocation("application-context-services.xml");
			m_context.addEventListener(Event.COMPLETE, onComplete);
			m_context.load(); 
			ServiceLocator.getInstance().context = m_context;
		}
Now my problem is when the server he want's to connect to is wrong or he can't connect I would like to add a popup then saying this. But I can't add an ErrorListner to m_context or an eventlistner to detect when he can't connect.

Thanks in advance.

Kind regards,

Thibault Heylen