We are having some issues when calling getURL while other processes are
running ( components still being loaded, or RemoteCall returning data). We
isolated the problem in the application below. Click on Test without
checking off the delay button, and a Word document is downloaded from the
URL. Click again but now check off the delay button, and the Word document
is never downloaded. It seems like the request is being aborted somehow.

Any ideas?

Thanks

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>
<mx:Script>
<![CDATA[


 public function myInit()
 {

                   getURL("http://www.shaunakelly.com/word/sharing/test.doc
","_self");
                  if( delay.selected)
                  for (var i:Number=0; i < 10000; i++)
                  {
                        for ( var a:Number=0; a < 1000 ; a++)
                        {
                        }
                  }

 }

]]>
</mx:Script>

      <mx:Button label="Test" click="myInit()"/>
      <mx:CheckBox label="Delay"  id="delay"/>
</mx:Application>

---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to