XHR call does not work in Edge animate 1.0?

I am a developer of meteorological applications and worked a lot with Flash and HTML 5. Now, I'm testing the Animate thing on cloud to Adobe.

Here's my problem:

I try to call a txt file to my server within a composition Animate. However, I don't have the text of the response.

On stage, I placed the global variables in order to access it from any scenario of symbol or any other trigger function;

MY_XHR = new XMLHttpRequest();

MY_FILE_LOCATION = " " http://myserver.com/myFiles/init_stuff.txt ";

MY_RESPONSETEXT = "";

On stage > onCompositionReady I placed this function

SYM.init_myStuff = function() {}

MY_XHR.onreadystatechange = function() {}

If (MY_XHR. ReadyState == 4) {}

MY_RESPONSETEXT = MY_XHR.responseText;

Alert (MY_RESPONSETEXT)

}

}

MY_XHR. Open ("Get", MY_FILELOCATION, true);

MY_XHR. Send();

}

In an action of a timeline of symbols, I finally placed

sym.getComposition () .getStage () .init_myStuff ();

I get the alert window (so there is no problem with the general idea), but without the expected text.

Knowing that the problem is always between my ears, I appreciate any idea what the problem is.

Thanks a lot for your help.

Piloted it drives me crazy, but finally - solved:

It was a political matter even. Txt file is located at www.mydomain1.com and the anination is located at www.mydomain2.com. Try to call the mydomain2 mydomain1 does not work.

When I included the txt file in the folder of www.mydomain2.com animation, everything works fine.

So be sure to include all external files in the directory on the server of your aninamtion.

PS: This is also the reason why an iframe added interactions were not possible in FF, Opera and IE9. After you put the HTML code of the pages on the same directory the iframe worked as expected. Like I said: the problem is always between my ears...

Tags: Edge Animate

Similar Questions

  • Simple drag & drop with Manager does not work in Edge?

    Hi all!

    I made this very simple example drag-and - drop on board: http://www.terredainventare.it/simpledrag/simpledrag.html using Jquery Ui http://docs.jQuery.com/UI/draggable .

    I try to use the property of "handle" JQueryUi which makes you drag an object restricting drag by clicking on a single element, but it does not work.

    Here is the code that I put in onCompositionReady edge:

    SYM. $("drag") .draggable ({handle: "handler"});

    Of course, my two Div elements are called "drag" and "Manager". Now the brake only works on element 'wrong' and not on the 'handle '...

    Here are the files Adobe Edge: http://www.terredainventare.it/simpledrag/Web.zip

    Thank you very much in advance for your help!

    Davide

    OK Joel, I solved it!

    The handle-div must be nested in the drag-dive to make it works!

    Here is the picture:

    Thanks a lot for your help!

    Davide

  • Why google phone call does not work in firefox version 21.0

    phone call from Google works great in safari and chome browsers but not in firefox. He keeps asking to install the plug-in, but it still does not work. This is a problem for a long time.

    John

    Check to see if the installed Google talk software is up-to-date by running the

    plugin check

  • Solved: Webservice Playbook call does not work

    I developed an application Webworks, loosely based on the thread "how I would call a Webservice" and it works very well in the development environment, great in a Blackberry Torch, which is great in the playbook Simulator, but does not work when it is deployed Live from a playbook.  The compilation seems fine.  Find the looks to deploy, the bar is signed without error.  Life should be good!

    The web service is sitting on a server in-house, available on our company intranet, but not the internet.  We use BES.  When I fill the Playbook, I can use the browser open to see the webservice.  The torch, which I'm thrilled to the can run the application very well.  When I run the application on the playbook, however, I get nothing.

    Y at - it an option of setting or configuration I need to use to make this work?  I think that if it works in the Simulator, and if I can get to the site via the browser open, I'd be OK.

    Any help would be greatly appreciated!

    UPDATE: Stipid programmer thing... I had to adjust the white list.  For some reason, the Simulator did not care, but the real instrument don't!

    Yes, adding the item fixed the problem.

    It is a web service that is hosted on an internal server.  The server IP address is 10.x.x.x, so it is not reachable from the internet.  We do not currently have VPN.  I did some checking, and it seems that it is able to reach the server via WiFi.  I had assumed that he was using the bridge.

    It is unfortunate that the WiFi is the only option, because as soon as I leave the building, I have more access to my internal data stores.  It is good to hear that it's something that you're talking, but dissappointing is not available yet.

    Thank you.

  • SMS and call does not work after a long operating life

    I use the flame, stable channel, and after a few hours I do not receive calls or Sms I have to wake up the phone or restart.

    When it occurs, my ears calling the ring but my phone does not ring. I get text messages hours after that they sent to Bern.

    This problem makes the phone useless, especially for everyday use!

    Hello
    You can try the latest stable or nightly builds of flame versions. We always recommend to use the stable versions. Current stable version is Firefox OS 1.4
    From here you can download versions:
    1.4 Firefox OS: Firefox OS 1.4 - flame
    Nightly: Firefox, OS every night - flame.
    Also, there has a picture of Nightly Build available for the flame of Codingfree informal. You can download it here. | Versions of Firefox OS

    Although we do not recommend to use every night, if you wish, you can try.
    Concerning

  • User32.LLB call does not work after compilation

    I am trying to determine if running the LabView program has the focus, and I realized that when I run the program in LabView, but as soon as I compile and try to run the program it freezes and spits out this error.  The program worked end until I added the User32.llb calls.  If anyone has ideas of how to do to solve this problem would be great.

    Thank you

    Mike

    Make sure you have only user32.dll in the control of 'the library name or path' in the configuration of the node library call and not the entire path to him. Also, make sure you don't end up with a copy of user32.dll in your data inside your built-in application directory folder. All the core Windows dll may not be be copied like who will be upset Windows resources management seriously.

    Having only as the name of the DLL in the "name of the library or the path" tell LabVIEW that this DLL must be considered pre installed on the target system and must not be copied in the generation of the application. It is documented in the online help for the node library call. All Windows DLLs should be treated like this and any other driver DLL that comes with its own Installer and is installed in the or the Directory.

  • 10.2 official - "called" does not work

    Hello

    Do you know if nothing has been changed in the 10.2 official? After yesterdays updated (v 10.2.0.424, os 10.2.0.1791) my request is more visible in the SEARCH EXTENDED screen as one of the target of the invocation.

    Previously, I used 10.2.0.17xx leaked os (do not remember) and I'm sure that it worked.

    Kind regards

    I have tested our sample here: https://github.com/blackberry/BB10-WebWorks-Community-Samples/tree/master/Extended%20Search

    On this version of 10.2 and it worked as expected. Can you compare your application to the sample and see any differences? The important part is in the config.xml file.

  • Yahoo Messenger 11 video calls does not work in Windows 8

    before that I spend in windows 8, I use every day Yahoo Messenger video call... I didn't have problems. but after I updated my Windows 8 operating system, I can video call and receive a video call on my computer...

    I tried to reinstall YM, but in vain.
    Help, please.
    THE PROBLEM COULD BE SOLVED!

    Now, I tried another thing und could solve the problem.

    IT SEEMS THAT ONLY THE NEW VERSION OF YAHOO MESSENGER PRODUCE PROBLEMS RELATED TO VIDEO CALLS AND VOICE.

    First of all, I tried old Versions of Yahoo messenger on the internet.
    And found this link:
    http://www.OldVersion.com/Windows/Yahoo-Messenger/
    From there, I download the 10.0.0.1270_ymsgr1000_1270_us version
    After uninstalling all components of Yahoo, including the buggy ymsgr1150_0228_us version
    I installed the version 10.0.0.1270_ymsgr1000_1270_us.
    THE END RESULT IS: EVERYTHING WORKS FINE.
    What can we learn about it. TRY AND ERROR sometimes leads to a good result.
    My best wishes to the members of all the parties concerned to this problem. Happy new year 2013.
  • Repeated Ox8004fe21 calls 'does not work windows genuine' even though I am.

    Because of this common windows error shared by many others, I'm unable to receive windows updates and I don't know where to find the tool of diagnosis to begin to solve this problem.

    Click on the ORB start

    in the search box, type installed updates

    Click on the link found for "view installed updates".

    Wait for the window to find all updates (may take a minute or two)

    In the search box, type KB3004394

    You should get a response (what date it was installing on?)

    Select the entry, and then click on uninstall.

  • Dbms_output.put_line call does not work

    Greetings,

    I would be grateful if someone could help me

    I created the following slider:

    DECLARE

    CURSOR cursor_condition (v_duration_modifiee number) IS

    Select * from param_condition

    WHERE v_duration_modifiee > min_condition

    AND v_duration_modifiee < = max_condition;

    BEGIN

    FOR record_condition IN cursor_condition (3.8)

    LOOP

    dbms_output.put_line ('test' | record_condition.id_condition);

    END LOOP;

    END;

    If I run the script according to whether I receive anonymous block finished, but I can't see the output to the screen.

    concerning

    You issued a SET SERVEROUTPUT ON, before you run the block?

    How did did you run it? SQL * more? TOAD?

    SQL > set serverout off
    SQL > start
    2 dbms_output.put_line ("'Hello world!");
    3 end;
    4.

    PL/SQL procedure successfully completed.

    SQL > set serverout on
    SQL > start
    2 dbms_output.put_line ("'Hello world!");
    3 end;
    4.
    Hello world!

    PL/SQL procedure successfully completed.

  • IPhone 6s - microphone does not work on all applications except camera and calls

    Hey, I don't know exactly know what happened with my phone. Suddenly, my microphone work on LINE, Whatsapp and almost all other applications that use mic. Except, camera and when someone call me on my number.

    But it does not work on whatsapp and LINE calls. And it also does not work when I snapchat. Only works on the default camera Apps and call through my number.

    I tried:

    -restart my phone

    -hard reset and blink? Reset with the power and the "home" button.

    -read the micro support page. Still no solution.

    TL; Dr:

    my microphone does not work on every apps on my phone except calls through number and approx. of default camera it gives you just that silence when I play it on voice notes. But it works when I record yourself using videos on the default camera app.

    Hello Bllacke,

    Thank you for using communities of Apple Support.

    I see from your post, some applications have a problem to access your Microphone. I know how it is important to ensure that your applications have access to the Microphone and can use this feature. I have a few things I want to try.

    First, tap Settings on your iPhone and then scroll to the last section that lists your apps. Select the applications that use the microphone and make sure that the Microphone is activated (green).

    Then, follow the steps in the article below to close these applications:

    Force a nearby application on your iPhone, iPad or iPod touch

    Then, test the microphone in these applications again and see if it works.

    Best regards.

  • Firefox does not (Cup) of the lower edge and the right edge of the graph. IE10 does not work.

    Firefox does not (Cup) of the lower edge and the right edge of the graph. IE10 does not work.
    Office Windows 7 2009 service pack 1 Firefox 26 Internet Explorer 10
    Flash player version 11.9.900.170 plugin 11.9.900.170 activex version used by Firefox

    Problem began late November when Miniclip.com forced updated flash player to version above
    -C' was when they started to play a video advertising in the game box before you could start.

    Have screen shots of IE10 and Firefox26 side-by-side clearly showing the problem - how these can be downloaded for see you? E-mail? Web site? This place seems to be text only?

    In the meanwhile the grandchildren and self have learned to use IE10 instead of Firefox that we prefer.
    Their House of Windows XP has same Flash Player in Firefox and it works fine.

    Downloaded two screenshots on Media Gallery.

    You can not attach a screenshot in the first row who starts a thread, but you can do it in subsequent responses.

    Try disabling hardware acceleration in Firefox (you will need to close and restart Firefox).

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    See also:

    Reset the zoom of page on pages that are causing problems.

    • View > Zoom > reset (Ctrl + 0 (zero); 0 + Command on Mac)
  • iPhone 5 s microphone does not work during phone call

    Hello! My iphone 5s works really well, sensors, speaker, camera, all right. Similarly, the microphone works really well when I make a call using 'whassapp', 'line', etc and I can record video, talking to Siri, using voice memo and once more my microphone works really well. BUT! When I make call and receive phone call my microphone does not work, they do not hear my voice at all. What will happen with my microphone when you use the cell phone call? HELP ME PLEASE!

    Try resetting your device. This will not erase your data stored on that device.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    If that doesn't work, restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

    As a final step, try recovery mode. Turn off your unit, then plug it to your computer with the hold home button. Hold down Home button until you see the logo of iTunes on the screen of your device. After that on your computer, you should see the iTunes window saying that your device needs to be restored to factory settings. Click Restore.

    More info here:

    https://support.Apple.com/en-us/HT201263

    If these steps do not work, contact Apple and ask for help.

    https://www.Apple.com/support/iPhone/contact/

  • Call Forwarding 9.3.1 ios does not work

    After the update of ios of 9.3 to 9.3.1 WHAT CALL FORWARDING does not work

    Call forwarding is a function of carrier. Contact your operator.

  • Android, iPhone does not work (calls phone mode only)

    I just Android where I got a simple application/widget for calls only mode for the night because I need to

    Keep the emergency of grandparents and a few other numbers.

    You just put it up, choose the contacts to include, and it was a simple pressure on the widget at bedtime.

    They said iPhone isn't a similar option? How is that possible?

    I think that you have only Favorites call with no other notifications (can someone clarify?) but I also

    of many favorites for this as a viable option for me.

    Someone said also you can plug headphones during the night and it must allow that phone calls (can someone clarify?)- but

    It's worse than the favorite options because it allows anyone in my contacts list to call.

    So is there an app or an easy way to do this?

    And if not, how BB and Android figure this out and not iPhone?

    We might think of the billions of dollars and great talent could not understand a work around?

    There is no app for this, but do not disturb, that's what you're looking for. It does not work exactly as you describe for the other operating system, but you have a little understanding of how it works for favorites. You can set do not disturb, and it will not have any type of notification. Another option is to prevent anything but calls Favorites, while the other would be to block all calls, but turn on repeated appeals, which would then allow a second call to the same person within 3 minutes to come through. If you do not use your Favorites list because it is too large, then you will need to use repeated calls. If it's important for you, you can return to your Favorites list to see if you could reduce the list to conform to what you want at the times Do not bother or because you want to just family, possibly teach them the capability of repeated calls.

    Back to Apple would go to http://www.apple.com/feedback and click on the box in this area.

Maybe you are looking for