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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:34:04+00:00 2026-05-14T00:34:04+00:00

I would like to base one component’s x and y cooridnates according to another,

  • 0

I would like to base one component’s x and y cooridnates according to another, I tried using the binding notation but it doesn’t seem to work!

<?xml version="1.0" encoding="utf-8"?>
<s:VGroup   xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:mx="library://ns.adobe.com/flex/halo"
            xmlns:vld ="com.lal.validators.*"
            xmlns:effect="com.lal.effects.*" 
            xmlns:components="com.lal.components.*"
            width="400" height="100%"
            right="0"
            horizontalAlign="right"
            verticalCenter="0">
......  

    <s:VGroup
        width="125"
        height="100%"
        horizontalAlign="right"
        gap="0"  width.normal="153" x.normal="247" width.expanded="199" x.expanded="201">

        ......

        <s:Panel includeIn="expanded" id="buttonsGroup"           
                 mouseOut="changeStateToNormal();"
                 mouseOver="stopChangeToNormal();"
                 skinClass="com.lal.skins.TitlelessPanel"
                 title="hi"
                 right="0"
                 width="125" height="700" >
            .....
            <s:Label text="Jump To Date" paddingTop="20" />
            <s:TextInput id="wholeDate" width="100"  
                         mouseOver="stopChangeToNormal();"
                         click="date1.visible = true"
                         focusOut="date1.visible = false"/>
            ...
        </s:Panel>
    </s:VGroup>
    <mx:DateChooser id="date1" 
                    change="useDate(event); this.visible = false; " 
                    visible="false"  
                    mouseOver="stopChangeToNormal();" 
                    y="{wholeDate.y}"
                    x="{wholeDate.x}" />    
</s:VGroup> 
  • 1 1 Answer
  • 2 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-14T00:34:05+00:00Added an answer on May 14, 2026 at 12:34 am

    I believe your problem is due to the container types you are using. You can only specify arbitrary X and Y co-ordinates for views when their parent container uses absolute layout, such as a Canvas. The VGroup has its own ideas about where it’s going to put its children. If you want arbitrary control over the position of child components, use an absolute layout.

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

Sidebar

Related Questions

I would like to know standard's view on dereferencing pointer to base, but I'm
I would like to create a method in a base generic class to return
I would like to store pointers to a Base class in a vector ,
I would like to write an if statement that will do something base on
I would like to provide the same content inside 2 different base files. So,
I have a base class, and I would like to catch all exceptions of
I have a GWT module with the X-GWT-Module-Base http://host:8080/foo/ and would like to call
all dos base application experts here is one thread i am creating. i would
I would like to make smth like this: class MyModel < ActiveRecord::Base has_many :locations
I would like to share int counter between two process and base on some

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.