
Finally, SWX Java passed TestDataTypes! Listed below are the supported Java data types and their associated ActionScript types. SWX Java provides a BeanConverter which convert Custom JavaBean class to Map and finally ActionScript Object automatically.
| Java Type |
ActionScript type |
| java.lang.Void, void |
null |
| Custom class (JavaBean) |
Object |
| java.lang.String |
String |
| java.lang.Boolean, boolean |
Boolean |
| java.lang.Byte, byte |
Number |
| java.lang.Short, short |
Number |
| java.lang.Integer, int |
Number |
| java.lang.Long, long |
Number |
| java.lang.Float, float |
Number |
| java.lang.Double, double |
Number |
| java.lang.Character, char |
String |
| java.util.Collection |
Array |
| java.util.Map |
Object |
| Array |
Array |
Hey Ken,
This looks great, but wheres the download link?
Lee
> LEE
Thank you for your comment!
I hope download link will be appear in a few days …
Not sure if these links would help at all. But just thought that Java exporting SWFs has been around for a while. Maybe you can pull some logic from these.
http://sourceforge.net/projects/javaswf/
http://www.anotherbigidea.com/javaswf/
> GABRIEL
Thank you for your information!!
I knew JavaSWF before, but I didn’t know that they supports AVM2. This code will help me when I implement AVM2 support.
Thanks!!