1 Reply Latest reply on Oct 14, 2010 3:26 PM by Flex harUI

    Socket question

    Zolotoj Level 3

      I am building an application with Flash Builder 4. I am using a  socket class to get data from remote devices.

      When I am connecting to some of them that are not online I am getting an error:

       

      Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file://192.168.1.12/ufd/sewinglineSockets.swf cannot load data from 192.168.1.153:8023.

      atsewerPanelSocket()

      atmx.core::Container/createComponentFromDescriptor()

      atmx.core::Repeater/createComponentFromDescriptor()

      atmx.core::Repeater/createComponentsFromDescriptors()

      atmx.core::Repeater/recreate()

      atmx.core::Repeater/execute()

      atmx.core::Repeater/set dataProvider()

      atsewingLineSockets/showSewingMachines()

      atmodulecode::Classes/httpResult()

      atflash.events::EventDispatcher/dispatchEventFunction()

      atflash.events::EventDispatcher/dispatchEvent()

      atHTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()

      atmx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()

      atmx.rpc::Responder/result()

      atmx.rpc::AsyncRequest/acknowledge()

      atDirectHTTPMessageResponder/completeHandler()

      atflash.events::EventDispatcher/dispatchEventFunction()

      atflash.events::EventDispatcher/dispatchEvent()

      atflash.net::URLLoader/onComplete()

       

      I am ok with the error, but the error is popping up on the screen and I dont want that. How can I stop it happening?

       

      Thanks