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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:05:44+00:00 2026-05-22T00:05:44+00:00

In flex I have a class ‘MapDrawingPoint’, in one of my mxml files I

  • 0

In flex I have a class ‘MapDrawingPoint’, in one of my mxml files I create ArrayCollection and fill it with MapDrawingPoint instances.

var mapDrawingPoints : ArrayCollection = new ArrayCollection();
...
mapDrawingPoints.addItem(MapDrawingPoint);

Then I do a remote call to my Java backend with the list of objects, in debug mode I can see that I’m coming in my Java method but the expected ArrayList as input is a flex.messaging.io.ArrayCollection with the exact amount of elements but not of type MapDrawingPoint but of type flex.messaging.io.amf.ASObject.

On the Java class MapDrawingPoint I did nothing special, I just made sure I have the right properties there. Same for the AS class I created, it has the same properties as my Java class but I added the bindable- and remoteclass tag:

package model {
[Bindable]
[RemoteClass(alias="com.mycompany.model.MapDrawingPoint")]
public class MapDrawingPoint {
...

I’m using BlazeDS for the remoting on a backend server running Tomcat with Spring (and also spring-flex) configured…

Does anyone of you have any idea what I’m doing wrong?

  • 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-22T00:05:45+00:00Added an answer on May 22, 2026 at 12:05 am

    I suppose the problem is in line:

    mapDrawingPoints.addItem(MapDrawingPoint);
    

    where you’re adding instances of Class (classes itself) but not instances of MapDrawingPoint.

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

Sidebar

Related Questions

Note: This is an Actionscript project, not a Flex project. I have class A
I have the requirement in a Flex application to create & populate an object
I have a class with a method name, and now i have a Flex
I have a flex project with a mx:Text. i have a class that is
I have an actionscript class in my flex app that looks like this: package
In my flex app I have various custom components done with mxml or actionscript.
I have flex sdk 4.6 installed and I want to compile AS3 class that
In Flex, say I have a Class object. How do I get a string
I have an AS3 class on my Flex project: package system { import mx.managers.PopUpManager;
I new to flex, I have a class shown below: public class Items extends

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.