Expand my Community achievements bar.

XMLSocket not working properly.... please help!

Avatar

Level 1
I have this simple app here:


http://sllik.homeip.net/playfb/playfb.mxml

the source is here:


http://sllik.homeip.net/playfb/bin/srcview/source/playfb.html



I'm trying to connect to a host with a XMLSocket... the host
is google.com and the port is 22... so obviously it should throw
the SecurityErrorEvent because the port is less then 1024... and
google.com doesn't have the crossdomain file but it doesn't do
that... it doesn't do anything like im not even calling the
connect() method.



try to click the post button to see.



Thanks.
2 Replies

Avatar

Level 1
I do get a security alert:



Error #2044: SecurityErrorEvent unverarbeitet. text=Error
#2048: Verletzung der Sicherheits-Sandbox:
http://sllik.homeip.net/playfb/playfb.mxml.swf
kann keine Daten von sllik:6667 laden.

at temp::SocketTest$iinit()

at playfb/__cmdPost_click()



Peter

Avatar

Former Community Member
This is expected and a strict requirement of the Flash
Player.