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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:48:01+00:00 2026-05-11T09:48:01+00:00

I have a simple HelloWorld app done in FlexBuilder. It’s just a simple class

  • 0

I have a simple HelloWorld app done in FlexBuilder. It’s just a simple class that extends Sprite. In the dedicated Flash player, the SWF shows up occupying the whole screen. In Firefox, however, both within HTML and alone, it shows up to the right. Is there a simple cure for this?

Code is just a constructor (in which the stage.stageWidth and stageHeight are read correctly, strangely) which adds a TextField to the Sprite and sets the size to stage.stageWidth and stage.stageHeight.

Edit: To no avail I’ve tried moving the constructor’s contents to the Event.ADDED_TO_STAGE event handling, but I think that whole line of investigation is dead.

Edit: Now that I know that Theo’s answer is right, I found this link. Nice!

  • 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. 2026-05-11T09:48:02+00:00Added an answer on May 11, 2026 at 9:48 am

    HTML Flash Embed

    First make sure your embed tag is alright (width and height set to 100%, CSS, etc.). This shouldn’t be the problem though as you say that the swf-only displayed in the browser also bugs.

    Alignement

    Check that you have set the stage alignement to top-left in your constructor :

    stage.align = StageAlign.TOP_LEFT; 

    Scaling

    Usually if you let flash scale up your whole application it may look ugly (fonts too big, etc.). The best uses to be to set the stage scaling to ‘no scale’ and the listen to the stages RESIZE Event in order to scale and position the objects that requires it.

    stage.scaleMode = StageScaleMode.NO_SCALE; stage.addEventListener(Event.RESIZE, stageResizeHandler); stageResizeHandler(); 

    And the something like (pseudo code) :

    private function stageResizeHandler(event:Event=null):void {     backgroundShape.width = stage.stageWidth;     backgroundShape.height = stage.stageHeight;      footer.y = stage.stageHeight - footer.height;  } 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 112k
  • Answers 112k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The default in Django is not the same as SQL… May 11, 2026 at 9:53 pm
  • Editorial Team
    Editorial Team added an answer clone.find("span").text("new value"); or clone.find("span").each(function() { $(this).text("new text"); }); or clone.find("span.name").text("new… May 11, 2026 at 9:53 pm
  • Editorial Team
    Editorial Team added an answer These are definitely messages. A "packet" is a layer-3 (in… May 11, 2026 at 9:53 pm

Related Questions

I have a simple HelloWorld app done in FlexBuilder. It's just a simple class
I am writing a program that's similar to a shell. Once started up, there's
Ok, this has got to be a super simple problem. I just can't seem
I have a WPF application in VS 2008 with some web service references. For
When I try to build a simple Hello World C++ app on Windows 7

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.