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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:41:29+00:00 2026-06-15T06:41:29+00:00

Actually in my Flex sample applicaion have Main mxml called Demo.mxml .. in the

  • 0

Actually in my Flex sample applicaion have Main mxml called Demo.mxml..
in the main mxml file have login button when we click login button Login.mxml file called

protected function button2_clickHandler(event:MouseEvent):void
        {

            PopUpManager.createPopUp(this,Login);
        }

In Login.mxml file doing some authetication useing java..

public var userService:UserService = new UserService();
        [Bindable] public var userVO:UserVO = new UserVO();

        protected function loginUser(event:MouseEvent):void
        {

            var rpcAuthenticateUser:AsyncToken = userService.authenticateUser(userid_id.text, password_id.text);
            rpcAuthenticateUser.addResponder(new mx.rpc.Responder(handle_authenticate_success, handler_failure));

        }
........


 userVO=userService.getUser();
......

All are done in Login.mxml file correctly Now i am getting value.

How to get userVO object in Demo.mxml file ?

Actually i’m trying but it give some Null values……Plz help me

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-15T06:41:31+00:00Added an answer on June 15, 2026 at 6:41 am

    create a model class that is a singleton See my answer here about making a singleton.

    then in your Demo.mxml

    [Bindable] public var model:MyModel = MyModel.getInstance();
    

    then in your login form

    public var model:MyModel = MyModel.getInstance();
    

    then when you get the response from the service:

    model.userVO = userService.getUser();
    

    now in your Demo.mxml, userVO is now populated and usable there.

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

Sidebar

Related Questions

I have Sample applicaion Flex+Java(using mysql database). Actually i'm sending search result from flex
In my Application using Flex-Blazeds-java...,in my Flex application side have two mxml file Main.mxml
For simplicity lets say I have two flex mxml pages. form.mxml button.mxml If the
How can I alert an integer value in flex. I have a variable called
Actually i have created one dashboard in flex. But now i want to integrate
In my Flex project, I have a service function getItems() that returns me a
I'm quite new to Flex and wondered if other developers actually use its stylesheet
actually i am displaying a pop up with ok cancel button when user clicks
Actually I have to take the sequence number in $Revisions field.
Actually i want that, suppose i have a colorcode #FF3366. How can i examine

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.