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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:31:51+00:00 2026-05-13T06:31:51+00:00

Driven on by curiosity, I’m trying to understand the Life Cycle used by Flex

  • 0

Driven on by curiosity, I’m trying to understand the Life Cycle used by Flex Application.

So, I’ve done a little research on this argument; the two key concepts used into the FlashPlayer are:

  • SWF Frame: it’s the logical unit that contains graphical code and as code
  • Flash Player Frame: it’s the time interval used by Flash runtime to update the screen and defined by frameRate property

If so, could you explain me the relationship bewteen these two concepts? In particular, are they paired togheter or not?

The main rule is: the Flash Player streams in a swf; until a full SWF Frame is read, the Flash Player cannot render it.

I’ll try to explain what I need to understand. For the sake of simplicity, suppose you have a two frame application: SWF FR 1 and SWF FR 2.

In general (for example in CS4) a frame is considered as a logical unit (delimited by ShowFrame tag) where you can attach as3 code. This as a simplified version of a swf file, i think:

  • Header // frameRate is defined here
  • Symbols, classes etc… // this is FR1
    === ShowFrame ===
  • Symbols, classes etc… // this is FR2
    === ShowFrame ===
    End

If you have two frame, FR1 and FR2, Flash starts executing FR1 and goes to the next one (FR2). If you don’t stop the excution, the Player executes and renderes code contained into FR1 and FR2 through an infinite loop. On the contrary, when you stop the execution, for example in FR2, the flash player loops executing code contained in FR2.

So, can Flash Player Frames took place many times per SWF Frame?

When FR1 is downloading (FR1 is not fully loaded) is there any enterFrame events or not? Does the first frameEvent take place when the FR1 is fully loaded? During what period of time is FR1 rendered?
An other scenario, if you have called the stop command into FR1, you will get enterFrame at the rate you specify (the current frame is FR1). Meanwhile FR2 is downloading. When it’s finished, you go to the next frame (FR2). During what period of time is FR2 rendered? Does Flash Player try to render FR2 to its next time interval?

Take in account this simple sequence:

  1. FR1 is downloading
  2. FR1 is fully downloaded
  3. FR1 calls stop() method, meanwhile FR2 is downloading
  4. FR2 is fully downloaded
  5. Go to FR2
  6. FR2 calls stop() method
  7. And so on

Could you underscore for me when Flash Player enterFrame events take place?

Thank you for your time. Best regards, Flex_Addicted.

  • 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-13T06:31:51+00:00Added an answer on May 13, 2026 at 6:31 am

    Though it looks like you have definitely been looking into things, some of your assumptions are incorrect.
    Flex is Flash code written up into one pretty framework. So everything comes down to frames which are a mixture of code executing and the results of that code executing, rendering. When all the required code has executed and the rendering process is complete, the frame is complete and the flash player moves on to the next frame.

    So then your enterFrame is called.

    Now it isn’t typical as a Flex developer to be listening for the enterFrame event.

    To understand Flex Apps, you just need to think that they are Flash apps, with the first frame being a loading frame, and the second being the app. It is the subparts and their individual timelines that make up all the rest of the frames. This concept definitely confuses people because then they believe that the enterFrame should only be called twice, this isn’t the case.

    The next wrong assumption many people has is that just because “no code is executing” that the frames aren’t still being called. This also isn’t the case. Just because something isn’t changing doesn’t mean that frames aren’t being called and – without the appropriate checks – large amounts of processing aren’t happening.

    HTH

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

Sidebar

Related Questions

I'm learning domain driven design. I am currently trying to write a simply application
This problem has driven me crazy, it's been 5 days I'm trying to solve
A GUI driven application needs to host some prebuilt WinForms based components. These components
I have an event-driven application based on MDB, spring integration and JPA for persistence.
In our domain-driven application, we use a type called ServiceResponse<> to send data between
I am using mysql driven application where in all data comes from mysql and
I created an data driven ASP.NET MVC Application locally and it works fine. Within
This is a database driven menu that IE6 likes fine but modern browsers not
I have a database driven navigation mainly composed of two tables: menus and a
I build database-driven web sites. Previously I have used Perl or PHP with MySQL.

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.