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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:49:23+00:00 2026-05-27T01:49:23+00:00

Just like in HTML / CSS you can set the position of a div

  • 0

Just like in HTML / CSS you can set the position of a div to be ‘fixed’ using css. For example, a header that is fixed at the top of the web page when the user scrolls down the webpage.

Is this possible in Flex?

I have had a look at the

VDividedBox

control which kind of does what I’m after but don’t like the ‘divider’.

Any ideas would be greatly appreciated.

  • 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-27T01:49:23+00:00Added an answer on May 27, 2026 at 1:49 am

    Ok, so this is how I’m creating a fixed top component and a scrolling bottom component using the

    VDividedBox
    

    Setting the height of the second Box within the VDividedBox to “1” is the key. As long as there is some height value it works the way I want it. The other attribute of the VDividedBox is the verticalGap which I set to 3 to make the divider appear without the draggable image.

    This is the code.

    <mx:VDividedBox id="vDividedBox" verticalGap="3" width="100%" height="100%">
        <mx:VBox id="vBox1" width="100%" backgroundColor="haloGreen">                
                <mx:Button label="button"></mx:Button>                
        </mx:VBox>
        <mx:VBox id="hBox2" width="100%" backgroundColor="haloBlue" height="1">
                <mx:Box height="3000" backgroundColor="blue" width="100%" horizontalAlign="center">
                    <mx:Label text="scrollable content" color="white" fontSize="20"/>       
                </mx:Box>
        </mx:VBox>        
    </mx:VDividedBox>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to change: http://example.com/index.php?p=blog&pid=2&lid=1&l=en into just http:// example.com/en/blog.html or just http:// example.com/blog.html
How can I set a CSS property on the html element with jQuery? I'm
I'm working on a little html/css framework that I can use for most of
How can i send html mail with images in c#? Can i just set
suppose the UIWebView is full screen, the html&css is simply like this: <body><div id=wrapper
...just like packages do. I use Emacs (maybe, it can offer some kind of
I am building a PhoneGap app, which can only use HTML/CSS/JS, and I need
I'm pretty new to Vim and I just set it up so that I
I've been trying to build a web site and I was using a CSS
Just like it reads.

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.