Hi Elad, Sorry I do not have example in my hand. Indeed the using the "flash.system.Security" class is the same approach as suggested by Ted. The langref for "flash.system.Security" class has explanation on loading a crossdomain.xml file in loadPolicyFile() explanation. Examine carefully on the "xmlsocket policy file" part of loadPolicyFile() explanation. In general, you will need to load crossdomain.xml (the policy file) from server in order to override the default security of Flash Player (for example loading resource fron non-origin server, connect to port lower than 1024 etc.). By default, Flash Player will load crossdomain.xml from web server on port 80 (so you need to place the crossdomain.xml in your web server root), you can call Security.loadPolicyFile() to load crossdomain.xml from URL other than web server root.
Hope this help. :) Chee Seng --- In [email protected], "elad_nyc" <[EMAIL PROTECTED]> wrote: > > Hi Chee Seng, > > Do you have an example of connection using "flash.system.Security > class"? to a lower port such as FTP or POP? > > Best, Elad. > > > > --- In [email protected], "Chua Chee Seng" <quai83@> > wrote: > > > > Hi, > > > > I think by default the Flash Player security sandbox will throw a > > Security Error if you trying to connect to port number smaller than > > 1024. If you have to use the port number smaller then 1024, I > suggest > > you to examine the flash.system.Security class. > > > > Good luck ^_^ > > > > Chee Seng > > > > --- In [email protected], "elad_nyc" <elad_nyc@> wrote: > > > > > > I am trying to create a connection to FTP using the socket class. > The > > > remote server I am trying to connect is on port. > > > > > > Is it possible to create a connection to the remote server? > > > > > > I am keep getting securities error messages. > > > > > > Best, Elad. > > > > > >
