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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:51:33+00:00 2026-05-16T14:51:33+00:00

I have actionscript file with a binding {someBinding}… The Main.mxml is where all the

  • 0

I have actionscript file with a binding {someBinding}…

The Main.mxml is where all the action happens. If I set {someBinding} in the “text” of a label component I will have a number.

I have another form.mxml file. Where I want that binding to be in, but it can’t find such binding.

I need to have that {someBinding} in that other mxml, the same way as in the Main.mxml

Thanks, Yan

  • 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-16T14:51:33+00:00Added an answer on May 16, 2026 at 2:51 pm

    You can’t a value in one component (or File) to a value in another component (or file) in the way you seem to be asking. You’ll have to expose those related values as properties and set the values.

    This type of approach should work:

    First add a property to component 2 and make it Bindable. Do this in a Script block, like this:

    [Bindable] public var hBoxWidth : int;
    

    Then bind it to something in your MXML of the same component, like this:

    <mx:HBox width="{this.hBoxWidth}" />
    

    Now some component will contain this one:

    <mx:HBox>
      <myCustomComp:customHBox hBoxWidth={this.othervalue} />
    </mx:Hbox>
    

    So, when the othervalue changes it will change the hBoxWidth value on the customHBox component which will in turn change the width property on the HBox inside of customHBox.

    Does that make sense?

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

Sidebar

Related Questions

In my main Actionscript file i have a instance of a body class that
I have a swf file sample.swf which has its actionscript class in Main.as. This
Having some issues accessing my param tags from within actionscript. Essentially I have the
I have a SWF file emedded withing a HTML page. Trying to do a
I have a long mp3 file hosted on a standard apache server (30 minutes
I have to hand off a Flash file to a client that use Flash
Few facts first: 1. I can only use ActionScript 2. 2. All files are
I have been working on modifying an existing FLVPlayback skin. Ideally I would like
I am trying to get the simple expression evaluator example on the ANTLR website
I am developing a dynamic mocking framework for Flex/AS3 and am having trouble with

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.