|
Do you have a typed reference to your AS
class so that it gets linked in? From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Valy Sivec Hello, I ran into something I woudn't expect to be a problem. Here is the
story. Have a simple data object in Java that is passed to the Flash player
via remote object call. I see in the log that the object type is what I expect
to have but when I trace the object value via Alert message I get Object. I believe is something wrong but can't figure out what... Below is the
Java class, the AS2 calss and also the message from the log. Am I missing
something? === JAVA CLASS == package org.ifm.model; import java.io.Serializable; public class PhoneNumber implements Serializable { private long phnuId; public long getPhnuId() { public void setPhnuId(long phnuId) { public String getPhnuPt1Code() { public void setPhnuPt1Code(String phnuPt1Code) { public String getPhnuPhoneNumber() { public void setPhnuPhoneNumber(String
phnuPhoneNumber) { public String getPhnuExtension() { public void setPhnuExtension(String phnuExtension) { public void setPhnuCreateTs(Date phnuCreateTs) { public Date getPhnuUpdateTs() { public void setPhnuUpdateTs(Date phnuUpdateTs) { public void setPhnuIsSource(String phnuIsSource) { public String toString() { public void setPhnuIndiId(Long phnuIndiId) { public boolean equals(Object other) { public int hashCode() {
public function TlcPhoneNumber(){}
When
display it: Alert.show("Phone:"+ event.result, "Alert
Box",Alert.OK); it shows
Object, and I would expect to see something like that:
"[***PHONE_NUMBER***PHNU_PHONE_NUMBER" + phnuPhoneNumber +
"]"; I don't see
this hapening for other java objects I have.
New Yahoo! Messenger with Voice. Call
regular phones from your PC and save big. |
- RE: [flexcoders] Flex2B2: JAVA to AS object serialization is... Matt Chotin
- RE: [flexcoders] Flex2B2: JAVA to AS object serializati... Valy Sivec
- Re: [flexcoders] Flex2B2: JAVA to AS object seriali... Carlos Rovira
- RE: [flexcoders] Flex2B2: JAVA to AS object seriali... Matt Chotin
- RE: [flexcoders] Flex2B2: JAVA to AS object ser... Valy Sivec
- RE: [flexcoders] Flex2B2: JAVA to AS object... Peter Farland
- RE: [flexcoders] Flex2B2: JAVA to AS o... Valy Sivec

