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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:04:43+00:00 2026-05-21T18:04:43+00:00

<s:Group id=g1> <s:Group id=g2 width=100 x=-40/> </s:Group> I have a group that contains elements

  • 0
<s:Group id="g1">
    <s:Group id="g2" width="100" x="-40"/>
</s:Group>

I have a group that contains elements placed at negative coordinate values. I would like to get the total width of the group including parts of elements placed at negative values. In the example above g1.width returns 60 (100-40) but i like to get the value 100. In the example bellow g3.width returns 0 and still i like to get the value 100. How can I do this.

I have debugged the application and no property of g1 or g3 is 100.

I get the values I want if I use the Box class instead but how do I get the values i want with the Group class?

<s:Group id="g3">
    <s:Group id="g4" width="100" x="-150"/>
</s:Group>

This is an simplified example. I have many child elements in the real application so i can’t just use the width of the child element.

  • 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-21T18:04:44+00:00Added an answer on May 21, 2026 at 6:04 pm

    Try using contentHeight and contentWidth property on the container.

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

Sidebar

Related Questions

I have a query that returns data with group category and some details like
I have an xml that contains two groups of related values: <Rows> <!-- first
Given that I have a table contains user data, like this: userID calltime result
I have the following markup: <s:Group width=100% height=100%> <s:BorderContainer borderWeight=3 borderColor=black cornerRadius=5 width=100% height=100%>
I have the following code, it calculates the width of a group of images
I have 2 radio button with 2 group. The structure is like this Main
I have a control that contains a javascript function that is called on the
I have a table, Sheet1$ that contains 616 records. I have another table, Rates$
i have some SQL code that is inserting values from another (non sql-based) system.
I have a renderer that looks like this: <s:ItemRenderer xmlns:fx=http://ns.adobe.com/mxml/2009 xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx autoDrawBackground=true> <s:Group

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.