Not sure what I did. But it's now working. I think originally
the package names of the .as and the java class did not match
exactly. Then I thought it might have something to do with having
methods as well as just properties in the .as class (most of the
demo/example/tutorials have no methods in the .as Definitions), so
I took out the methods and put them in a subclass. For the RPC I
was then trying to cast/copy the subclass to a superclass
(properties only - without the methods) object and call the remote
procedure with that. However when doing a trace I noticed that the
call was still being made using the subclass type, so I recombined
the properties and methods into one .as class and now it seems to
be working.
(I guess sometimes you just need to go around and 'round in
circles for a while 'till you figure out what's going on)
I have the following suspicions, please correct me if I'm
wrong.
* The package names need to match exactly on the server and
the client
* The properties don't necessarily need to have counterparts
on the other side, but if they do they need to have exactly the
same name
* You can have any amount of (different) methods in your
actionscript vs. your java Class