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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:15:29+00:00 2026-05-24T13:15:29+00:00

I’ve been working for a month on a flash game, which should be manageable

  • 0

I’ve been working for a month on a flash game, which should be manageable to play in a browser (light computation). This being said, I’ve noticed that in some browsers the game runs at what looks like 15 fps (the game should run in 80fps). This has been known to happen in IE9, and the quick fix was to add this line to the top of the html:

<meta http-equiv="X-UA-Compatible" value="IE=9">

This was a quick-fix that forces IE into compatibility mode and greatly improved the fps (to about… 60, let’s say).

Still, I believe that the game is running slower than it should in every browser, which is evident when the html version is compared to the swf.

It’s also fairly noticeable that the movement in the game (html) “lurches”: these lurches injure the aesthetics of the game, and therefore the playability!

All of this leads me to believe that browsers limit access to computers’ graphics card;

1) It’s slow in html, and fast in swf

2) Sounds play at normal speed, yet graphics lag

EDIT

3) All the graphics in the game are fairly low resolution (i.e., graphics that are displayed ingame as width1xheight1 are movieclips of width1xheight1 png’s) + as minimal as possible

4) I’ve made very (computationally) simple flash projects and seen the same graphic-movement problems.

Can anyone give me some advice as to how I can increase the smoothness of my game in browsers?

  • 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-24T13:15:30+00:00Added an answer on May 24, 2026 at 1:15 pm

    This could be a symptom of how the SWF is embedded in the HTML page. Flash supports a number of “window modes” which determine how the content is rendered into the browser window. This is set via the wmode parameter when the SWF is embedded in the HTML page.

    According to Adobe’s documentation, this should be set to “direct” for best performance:

    direct – Use direct to path rendering. This bypasses compositing in
    the screen buffer and renders the SWF content directly to the screen.
    This wmode value is recommended to provide the best performance for
    content playback and enables hardware accelerated presentation of SWF
    content that uses Stage Video or Stage 3D.

    In practice, the wmode can act erratically so it may help to try the alternatives mentioned in the documentation.

    Other options which may help improve performance are:

    • Use stage.scaleMode = StageScaleMode.NO_SCALE. This will prevent content from being scaled should the embedded size not match the original size. Scaling contributes to CPU usage so disabling it should increase the frame-rate (see StageScaleMode#NO_SCALE).
    • Set opaqueBackground on non-transparent MovieClips (such as the root MovieClip). Transparency requires extra calculations to multiply the foreground color with the background color. Setting an opaque background bypasses these additional calculations and may result in a performance boost. (see DisplayObject#opaqueBackground)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a text area in my form which accepts all possible characters from
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an XML file, the creators of it stuck in a bunch social
I am using Paperclip to handle profile photo uploads in my app. They upload

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.