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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:11:53+00:00 2026-05-26T01:11:53+00:00

In as3 What is the difference between calling stage.width and stage.stageWidth I read somewhere

  • 0

In as3 What is the difference between calling stage.width and stage.stageWidth

I read somewhere that if we have nothing on stage then the value of stage.width is 0,
but what happen when I have nothing on stage but loading contents dynamically on stage?

I have tried this and when i have loaded content dynamically on stage then i have got

  stage.width=value;  // where value is dynamic number

Can anyone explain this??
thanks.

  • 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-26T01:11:54+00:00Added an answer on May 26, 2026 at 1:11 am

    According to the Adobe Reference for the Stage Class:

    • stage.width

      Indicates the width of the display object, in pixels. The width is
      calculated based on the bounds of the content of the display object.

      So this property varies as you add/remove elements from the stage.

    • stage.stageWidth

      Specifies the current width, in pixels, of the Stage.

      This property varies as you resize the Flash Player window.

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

Sidebar

Related Questions

In actionscript 3 (as3) What is the difference between calling stage.width and stage.stageWidth This
I am using AS3 to create a tween affect between multiple images that have
in AS3, I have an external class ImageLoader, that loads an image upon request.
In AS3, if I have a class such: public class dude { //default value
Is there a way in AS3 to determine the difference between animated and not-animated
I have an FLA done in Flash 10, and some AS3 code that manipulates
AS3 newby here! I have a movieclip (thePlayer) on my stage with the class
Can somebody explain what is the difference between getDefinitionByName and getDefinition inA AS3? When
I'm new to C# but have a strong background in ActionScript 3. In AS3,
AS3 provide several way to handle something like java Map, but what's the difference

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.