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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:41:44+00:00 2026-06-13T08:41:44+00:00

I have a project where a user will go to username.website.com. Once the page

  • 0

I have a project where a user will go to username.website.com.

Once the page loads, there will be an HTML form that displays whatever information we have on the user in an HTML form. If there is a missing piece of information about the user, they will update it.

There is also a side area that contains a flex 3 application. At the bottom of the flex app, there’s a submit button.

I need to make it so that when the user hits the submit button from within the flex app, the current value of the html fields is sent to the flex app so that the html data as well as the data from within the flex app can be transmitted with a URL request.

So basically, when the user hits the submit button within the flex app, I’d like for the data from the html fields as well as the flex fields to be combined and sent.

  • 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-13T08:41:45+00:00Added an answer on June 13, 2026 at 8:41 am

    Here’s how I ended up doing it (for any future viewers of the thread):

    Actionscript code:

    Import the right class:

    import flash.external.ExternalInterface;
    

    Create the function to call the JS function

    private function getFormValues():void
    {
        firstName = ExternalInterface.call("getJSVar", "firstName");
        lastName = ExternalInterface.call("getJSVar", "lastName");
        address = ExternalInterface.call("getJSVar", "address");
        phone = ExternalInterface.call("getJSVar", "phone");
        email = ExternalInterface.call("getJSVar", "email");
    }
    

    (My variables [firstName, lastname, address, phone, and email] are defined as bindable strings)

    Create the javascript function to get the latest values, and return them:

    <script type="text/javascript">
        function getJSVar(varName)
        {
            var toReturn = "Nothing Sent";
            if (varName == "firstName")
                toReturn = document.forms["userInfo"].firstName.value;
            else if (varName == "lastName")
                toReturn = document.forms["userInfo"].lastName.value;
            else if (varName == "address")
                toReturn = document.forms["userInfo"].address.value;
            else if (varName == "phone")
                toReturn = document.forms["userInfo"].phone.value;
            else if (varName == "email")
                toReturn = document.forms["userInfo"].email.value;
    
            return toReturn;
        }
    </script>
    

    Here’s my html form too:

    <form action='#' method='post' name="userInfo">
        <table width='100%'>
            <tr>
                <td align='center'><input type='text' id="firstName" name="firstName" value='First Name' style='width:250px;' /></td>
                <td align='center'><input type='text' id="ymm" name='ymm' value='Year Make Model' style='width:250px;' /></td>
            </tr>
            <tr>
                <td align='center'><input type='text' id="lastName" name='lastName' value='Last Name' style='width:250px;' /></td>
                <td align='center'><input type='text' id="address" name='address' value='Address' style='width:250px;' /></td>
            </tr>
            <tr>
                <td align='center'><input type='text' id="phone" name='phone' value='Phone Number' style='width:250px;' /></td>
                <td align='center'><input type='text' id="email" name='email' value='Email Address' style='width:250px;' /></td>
            </tr>
        </table>
    </form>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project where the requirements is that a end user will select
the scenario is i have a form in my Yii project that will take
I have to start a new project where user authentication/management will be required. A
I have a project to create a program, which prevents the user from escaping
I have a Project model similar to: class Project(models.Model): ... lead_analyst=models.ForeignKey(User, related_name='lead_analyst') ... I
I currently have two different models: User and Project . The User model has
I currently have two Backbone models: user and project. I would like to have
I have a Middleman project and I need to emulate a logged-in user. Simple
In my project i have a button. when user clicks on it, it shows
I have an existing project, so I need a solid way of cleaning/checking user

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.