I don't suppose you are going to make an AS3 version? I have a project that
I am building in AS3 that will need porting to Java once completed &
something like this will help me out a lot.

Jim

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Scott Hyndman
Sent: 03 August 2006 19:30
To: Open Source Flash Mailing List
Subject: Re: [osflash] ASPOJO Released

> What does this mean? Does it mean it takes text files that contain
> actionscript classes (I presume headers and not code) and converts
> them into the same in java? If it is doing full code conversion boy
> did you undersell!

Nope, not conversion. It could certainly be used to accomplish
something like this though.

> Presuming its just headers, why would I need to do this? I actually
> have some code that I would love to convert to java but it doesnt
> sound like this is what its for. What would be a use case. (I'm sure
> there are good ones, but knowing what your intent was will help me
> understand its usefullness).

What ASPOJO does is takes ActionScript class files and transforms them
into POJOs representing the AS types, allowing them to be easily
handled by Java.

So, here are some ideas for how this could be used:

-Code documentation (since all method interfaces and comments are
available in the POJOs)
-Java-based bi-directional UML software for AS
-A pre-processing step for fairly complex transformations

I actually built this for use with the ActionStep Interface Builder (a
work in progress). AIB is written in ActionStep, but requires a bridge
to the filesystem and an understanding of existing ActionScript
classes so you can use your own classes with ActionStep. To accomplish
this I've been writing a Java sidekick.

This sidekick is required to extract metadata from ActionScript files
(provided in the form of JavaDoc tags). This metadata is important for
the editor to identify certain methods and fields as different (like
data-bindable or able to establish event connections).

If you still don't understand, check it out and took a quick look at
the org.aspojo.common package. I think you'd understand what I'm
talking about.

Scott

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to