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:
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.
private var m_context:XMLApplicationContext;
public function execute():*
m_context = new XMLApplicationContext("application-context.xml");
ServiceLocator.getInstance().context = m_context;
Thanks in advance.