Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
surathp #1
Usage of flash.net.Socket in Flex on IE
public function isNetworkAlive() : void{
socket = new Socket();
socket.addEventListener(Event.CONNECT,connectNetwo rkHandler);
socket.addEventListener(Event.CLOSE,closeNetworkHa ndler);
socket.addEventListener(SecurityErrorEvent.SECURIT Y_ERROR, errorHandler);
socket.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
try{
//Get The Server URL
var url: String = Application.application.url;
//Get The IP Address
var ipAdd : String = url.substring((url.indexOf(":") +
3),url.lastIndexOf(":"));
socket.connect(ipAdd,8443);
}catch(er : Error){
NarusAlert.show("Network is down/disconnected. Please re-login again
after network is up.");
model.reset();
}
}
socket.connect(ipAdd,8443); is throwing SecurityErrorEvent on IE only. Works
fine on FireFox and Opera.
I am using Flex 2x.
I have done the Adobe Flash Player 9 Activex set up for IE.
Can anybody please provide solution for this.
Thanks & Regards,
Surath Patnaik
surathp Guest
-
Flex 3 Memory Usage
How can I make Flex uses less RAM. I have closed other projects in the Flex Navigator panel but, it is still using a lot of RAM. It can get up to... -
Block usage of flex widget on other sites?
Hi all, is it possible to do this?, to block usage of a widget on other sites/domains than the one its hosted on. Any suggestion helps. Thanx. -
socket - from flash player 6 to 7
I have a client server app which works well as long as i use flash player setting for version 6. Server sends null, etc and i parse it the way i... -
Flash-PHP Socket Connection
the only way is with GET or POST, no sockets mi site work thus http://myphp.webcindario.com there are some examples, look -
Socket.accept problem via Socket.for_fd($stdin.fileno)
Hi, I am experiencing a rather infuriating problem with Socket.accept on Windows XP. The problem exists when I try to create a Socket from...



Reply With Quote

