Flash Freezes up on frequent calls to XMLSocket.OnXML event handler.

Hi Everyone,
I am trying to plot data received in real time on my chumby device which supports actionscript 2. Flash however freezes due to the high data rate of my application. Does anyone know of a way to avoid freezing up the GUI due to the seemingly intensive socket communication?
Thanks in advance for your help.

Hello everyone -
Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

Similar Messages

  • Calling the on(press) event handler

    Preface
    Typically when you set an event handler function for buttons by code, like:
    mybutton.onPress = function(){
             trace("Hello!");
    you can access and call this event handler function by:
    mybutton.onPress();
    and it will execute the function and trace "Hello!".
    Question
    But when you set event handlers on the button itself, like:
    on(press){
             trace("Hello!");
    is that event function accessible from code? how? I know there would be a property that you can access it by, maybe we can "decompile" an SWF to check out finally which property it stores the event code in, or would any of you have any idea?
    mybutton.onPress();   // This does not work!

    I don't know why, but I think it is like this. When you call the onPress() function, it will find a function called onPress, which is the onPress = function(). If you are just curious to know the answer, it is fine. If you really want to solve the problem, make a function ( for example pressed), and use mybutton.pressed(). And at the on(press) code, simply add pressed();

  • How to call a view without event handler onaction method.

    Hi Experts,
    I have develop a WD application. It has three views let view1, view2 and view3.
    In view1 one button is there (onaction) which navigates to view2 through outbound plug  wd_This->Fire_Out_Screen1_Plg(   ). where Out_Screen1 is outbound plug of view1.
    Now view2 appears , I want that after 10 seconds view2 automatically call view3, without action on view2.
    I have written like  wd_This->Fire_OUT_SCREEN2_Plg(  ). where OUT_SCREEN2 is outbound plug of view2, which navigates to inbound plug of view3.
    But its not working. Please suggest how to and where to write code to call a view without action .
    for ur ref.

    Hi Bhagat,
    Yes, you can attach media objects into a view
    Using IFRAME ui element and html mime object.
         Please refer the below link
    To insert video in webdynpro - Web Dynpro ABAP - SCN Wiki
    Using Flash Islands
              Here, you need to have your audio/video file as flash object
         Please refer the below tutorial on flash islands( a generic example )
         Adobe Flash Islands for Webdynpro ABAP
    Hope this helps you.
    Regards,
    Rama

  • Call page in a event handler ?????

    Hi all
    i have developed a screen , here i have  1 button called "SAVE "
    in the SAVE Button event(On input Processing )  i am calling a RFC , after this RFC  has been executed, i have to display a one page , how its posible ,????
    have to do in layout t Event handler

    Hi,
    take the navigation object: navigation->goto_page( 'my_page.htm' ).
    Regards,
    Stefan

  • The streaming video freeze down very frequently,e.g youtube videos.

    I can not watch a streaming video uninterruptedly. It freezes down very frequently for 10-20 seconds and then again starts working.

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can check for problems with current Flash plugin versions and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting

  • Flash freezes on Mac G5, dual 2,5 MHz

    Ever since I upgraded from Flash MX 2004 Professional to
    Flash Professional 8 on my PowerMac G5 it doesn't run. All I can do
    is
    open the software but as soon as I click on a menu or a
    button, whatever, like changing the size it freezes instantly. I've
    searched the forum and every possible place to find any answer that
    can solve my problem but it seems like I'm alone with this, I can't
    find any information anywhere. I've even tried to un-install and
    re-install Flash again but same problem still occur - freezing. Has
    anyone had the same problem on a Mac G5 with dual 2,5 GHz
    processors, in that case – what did you do to solve the
    problem? I'm out of ideas and can't figure out more.
    My specs are:
    PowerMac G5 (2005), dual 2,5 GHz processors
    Boot ROM-version: 5.1.8f7
    Systemversion: Mac OS X 10.3.9
    Kernel-version: Darwin 7.9.0
    1 GB RAM memory
    Apple 20" flatscreen, 1650 x 1050 pixles resolution
    Flash Professional 8, upgrade (Flash worked fine before the
    upgrade!)
    All other Studio softwares I upgraded run and work great,
    except for Flash.
    Please help me, I need HELP!

    I also have to add: I can't even click on Preferences in
    Flash, nothing. It freezes instantly. It run as long as I don't
    touch ANY button or menu in Flash, as soon as I do anything, touch
    a menu or button Flash freeze.
    Anyone know what to do? Or shall I throw it out and install
    an earlier version like MX 2004 Professional, that version of Flash
    worked. Please, please, please... Help.

  • How do I add most frequently called numbers

    How do I add most frequently called numbers?
    Thank you,
    Marilyn

    If you mean call favorites, open Phone, tap the Favorites button at the bottom, tap the plus sign at the top, choose the contact and number you want to add.

  • CAN SOMEONE PLZ TELL ME HOW TO SHUT OFF THE LIGHT FROM FLASHING WHEN I RECIEVE A CALL?

    CAN SOMEONE PLZ TELL ME HOW TO SHUT OFF THE LIGHT FROM FLASHING WHEN I RECIEVE A CALL?

    Settings>general>accessibility>led flash alerts off

  • Last called list?? Customized frequent called lis...

    On my old phone, I could press the down arrow on the 4-way key pad, and up would pop a list of my few, frequently called contacts.
    Is there any way of doing that on Nokia phones?
    I have a 6085. I've set up My Shortcuts and it shows a long scrolling list of contacts, including many preset ones. One alternative is "All Calls", though I'd really like an option of showing recent calls or a subset of my contact list.
    Any suggestions?

    On my old phone, I could press the down arrow on the 4-way key pad, and up would pop a list of my few, frequently called contacts.
    Is there any way of doing that on Nokia phones?
    I have a 6085. I've set up My Shortcuts and it shows a long scrolling list of contacts, including many preset ones. One alternative is "All Calls", though I'd really like an option of showing recent calls or a subset of my contact list.
    Any suggestions?

  • Photo flash goes off with each call or timer. Any clue?

    my iPhone photo flash goes off w/ every call or timer?
    any clue would help. thank you.

    This is covered in the User's Guide and is a feature that must be turned on.
    Settings > General > Accessibility > LED Flash for Alerts

  • What is the solution to frequent call drops on iphone 5

    Hi ,
    I am a customer using iphone 5 . I  get frequent call drop on my iphone 5 from the day , i have started using this. Saw on apple forums that, its a common issue across the world. Can some one help me how to get this resolved.
    This is very critical, i am forced to get it changed.....
    Is it something to do with upgradation of software or so..... Pls guide.
    Binil.

    Resetting internet en then all settings , changing cases and finally doing complete restore did not fix mine.
    I had screen replacement but phone worked for 11 months after that before proximity sensor started giving problems.
    That made me think that it could be software because it would have given trouble immediately after screen replacement if inlet of too much light from non-OEM screen was at fault.
    Turned off Facetime in Settings fixed problem.

  • My iPhone is acting up again; freezing up during phone calls and now the head phone jack intermittently doesn't work.

    I got my iPhone 5 back in February 2013 and for the most part of the year I enjoyed it. Then I started having issues with it. First of all the WiFi randomly quit working. I didn't even update it. So I tried updating it, resetting, and restoring it. While it was under warranty I tried getting the issue fixed, but Apple CS blew me off saying it was accidental damage and I should have gotten Apple Care. This time Verizon covered their *** and replaced the phone for me even though it was out of their 6 month warranty period. I think I posted this experience before.
    Now my iPhone is acting up again. It first started freezing up during phone calls and now the head phone jack intermittently doesn't work. Again, resetting, restoring, and updating it did not fix these issues.
    <Re-Titled By Host>

    The original issue they didn't state exactly why it was Accidental Damage. After running through some troubleshooting, they just stated it was Accidental Damage and that I should file a claim with my insurance, and that Apple Care would have covered it; then closed the request.
    I've tried resetting settings, restoring it as new, and that was a no go. When it freezes up during calls I also have to perform a hard reset by pressing and holding both the power and the home buttons to get it functioning at all again(just completely freezes, won't respond to touch or home button.) I noticed that the proximity sensor isn't responding as well, so I have to tilt it away from my ear while in a call to keep from pressing the buttons on the touchscreen with the side of my face. I avoid phonecalls now, and text exclusively.
    I don't live anywhere near a Genius Bar so I'm stuck with the online support to Apple. And since I don't have a landline, I get charged for their phone support so I tend not to use it.
    Getting two lemons in a row seems coincidental so I'm wondering if it's a bad batch Verizon got then distributed out.

  • I bought my iPhone 5 three months ago and it keeps freezing, especially after making calls. What is the problem?

    Not sure what to do. Will Apple Support cover it?  Will it need to be replaced?

    I have had the same problem.  Between 8-10 minutes into a call the phone freezes and drops the call.  I cannot do ANYTHING for about 45 seconds while it says CALL ENDING.  I cannot use the phone at all and if anyone tries to call me it goes straight to VM.  I am on my 3rd iPhone 5 now due to this issue and another issue of a bad speaker.  I have restored, restarted, spent hours setting it up as a brand new phone all for not.  It still drops the call and freezes.  Makes me so mad.

  • If the flash object is placed in 0px div, the creationComplete event is fired after a long wait time

    <Problem>
    My requirement is to hide flash object on browser. However, If the flash object is placed in 0px div, the creationComplete event is fired after a long wait time. Is this a bug of Flex? (or Flash Player?)
    <Sample Code>
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
              initialize="app_initialize(event);" creationComplete="app_creationComplete(event);" >
    <mx:Script>
            <![CDATA[
            import mx.events.FlexEvent;
        private function app_initialize(evt:mx.events.FlexEvent):void
                  ExternalInterface.call("alert", "application initialize.");
        private function app_creationComplete(evt:mx.events.FlexEvent):void
                  ExternalInterface.call("alert", "application creation complete.");
        private function button_creationComplete(evt:mx.events.FlexEvent):void
                  ExternalInterface.call("alert", "button creation complete.");
            ]]>
        </mx:Script>
        <mx:Button id="testButton"  label="button"  creationComplete="button_creationComplete(event);"/>
    </mx:Application>
    <Steps to reproduce>
    1) Dowload the following samples
    MySwf-src.zip
    https://files.acrobat.com/a/preview/c6b7a191-c6c4-486f-9345-e2b5c21a4c0b
    TestSwf.zip
    https://files.acrobat.com/a/preview/98e613e1-63b1-4b2f-93f3-f6e4f4a27f24
    2) Unzip TestSwf.zip.
    3) Copy MySwf.swf, TestInvisible.html, and TestVisible.html to "c:\inetpub\wwwroot\". (Need to install the IIS.)
    4) Visit "http://localhost/TestVisible.html" via IE. notice the creationComplete event fired after initialize event immediately.  -- Correct
    5) Visit "http://localhost/TestInvisible.html" via IE. notice the creationComplete event fired a long time after initialize event.  -- Incorrect
    <Environment>
    Win8.1x64+IIS8.5+IE11+Flash player(13.0.0.182)
    <Note>
    If the flash object is placed in 1px or larger div, the creationComplete event is fired immediately.
    The problem occurs with other browsers(IE9,IE10,FF,Chrome) too.

    Thank you for your response. The computers are indeed running Flash Pro CC 13.1.0.226. I tried to generate a minidump file on four different computers where Flash Pro hung, but was not able to do so on any of them as Flash Pro makes the entire system unresponsive. I get the spinning circle cursor and then the GUI of all apps greys out and fails to update. I don't actually get any sort of error message; everything simply stops responding.
    I was probably unclear above; even if I can alt-tab I can't really interact with any other programs once Flash Pro hangs beyond one or two mouse clicks. So on some computers I could right-click on the process in Process Explorer and choose to create a minidump, which then froze, or I might right-click on the process and have it immediatly freeze. I've experienced about two dozen crashes and I've never been able to really use another program or even kill the Flash process in task manager. I also have to power off the computer by holding down the power button, since while I might be able to open the Start menu I can't reach the point of being able to shut it down without it freezing.
    From what I was able to see in Process Explorer, Flash Pro was using <1% CPU and 120M private / 170M working memory.

  • Call event handler programatically

    Hi, I have a function that handles a change event from a
    combo box. The problem is that, I also want to call the function
    from within the program, but the function is waiting for a change
    event. Is it possible to call an event handler
    programatically?

    if you're not using the event that is passed to the event
    handler, then you can initialise the event to null, which means
    that Flash won't worry if no event is passed to the event handler,
    and you could either call this as a function or use it as an event
    handler eg:
    function comboChange(event:Event=null):void
    if you were using the event handler(which is probably the
    best idea to target the combo from event.currentTarget rather than
    directly in case you want to extend this handler in future), then
    it might be nicer to do this sort of thing:

Maybe you are looking for

  • Error in updating secondary stateful session bean

              Hi all,           I have set up a cluster of 2 managed servers with WebLogic 6.1. I have a           stateful session bean and several stateless session beans. the stateful           session bean keeps user info and limited cached objects,

  • Set Default Save Location for All Programs

    What I need is a program that will set the default save folder (in all programs) to the same folder the current file came from. If I do a "Save As" I want the folder in the Save dialog box to always be the folder the file is in. This was brain-dead e

  • I can't open Final Cut Pro x after it crushed

    I can't open anymore Final Cut Pro X after it crushed while I was editing footage for 10 minutes. Can you tell the reason and what could I do to resolve it? Thank you

  • New Retina Macbook pro 15 Haswell system yellow screen??

    Can someone comment or verify if there is a problem with the New Retina Macbook pro 15 Haswell system screen?  Something concerning a yellow screen.  Is this a problem?

  • With query and table access

    I am using WITH query to reduce the scanning the teacher table thrice for the below query xe > with q as   2  (select  teacher_id,subject_1,subject_2,subject_3 from teacher   3  )   4  select teacher_id,subject_1 from q   5  union all   6  select tea