Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6386955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:05:33+00:00 2026-05-25T03:05:33+00:00

I have a caching problem in my action script, and to get over it

  • 0

I have a caching problem in my action script, and to get over it i added the timestamp as recommended:

var urlRequest:URLRequest = new  URLRequest("http://mydomain.com?time=" + new Date().getTime());
var urlLoader:URLLoader = new URLLoader();                  
urlLoader.addEventListener(Event.COMPLETE, function(evt:Event) {    
...
});
urlLoader.load(urlRequest);

but am getting the following error:

Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://mydomain.com ?time=1314645911941
    at Main/Operate()
    at Main()

If i paste it in the url in the browser it loads fine, i guess the problem is coming from the A.S,

any idea y?
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:05:34+00:00Added an answer on May 25, 2026 at 3:05 am

    You have an un-handled event ioError

    urlLoader.addEventListener(IOErrorEvent.IO_ERROR, function(evt:Event){trace(evt.toString)} );
    

    Chances are your application is having an issue with loading it and can’t report it to you due to no event listeners for that event.
    There are a few events when loading any outside data,image,SWf, or anything really that you need to handle just to be sure and will help with debugging.

    Here is a list I try to always imnplement

    urlLoader.addEventListener(ErrorEvent.ERROR, errorHandlerErrorEvent);
    urlLoader.addEventListener(AsyncErrorEvent.ASYNC_ERROR, errorHandlerAsyncErrorEvent);
    urlLoader.addEventListener(IOErrorEvent.IO_ERROR, errorHandlerIOErrorEvent);
    urlLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, errorHandlerSecurityErrorEvent);
    
    
    urlLoader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
    urlLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, infoIOErrorEvent);
    urlLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
    urlLoader.contentLoaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler )
    

    Oh yeah and please please use named functions not nameless ones.
    This is an OOP language and nameless functions are not good OOP at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In particular what strengths does it have over caching features of Asp.net
I am experiencing a problem with IE caching the results of an action method.
For the caching purpose I can't have url like /users/2/index?month=2009-02 . The problem with
I have problem with synchronizing results of function I get with AJAX with that
Problem : I have to create a number of tables for caching some amount
I have read the documentation for the CI Caching but still don't understand much
I have read lots of information about page caching and partial page caching in
Recently I have been investigating the possibilities of caching in ASP.NET. I rolled my
I have a colleague who is looking into opcode caching/Zend Acceleration (I've always assumed
If I plan to use data caching do I have to worry about conflicts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.