Problem in flex with cross-domain to script using GET method

Hello

I have a strange problem in Flex, the appeal of scripts located on other servers, using the GET method.

When I want to connect with a HTTPService in Flex for a script that is located on a different domain than the flex application, I place a crossdomain.xml in the root of the server script:

<? XML version = "1.0"? >
<!- http://www.script-domain.com/crossdomain.xml ->
< cross-domain-policy >
< allow-access-from domain = "www.app-domain.com" / >
< / cross-domain-policy >

The problem is that when you use the GET method to the crossroads, it seemes that the flashplayer adds search for the crossdomain.xml at the end of the query string. With a url snooper I can that the requested url, and when the player seeks the crossdomain.xml, it does so in a strange way:

http://www.script-domain.com?var1=val1 & var2 = val2/crossdomain. XML

It seems to use the url + querystring as a url and puts the crossdomain.xml at the end of the query string, which is NOT the location of it, and the application fails with a runtime error message.

Looking for the crossdomain.xml should look like this:

http://www.script-domain.com/crossdomain.XML

If I use the POST method instead, it works fine, but I would like to be able to use the GET method.

Any suggestions?

/ Jesper

Problem solved!

For correct work crossdomain checking, you must ask the script remote itself and not only the remote folder:

http://www.remote-domain.com/script.php?va1r=val1&var2=val2

That's all!

Tags: Adobe LiveCycle

Similar Questions

  • I'm trying to change the ownership of directories/files with a domain network environment (using takeown)

    I'm changing the ownership of files/directories with a domain network environment. Using takeown /f \\server\share/r/a/dy. It works fine but when I check the property is actually on my administrative account as the owner. I'll need for administrators to be owner and not mine administrative account. Can you please help?

    Thank you

    RG

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for support on Windows Server. Please post your question in the below link: http://social.technet.microsoft.com/Forums/en/category/windowsserver

  • Integrating Wordpress in need of Muse dynamic height with cross domain content-based

    Given that Muse does currently not support articles and Wordpress integration I decided to use an iFrame.

    My goal is to have the height of the iframe dynamic change based on the content of my Wordpress blog. I understand that this is a common problem with frames that are hosted on different domains.

    I'm running by having more to compensate with a bunch of deadspace to leave enough room. You can also get the horrible scrolling to the search bar.

    I tried using cross-site scripting, JQuery, and postMessage but can't find out how to put the right code in Muse and Wordpress for them to communicate in either sense.

    Please, any help on this would be greatly appreciated.

    Apparently, you try to insert the iframe to another area and because of the "Same origin" security policy, you are not authorized to access the document property of the iframe object. This will not happen if the inserted iframe is on the same domain.

    Check it for more on this, http://javascript.info/tutorial/same-origin-security-policy

    - Abhishek Maurya

  • JavaScript error when using ExternalInterface.addCallback("IsStatic",IsStatic) with cross-domain swf file

    How can I use ExternalInterface.addCallback("IsStatic",IsStatic) when using javascript server access (html) of server B (swf)? coz it showing error?

    Server A
    192.168.0.10/xxx/example.html
    ===========
    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    ID = "MGSInsurances1" width = "960" height = "600".
    codebase =" http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" > "
    "" < param name = "movie" value = " http://192.168.0.22/MGS/flex/MGSInsurances1.swf" / >
    < param name = "quality" value = "high" / >
    < param name = "bgcolor" value = "#869ca 7" / >
    < param name = "allowScriptAccess" value = "always" / >
    "" < embed src = " http://192.168.0.22/MGS/flex/MGSInsurances1.swf" quality = "high" bgcolor = "# ca 869, 7.
    width = "960" height = "600" name = "MGSInsurances1" align = "middle".
    play = "true".
    Loop = "false".
    quality = "high".
    allowScriptAccess = "always".
    Type = "application/x-shockwave-flash".
    pluginspage =" http://www.adobe.com/go/getflashplayer_fr" > "
    < / embed >
    < / object >
    < script language = "javascript" >
    window. MGSInsurances1 = document.getElementById('MGSInsurances1');
    < /script >

    Server B
    192.168.0.22/mgs/Flex/MGSInsurances1.swf
    ==================

    Security.allowDomain("*");

    If (ExternalInterface.available)
    {
    ExternalInterface.addCallback("IsStatic",IsStatic) ("onchange", onchange);
    ExternalInterface.addCallback("IsStatic",IsStatic) ("datachange", datachange);
    }

    but javascript Error shows "Unknown name", how can I solve this problem? urgent! Anyone know this?

    I solved it! because I did not restart my server again! Again not error! Sorry to annoy everyone.

  • cross-domain-policy does not work

    I get an error message:

    Error #2048: security sandbox violation: http://www.m.com/p/bin-debug/main.swf Cannot load data from http://rateservice.m.com/rateservice.svc/ .

    My cross-domain file to http://rateservice.m.com is :

    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <allow-access-from domain="*.m.com"/>
    </cross-domain-policy>

    using m as alias

    Please tell us how do I solve this problem, as it should work. I did a test of firbug and the cross domain is to be found by the eyelashes of firebug

    1. There is no closing tag:

    http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"/>
    
  • How to configure the Outlook/exchange e-mail to share e-mail with individual domain accounts accounts

    My company has agents working at client locations.  Each customer has their own email.  Now the signs of the agents on Windows by using a local account shared with e-mail configuration to support this particular customer.  Agents are turned in and out a different customer locations.   My goal is to have an individual responsibility, through unique domain accounts, while continuing to support specific e-mail client.   So my question is; How can I configure outlook 2003/Exchange to have a common (based on the physical computer XP) of e-mail account and allow anyone who logs in this computer with a domain account to use the shared e-mail.
    Silvio

    You should ask this question in a forum Outlook as
    http://social.answers.Microsoft.com/forums/en-us/outlookacct/threads
    or and as a forum for Exchange
    http://social.technet.Microsoft.com/forums/en-us/exchangesvrdeploy/threads or
    http://social.technet.Microsoft.com/forums/en-us/exchangesvrgeneral/threads Brian Tillman [MVP-Outlook]

  • Flex 4: problems of Module with the mx AdvancedDataGrid

    Hello

    I have a modular application. SDK is 4.5 Hero.

    The main application loads a module and receives interface components user thereof, which are displayed thereafter.

    In general, the component, returned from the module displays OK with mx components and spark.

    However, if I add AdvancedDataGrid I get the exception:

    --------------------------------------------------

    TypeError: Error #1007: instantiation attempted on a non-constructeur.

    at mx.controls::AdvancedDataGridBaseEx/getSeparator() [E:\dev\hero_private_beta\frameworks\pr ojects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4619]

    at mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators() [E:\dev\hero_private_beta\fra meworks\projects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4661]

    at mx.controls::AdvancedDataGrid/createHeaderSeparators() [E:\dev\hero_private_beta\framework s\projects\datavisualization\src\mx\controls\AdvancedDataGrid.as:2428]

    at mx.controls::AdvancedDataGridBaseEx/drawSeparators() [E:\dev\hero_private_beta\frameworks\ projects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:4575]

    at mx.controls::AdvancedDataGridBaseEx/updateDisplayList() [E:\dev\hero_private_beta\framewor ks\projects\datavisualization\src\mx\controls\AdvancedDataGridBaseEx.as:2120]

    at mx.controls::AdvancedDataGrid/updateDisplayList() [E:\dev\hero_private_beta\frameworks\pro jects\datavisualization\src\mx\controls\AdvancedDataGrid.as:2899]

    at mx.controls.listClasses::AdvancedListBase/validateDisplayList() [E:\dev\hero_private_beta\ frameworks\projects\datavisualization\src\mx\controls\listClasses\AdvancedListBase.as:3472]

    at mx.managers::LayoutManager/validateDisplayList() [E:\dev\hero_private_beta\frameworks\proj ects\framework\src\mx\managers\LayoutManager.as:719]

    at mx.managers::LayoutManager/doPhasedInstantiation() [E:\dev\hero_private_beta\frameworks\pr ojects\framework\src\mx\managers\LayoutManager.as:778]

    at mx.managers::LayoutManager/doPhasedInstantiationCallback() [E:\dev\hero_private_beta\frame works\projects\framework\src\mx\managers\LayoutManager.as:1157]

    ---------------------------------

    The compiler option is - keep-all-type-selectors. It works very well with the mx:DataGrid and all other components for example, but not with AdvancedDataGrid.

    My application has the following structure:
    TestLibrary - a library application containing a single interface:
    test. IModuleComponent
    Code:

    test package

    {

    Import mx.core.UIComponent;

    public interface IModuleComponent

    {

    function getComponent(): UIComponent;

    }

    }

    TestModule - an application of module, using TestLibrary as an EPIRB.

    Components:

    -test.module.TestModule.mxml

    <? XML version = "1.0" encoding = "utf-8"? >

    < mx:Module ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "

    " xmlns:s = 'library://ns.adobe.com/flex/spark"" "

    "" xmlns:MX ="library://ns.adobe.com/flex/mx" width ="100%" height = "100%"

    implements ="test. IModuleComponent"xmlns:module =". test.module *">" "

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    Import mx.core.Application;

    Import mx.core.UIComponent;

    Import spark.components.Application;

    test import . IInstanceFactory;

    public function getComponent(): {UIComponent

    return new TestComponent();

    }

    []] >

    < / fx:Script >

    " < s:VGroup width ="100%"height ="100%">

    " < s:Label text = 'Module of Test" / > "

    " < module: TestComponent width ="100%"height ="100%" / >

    < / s:VGroup >

    < / mx:Module >

    -test.module.TestComponent.mxml

    <? XML version = "1.0" encoding = "utf-8"? >

    < s:VGroup ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "

    "xmlns:s ="library://ns.adobe.com/flex/spark"

    "xmlns:MX ="library://ns.adobe.com/flex/mx"

    width ="100%" height ="100%">

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    Import mx.collections.ArrayCollection;

    [Bindable]

    private var dpADG:ArrayCollection = new ArrayCollection([)

    {Artist:'Ground', Album:'Slanted and enchanted', price: 11.99},.

    {Artist:'Ground', Album:'Brighten the corners', price: 11.99},.

    {Artist:'Healthier', Album:'A child once', price: 11.99},.

    {Artist:'Healthier', Album:'Helium wings', price: 12.99},.

    {Artist:'The doors', Album:'The doors', price: 10.99},.

    {Artist:'The doors', Album:"Morrison hôtel", price: 12.99},.

    {Artist:' Grateful Dead ', Album:' American Beauty ', price: 11.99},.

    {Artist:' Grateful Dead ', Album:'In the Dark', price: 11.99},.

    {Artist:' Grateful Dead ', Album:' Shakedown Street ', price: 11.99},.

    {Artist:'The doors', Album:' Strange Days ', price: 12.99},.

    {Artist:'The doors', Album:'The best of the doors', price: 10.99}

    ]);

    []] >

    < / fx:Script >

    " < s:Label text = ' Test data grid" / > "

    < mx:AdvancedDataGrid

    width ="100%" height ="100%"

    "sortExpertMode ="true"

    dataProvider ="dpADG{}">

    < mx:columns >

    " < mx:AdvancedDataGridColumn dataField ="artist" / > "

    " < mx:AdvancedDataGridColumn dataField ="Album" / > "

    " < mx:AdvancedDataGridColumn dataField ="price" / > "

    < / mx:columns >

    < / mx:AdvancedDataGrid >

    < / s:VGroup >

    -----------------------------------------
    TestComponent is used twice:
    (1) in the module itself
    (2) in function getComponent(), who comes from the IModuleComponent interface.
    TestWebApp - the main web application.
    TestWebApp.mxml:

    <? XML version = "1.0" encoding = "utf-8"? >

    < s:Application ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "

    " xmlns:s = 'library://ns.adobe.com/flex/spark"" "

    " xmlns:mx = 'library://ns.adobe.com/flex/mx"" "

    minWidth ="955" minHeight ="600">

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    Import mx.charts.chartClasses.InstanceCache;

    Import mx.core.UIComponent;

    test import . IModuleComponent;

    private onButtonClick() function : void {}

    var app: IModuleComponent = testModule.child as IModuleComponent;

    var testComponent: UIComponent = app.getComponent ();

    group.addElement (testComponent);

    }

    public function createInstance (instanceClass: class): object {}

    return new instanceClass();

    }

    []] >

    < / fx:Script >

    "" < s:VGroup width = "100%" height ="100%" id = "Group">

    " < mx:ModuleLoader id ="testModule"url ="... /.. " /TestModule/bin-debug/test/module/TestModule.swf"" "" "

    height ="100" width ="100%"

    {applicationDomain ="{} }ApplicationDomain.currentDomain"/ > "

    " < s:Button label = 'click me!"click = "onButtonClick ()" / >

    < / s:VGroup >

    < / s:Application >

    ---------------------------------------
    Initially when the web application is started the an AdvancedDataGrid (coming from the ModuleLoader tag that loads TestModule, which contains TestComponent) appears correctly.
    When the button ' Click me ' is clicked - TestComponent another instance should be added in the VGroup.
    Instead the exception above appears.
    IF TestComponent contains mx:DataGrid or any other spark or component MX - everything works fine - the 2nd instance of TestComponent is added.
    This problem only occurs with AdvancedDataGrid.
    I activated - keep-all-type-selectors in TestWebApp, I have tried all combinations of RLS, merged outside of libraries, etc. - no chance.
    The problem with preview of flex 4.1 and 4.5 burrito.
    I know it's a very specific question... but...
    We are trying to create a modular application in our company... and we want to use AdvancedDataGrid (spark DataGrid is not ready yet) so... Please help
    Thanks in advance,
    Deyan

    Create a string with the fully qualified name of the class.

  • Cross-Domain problem

    I'm having a problem with some pictures of the area that I'm loading in Flash. I have all subdomains of the calling area (e.g. "*.") sitewithswf.com') in the policy file cross-domain in the domain that hosts the images I am trying to load in the root. I use Charles to check that all load in properly. The crossdomain.xml file from the domain that hosts the images IS to take and it contain the field making call (well well, with characters generic subdomain) and I even see the image is also getting Charles requested and returned through, as well as a response to "200" for the load HTTP_STATUS. However, my COMPLETE function is never called. I wrapped the load() with a try and it does not fail, and my IO_ERROR is not called. If for some reason, all the world is OK with my SWF get these images, but the COMPLETE is never called. Any ideas?

    You are welcome.

  • The network connectivity status appears as only 'Local' error message ' there may be a problem with your domain name server (DNS) configuration "when trying to diagnose the problem.

    Original title: connection internet wireless Sony Vaio problems

    I get connection "local only" and then when I try to diagnose and repair he said: "it may be a problem with your domain name server (DNS) configuration. He said that this problem cannot be fixed automatically and I have no idea what to do.

    How do you connect to the Internet (method/ISP)? What is a stand-alone computer or a corporate work station? What is the status of virus/malware of the machine? Please give us more details so that we can help you.

    Help us help you:

    http://www.elephantboycomputers.com/page2.html#Tech_Support - See the article "how to write a Post.
    http://support.microsoft.com/default.aspx/kb/555375 - how to ask a Question

    Troubleshooting Internet connectivity

    1 answer to the first and second troubleshooting Questions:

    First Question of troubleshooting: If the problem is new, what has changed between the time things worked and the time they do not have?

    The second issue of Windows troubleshooting: what is the status of virus/malware of the machine? If you think it's clean, what programs (and versions) allows you to determine this?

    Make sure that the computer is clean - http://www.elephantboycomputers.com/page2.html#Removing_Malware

    Many variants of malware will allow a proxy server if you are unable to Internet. Go to control panel > Internet Options > connectivity tab > LAN button. If all is selected in the section Server Proxy, uncheck the box, apply/OK outside.

    2. If nothing has changed and that the computer is clean, what antivirus/security programs are you running? Have AVG 8 or Zone Alarm? These two programs have had updates that caused Internet connectivity problems. I don't recommend either of these programs, but if you want to keep check them on the mftrs.' support websites.

    3. If #2 is not applicable:

    a. unplug the router.
    b. disconnect the modem. (If you have a DOCSIS 3 modem with battery backup, press the Reset button to reset the modem so the lights go out).
    c. wait 60 seconds.
    d. plug the modem (or wait until the reboot is completed) and expect that all the lights are on.
    e. plug the router and wait until all lights are on.

    You now have an Internet connection? Otherwise:

    4. connect your computer directly to the cable/DSL modem. You now have an Internet connection? If so, there is a problem with the router. They do not last forever. Replace it.

    If there is no Internet when your computer is connected directly to the cable/DSL modem, call your ISP because something is wrong with the cable/DSL modem or your Internet service.

    MS - MVP - Elephant Boy computers - don't panic!

  • Now, I have a problem with my domain name, and when I want to publish my site I can't, when you're looking for my website address, you can not found

    Now, I have a problem with my domain name, and when I want to publish my site I can't, when you're looking for my website address, you can not found.

    Hi Esther.

    Are what problem you facing your field?

    What problem face you with the edition?

    Kind regards

    Aish

  • Link with the domain problem

    So, this site that I've just finished has a Flash homepage. My first in CS3 and it seems to work perfectly, except;

    links work when you visit. http://finessecuisine.com

    and the links do not work when you visit http://www.finessecuisine.com

    This is the same file that you see in both cases, so I don't understand what the problem is.

    Available FLA to http://pointbcommunications.com/FinesseHome.zip

    I'll take any advice at this point. Thanks for the research.

    you have an apparent (for flash) issue cross-domain security:

    SecurityError: Error #2137: security sandbox violation: http://finessecuisine.com/images/uploads/FinesseHome.swf cannot navigate window _self http://www.finessecuisine.com/ (allowScriptAccess is sameDomain). Attempted URL was http://www.finessecuisine.com/fc/page/people/.
    Global / flash.net::navigateToURL()
    to MethodInfo-(86)
    function /http://adobe.com/AS3/2006/builtin: apply)
    to gs::TweenLite/complete()
    to gs::TweenLite/render()
    to gs::TweenLite$/updateAll()

    to remedy this, use a local path to your sovereign wealth funds and other assets that you load.

  • Cross-domain SWF problem

    Goal
    My main SWF (let's call it "TheShell.SWF") needs to load another SWF (call it a "TheContent.SWF") using loadMovie cross-domain.

    Problem
    I added the following line to the first picture of TheContent.SWF:
    System.security.allowDomain ("' http://www.example_shell_host.com ' ");

    However, when I opened "TheShell.SWF" on another area if fails to pull in the SWF file.

    I tried specifying the exact path ("' http://www.example_shell_host.com/creative ' "), but this does not work either. Nor is the use of the "*" credits.

    What I am doing wrong? Do I need to add any code to 'TheShell.SWF '?

    See you soon

    Just a quick update.

    After exhausting all other options, I moved the files of two new servers and they worked very well.

    Thank you

  • load the XML file field Companion without cross-domain policy file

    Hello.

    Assuming that there are two areas companions on the same server: /public_html/domain1.com and /public_html/domain2.com

    I'm trying to load the XML from domain2.com in domain1.com without using a cross-domain policy file (since it does not work with xml files in my case).

    So the idea is to use a php file to load XML and read it back to Flash.

    I found an interesting scripts that seems to do the job, but unfortunately I can't make it work. In my opinion, there is somewhere with AS3 part problem. Please take a look.

    Here's the AS3/PHP scripts:

    AS3 (.swf in www.domain1.com):

    location of the xml file you want to load, full http address

    var xmlLoc:String = " " http://www.Domain2.com/MyFile.XML ";

    location of the php xml grabber, regarding the .swf

    var phpLoc:String = "loadXML.php";

    var xml;

    var loader: URLLoader = new URLLoader();

    var request: URLRequest = new URLRequest (phpLoc + "? location =" + escape (xmlLoc));

    loader.addEventListener (Event.COMPLETE, onXMLLoaded);

    loader.addEventListener (IOErrorEvent.IO_ERROR, onIOErrorHandler);

    Loader.Load (request);

    function onIOErrorHandler(e:IOErrorEvent):void {}

    trace ("there was an error with the xml file" + e);

    }

    function onXMLLoaded(e:Event):void {}

    trace ("RSS feed has been loaded");

    XML = new XML (loader.data);

    / / string value, because it is passed from php as object

    XML = XML (xml.toString ());

    xml_txt.text = xml;

    }

    PHP (loadXML.php to www.domain1.com):

    <? PHP

    Header ("Content-type: text/xml");

    $location = "";

    {if (isset($_GET["location"]))}

    $location = $_GET ['location'];

    $location = urldecode ($location);

    }

    $xml_string = getData ($location);

    return the url encoded Flash vars

    echo $xml_string;

    Loops of a URL and returns

    function getData ($query) {}

    / / create resource curl

    $ch = function curl_init();

    / / cURL url

    curl_setopt ($ch, CURLOPT_URL, $query);

    Set some required params for the use of CURL

    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);

    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);

    Execute the loop works and decode the returned JSON data

    $result = curl_exec;

    return $result;

    / / Close the curl resource to free up system resources

    curl_close ($ch);

    }

    ? >

    I think you might be right about / permissions on the server for php settings. Unfortunately I'm not allowed to adjust.

    So I wrote my own script - this time I used the path instead of the http address of the XML file.  It works fine in my case.

    Here it is:

    XML file on domain2.com:

    SWF on domain1.com:

    var imagesXML:XML;

    var variables: URLVariables = new URLVariables();

    var varURL:URLRequest = new URLRequest ("MyPHPfile.php");

    varURL.method = URLRequestMethod.POST;

    variable = varURL.data;

    var MyLoader:URLLoader = new URLLoader;

    MyLoader.dataFormat = pouvez;

    MyLoader.addEventListener (Event.COMPLETE, XMLDone);

    MyLoader.load (varURL);

    function XMLDone(event:Event):void {}

    var imported_XML:Object = event.target.data.imported_XML;

    imagesXML = new XML (imported_XML);

    MyTextfield_1.text = imagesXML;

    MyTextfield_2.text = imagesXML.image [0] .attribute ("thumbPath");  reference sample to assign "thumbPath' of the first item

    }

    php on domain1.comfile:

    <>

    $xml_file = simplexml_load_file('.. /.. / /galleries/gallery_1/MyXMLfile.xmldomain2.com');  Directory of XML file on the same server

    $imported_XML = $xml_file-> asXML();

    Print "imported_XML =". $imported_XML;

    ?>

    Concerning

    PS: for those who have read the foregoing: the first and the second script works but you need to test which one is best for your situation. The first script will work also between two domains located on different servers. No. cross necessary domain policy file.

  • Cross-domain issue

    I've developed a Flex application for a while, using HTTPService to GET XML objects to and remote XML MESSAGE to a web service.  Don't launch the application on my local machine, I had no security problems.  However, I just wore the first instance of the application on our server and I started getting security errors (faultString = "Security error to go to the url", faultDetail = ' Destination: DefaultHTTP "").

    I'm sure that there is a problem between the areas, and I'm communicating with those responsible for the server to get a security policy file that is added to the root of the server.  When I was communicating with them, however, I could not explain clearly why they the server due to add a policy file security for what is mainly a problem of the client security.

    • Am I right that it is a cross-domain issue?
    • Why did I have not this error when I spear the app of my file system?
    • Why is the server responsible for security rather than the client policies?

    Thank you.

    I think that is the point of having a crossdomain file, so nobody can take your SWF, the hack file and mess with their data.

    If you are into Flex Builder, you create the SWF file.

    Once its on the web, the crossdomain file protects the data and your SWF of piracy.

    If this post answers your question or assistance, please mark it as such.

  • Cross domain AJAX calls work on browser, but not on ripple/Simulator

    The question I faced is I call of cross-domain ajax using jQuery for the facebook site using an access token. This call works on Chrome and Firefox, but fails on the Simulator and ripple. I have setup my file config.xml with the proper access flags.

    My related code is below (cut).

    var fbData = { access_token: _fbToken };
    var fbUrl = "https://graph.facebook.com/me";
    
    $.getJSON(fbUrl,fbData, function(data){
       // Some code here
    });
    

    I also tried using the extended method of $. ajax() and JSONP specifying the data type, but it is the same problem.

    I looked in the Inspector on the drive and I see that no host header is set, but Chrome or Firefox will automatically fill "Host: graph.facebook.com" in the request header. I wonder if this is the problem?

    Demand is just stuck as 'pending' in the network tab.

    JSONP requests in jQuery, you cannot alter the headers (so not in available beforeSend setHeader).

    I don't have the chance to test it on the device but wonder if other people have faced this problem.

    Well, for those who falls on this issue, the problem does not occur on the device (AFAIK). I ran on a device OS6 and things were good to go.

Maybe you are looking for

  • Intermittent failure to detect the screen on startup on the Satellite X 200

    For awhile now, my X 200 suffered intermittent problems with the screen. When turn he will deliver a long and two short beeps and then proceed to start but without the screen. I normally feed the cycle several times and find that it sorts itself, but

  • Tecra M2: Can I replace the video card integrated?

    Is it possible to put a new video card for Tecra M2? Pls answer... Thank you :D

  • Podcast app not explicit audio and video podcasts on Appletv 4 (gen)

    IS their a fix for this problem.  Podcasts audio and video podcasts play fine. When I try to play or to subscribe to a podcast with content explicitly. A warning, it does not support explicit content.

  • USRP N210 connect through SWITCH GIGABIT

    Hello A quick question to make it easier to work.Now, I use 2 computers to the internet and work with the USRP. Is it possible to connect my computer AND usrp to a gigabit switch so I can use internet and at the same time the USRP? The subnet I recei

  • 5530 HP does not print

    Have had my HP 5530 for 1 years.  It copies fine.  Put it up wireless.  However, most of the time when I try to print something I get an error message that it cannot print the document.  When I go to the queue it is said that there is an error.  Don'