Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2010
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    anyone could help me solve this problem

    when i access to my payment gateway server, it will display this error.
    do i need to put crossdomain.xml in the remote server as well? or only in the server where my .swf file is located?
    anyone can help me with these?

    thanks

    Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://center.thehotels.com/myddl/so....swf?hotelID=1 cannot load data from https://emerchantdev.com.my/merchant...Interface.jsp?.
    at PGWPage()[C:\Users\Developer\Adobe Flash Builder 4\PGWPage\src\ActionScript\mainScript.as:19]
    at _PGWPage_mx_managers_SystemManager/create()
    at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:304]
    at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2810]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2637]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal:reloader_completeHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2539]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\preloaders\Preloader.as:515]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    Last edited by jcardy; 01-14-2011 at 07:30 AM.

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    crossdomain.xml goes on the server where the data is accessed. It doesn't matter if its on your site or not, because the external site has to decide if it wants to give access not you.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    New Coder
    Join Date
    Sep 2010
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts
    everytime i run my api., it will look for a crossdomain.xml (https://emerchantdev.com.my/crossdomain.xml) but its not avialable, and i don't think that they put that file in their server just for my request.

    is there anyway to bypass this one?

  • #4
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    You could build a script in PHP or your favorite language on your server that you could connect to which would serve as a proxy connecting to the other server.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •