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

  • Home
  • SEARCH
  • 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 8913199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:23:55+00:00 2026-06-15T04:23:55+00:00

I know the method MouseEvent.updateAfterEvent() or KeyboardEvent.updateAfterEvent() which will force a re-render of the

  • 0

I know the method MouseEvent.updateAfterEvent() or KeyboardEvent.updateAfterEvent() which will force a re-render of the stage just after the event is handled rather than waiting for the next frame.

However, I need a method to force an immediate render at the very moment I call it. Is there such a method?

Actually my problem comes from the demential design of ActionScript’s printing API (PrintJob). Inconsistent with the whole ActionScript architecture, when you call PrintJob.start(), everything is completely frozen while the printing dialog is shown until the user clicks the print or cancel button. Execution of any code after the PrintJob.start() call is resumed after that.

Among a lot of other much worse issues coming from this gigantic design flaw, there is mine:

public function someMouseOrKeyboardEventHandler() {
  somethingThatUpdatesTheDisplayList();
  var somePrintJob=new PrintJob();
  somePrintJob.start();
  //...
  somePrintJob.send();
}

When this handler of mine is called, the changes made to the display list will not be visible until after the printing dialog has been closed, so I can’t, for example, show something on the screen just before I open the print dialog.

updateAfterEvent() won’t help a bit (already tried it). It won’t change a thing, since it only forces rendering after the event handler code is executed.

Is there any updateRightNow()-like thing?

  • 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-06-15T04:23:56+00:00Added an answer on June 15, 2026 at 4:23 am

    Nope, you unfortunately can’t force an update in the middle of your code.

    You can, however, wait until the next frame to call start() on the PrintJob; this will give Flash time to update the stage before everything freezes.

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

Sidebar

Related Questions

I need to know which method is called inside eclipse when I press CTRL
I'm just wondering how exactly does a delegate method know when to be called?
i want to know which method call when in iphone , application close and
I know the method below isn't meant to work with any Entity, and its
Do you know any method to optimize this HTML Code to IE6 or 7
Some of you may know the method in Ruby that allows you to reverse
I tried to solve problems from Project Euler. I know my method would work
I would like to generate the mysql-password hash from js. I know the method
The method I know of to detect the Ruby implementation (e.g., MRI, JRuby, Rubinius,
Does anyone know of a method to use CRTP to count the number of

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.