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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:00:16+00:00 2026-06-13T01:00:16+00:00

I have been searching a solution for this since 2 days but couldn’t find

  • 0

I have been searching a solution for this since 2 days but couldn’t find any. My knowledge of Flex is intermediate.

I am writing on flex application where I use two elements lets call box 1 and box 2, inside a parent . There is a button which rotates parent and then I have to re-arrange these two child boxes with a particular way.

enter image description here

As the image shows initially parent box direction is horizontal and box 1, box 2 direction is vertical. When I rotate parent box with 90 degree I need to do perform following task:

  • Rearrange the order of box 1 and box 2 => What happens is, after 90 degree rotation box 2 is on top of box 1 but what I want is box 1 should be first and then box 2 should be there.

What I did => I tried quite a few ways of doing this for example

box.swapChildAt

though its for z-ordering sometimes it works. But still I am in search of proper solution.

Thanks in advance 🙂

  • 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-13T01:00:17+00:00Added an answer on June 13, 2026 at 1:00 am

    I think the problem you have is that rotation just applies rotation to the display object, while the layout logic is independent from that. Therefore, if you have a background to be rotated, I would recommend you to keep background in an isolated container and rotate it, while keep the container with those two children separately and introduce 4 states for that for every orientation (0, 90, 180, 270). Then you apply the corresponding state depending on the rotation and in that state you rotate children themselves and change their order.

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

Sidebar

Related Questions

Hi I have been searching a solution to this problem for many days but
I have been searching for this solution for some time have not found any
I have been searching for a solution to this issue for a few days
I have been searching for a solution to this and so far found nothing
I have been searching for a solution to this for a while and have
I have been searching for a solution for this issue for multiple hours today
I have been searching all weekend for the solution to this quandry and have
Have been searching the net for the past hours to find a solution to
I have been searching for the solution for this for a while so I
I have been searching around for a solution to this for a while. I'm

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.