Question

We are using GraniteDS autogenerated AS code to map Java remote objects to AS.

We have objects that contain List sites in Java so when they are converted to AS it looks like:

JAVA:

    private List<MyObject> territories;

Actionscript:

    private var _territories:ListCollectionView;

The trouble is we are using MXML databinding to bind the contents of that list generically, the trouble is we never reference the type of object contained in the list explicitly so it's never compiled into our SWF is there any way to ensure that objects in a list for a RemoteClass is compiled in?

Was it helpful?

Solution

There is no automated way of doing this. You'll need to reference the class somewhere in your code or specify it with the compiler arguments using "include-classes".

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top