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 7189515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:19:09+00:00 2026-05-28T19:19:09+00:00

I am aware that Action Script does not provide multithreading so when writing flex

  • 0

I am aware that Action Script does not provide multithreading so when writing flex application we are limited to work on one thread. which is ok for rendering my UI.

However some questions arise when preferring flex over silverlight:

  1. As a UI layer single thread is good enough but is it fair to assume that for Aync httpservice like operations in flex , internally it would use some worker threads to manage the async operation and then come back to the main thread ? it looks like it does since my UI does not freeze.
  2. Can the flex/flash player deal with multiple httpservice calls in parallel ? ( e.g more than one section of the UI loading data at the same time.)
  3. How about the animation stuff ( e.g the parallel animation ) – does flash player internally leverages some threading for accelerating graphics or is it all done on the UI thread ?
  • 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-28T19:19:10+00:00Added an answer on May 28, 2026 at 7:19 pm

    but is it fair to assume that for Aync httpservice like operations in flex , internally it would use some worker threads to manage the async operation and then come back to the main thread

    No.
    Processing of the response data occurs in the same thread as updating the UI. For example, if you return 5,000 AMF objects in a single call, the Flash Player will deserialize these on the thread, which will cause the UI to freeze.

    Internally, the browser may be using threads to manage the loading of the response from the end URL. However, once the response has been returned, and handed off from the browser to the Flash player plugin, the deserialization and processing of that data occurs on the main thread.

    Can the flex/flash player deal with multiple httpservice calls in parallel ? ( e.g more than one section of the UI loading data at the same time.)

    Yes.
    The limitation here is enforced from the browser, in the maximum number of concurrent HTTP requests that the browser. This varies from browser-to-browser, but generally speaking, it’s fine (and encouraged) to send multiple requests to backend services.

    It’s worth familiarizing yourself with AsyncToken, which is Flex’s main class used when handling concurrent calls, ensuring that the request and response are matched together.

    Be aware that most classes in Flex which are used for communciating with remote services (eg., HttpService and RemoteObject) expose a concurrency property, which defines how the object should react to multiple concurrent requests. (Allowing the developer to explicilty allow or prohibit it).

    How about the animation stuff ( e.g the parallel animation ) – does flash player internally leverages some threading for accelerating graphics or is it all done on the UI thread ?

    This is not my area of speciality, and someone may correct me. However, I believe that Flex creates animations by generating a series of KeyFrames which change the properties of values on a UIComponent over time, and then executing them. (The execution occurs in the same thread as everything else).
    Therefore, Parallal animations are generated by aggregating the targets for the keyframes, and executing them together.

    eg: Keyframe n at ms300 = { UIComponent1.x = 300; UIComponent2.y = 300 }

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

Sidebar

Related Questions

I'm aware that Python 3 fixes a lot of UTF issues, I am not
I am aware that MySQL and PostgreSQL[1] do not have that concept, so I
How can I create a security aware action link that detects if a user
I am aware that System.Threading.Timer exists, but I already have a Thread. This thread
I'm writing powershell script that simulates actions performed by user on the page. I
I aware that this will be a less programming question, but still... How can
I am aware that in .NET there are three timer types (see Comparing the
I am currently aware that ASP.NET 2.0 is out and about and that there
I'm fully aware that set division can be accomplished through a series of other
I am aware that you can lock an object in c# using lock but

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.