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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:14:51+00:00 2026-05-27T20:14:51+00:00

I am new in FLEX. I want the syntax for RemotObject. Please give me

  • 0

I am new in FLEX. I want the syntax for RemotObject.
Please give me the syntax of that.
I am using FLEX 3.0 and backend is .NET

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-05-27T20:14:52+00:00Added an answer on May 27, 2026 at 8:14 pm

    I have used this and following is the syntax for that.

    <mx:RemoteObject id="roTestQuestion" destination="GenericDestination"  
        source="FlexDataLayer.BusinessLogic.TestQuestionBLL" showBusyCursor="true" fault="    {onFault(event);}">
        <mx:method name="GetList" result="{roTestQuestion_GetList(event);}"   />
        <mx:method name="GetAnswerList" result="{roTestQuestion_GetAnswerList(event);}"   />
        <mx:method name="Insert" result="{roTestQuestion_Insert(event);}"  />
        <mx:method name="Update" result="{roTestQuestion_Update(event);}"  />
        <mx:method name="Delete" result="{roTestQuestion_Delete(event);}"  />
        <mx:method name="GetListByCategoryID" result="{roTestQuestion_GetListByCategoryID(event);}" />
    </mx:RemoteObject>
    

    source is you .NET class and u need to create a method that i have write in fault and result.

    for Fault

    private function onFault(e:FaultEvent):void
    {
    Alert.show(e.fault.message.toString(),parentApplication.alertTitle);    
    }
    

    for Result

    private function roTestQuestion_Delete(e:ResultEvent):void
            {
                if (e.result!= null)
                {
                    if(cbCat.selectedIndex == 0)
                    {
                        roTestQuestion.GetList();
                    }
                    else
                    {
                        roTestQuestion.GetListByCategoryID(selIndex);
                    }
                    //roTestQuestion.GetList();
                    //Application.application._mdlExamSelection.Init();
                }
            }   
    

    here i have give the method to call the method from remoteobject.

    roTestQuestion.GetList();
    

    You are beginner so i am advising you to go through the following link because in future u need to use the ActionScript and this link will going to be very useful to you…

    Please visit this Link

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

Sidebar

Related Questions

Using Flex Builder : I have created a new Actionscript Project. I want to
I’m new to Flex and Cairngorm.While I’m using ServiceLocator,I do run into the problem:
I'm new to Flex and am using TileList bound to an ArrayCollection. The array
I am new to Flex programming. I want to implement a custom toolstrip for
I have implemented some utility classes in Flex that I want to use in
I am new to using the Flex Compiler with FD, although certainly not new
I'm new to Flex and I want to separate app tiers/components as much as
I have a flex application and I want to add a new custom component
I want to use vkontakte's new wrapper feature, that enhances your application abilities by
Basically i want to create XMLDesigner kind of thing in Flex, using which 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.