since ‎05-11-2008
‎10-12-2019
thehair77
Level 1
Re: Java - Actionscript objects not serializing
Avatar

thehair77

thehair77
- Adobe LiveCycle
Found the answer.This seems to be because none of my code was explicitlyinstantiating or using the type FrequencyDimension, so I guess itwas not compiled into the swf. This seems to be by design, althoughIMHO this is bad design as it causes confusion when working withDataServces and it forces unnecessary code to be written.

Views

66

Likes

0

Replies

0
Re: Compliler not working
Avatar

thehair77

thehair77
- Adobe LiveCycle
Found solution.This is 'by design' ActionScript classes are ignored by thecompiler until there are explicitly used elsewhere in thecode

Views

54

Likes

0

Replies

0
Java - Actionscript objects not serializing
Avatar

thehair77

thehair77
- Adobe LiveCycle
HiI am having trouble serializing some objects from Java toFlex. On 90% of my objects the mapping is fine, but on 10% themapping can not be found so flex defaults the object type toObject, rather then the ActionScript type that has been defined.All of the Java Objects to be mapped have a public noargument constructor, and a getter and setter for each of theproperties to be mapped.An example of two object, one where the mapping is found andone where it is not:package model{[RemoteClass(alias="org...

Views

338

Likes

0

Replies

2
Re: Compliler not working
Avatar

thehair77

thehair77
- Adobe LiveCycle
Sorry this is in the wrong forum....Can it be moved?

Views

54

Likes

0

Replies

0
Compliler not working
Avatar

thehair77

thehair77
- Adobe LiveCycle
Hi,I have a flex project, in the project there is a src/modelfolder where my actionscript classes reside.I have about 10 classes they are very simple, all they haveis public variables, no methods or inheritance. The problem is thecompiler only seems to take notice of one of the classes, in allthe others I can write code that should fail compilation but itdoes not. However one of the classes (I think it was the first oneI wrote) is picked up by the compiler so that when there is badcode is writte...

Views

253

Likes

0

Replies

2