Actionscript class not found at runtime for BlazeDS communication
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 databin开发者_如何学运维ding 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?
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".
精彩评论