07-26-06 12:11 AM
Me too, lol! I only added them because the docs said to.
It's kind of hard to test the global namespace because I'm using AS2
packages, so.... at this point, not sure if it's even worth the effort for
the strict typing. I'll give it 20 minutes though. Thanks for the tip!
----- Original Message -----
From: "Stephen Beattie" <stephen.beattie-E1mXTKFkLPNuDX9a5hOMvNBPR1lH4CV8@pu
blic.gmane.org>
To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@pub
lic.gmane.org>
Sent: Tuesday, July 25, 2006 7:04 PM
Subject: RE: [FlashComm] application.registerClass
Hi Jester,
You using arguments in your constructor? - try removing them.
I've no real experience with FlashComm but I had a similar problems with
OpenAMF/AMFPHP with arguments in my client-side constructor.
Failing that does your custom class pass back o.k. if you use a global name
rather than a namespace ?
Stephen
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org]On Behalf Of JesterXL
Sent: 24 July 2006 00:02
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] application.registerClass
Can someone elaborate on this method or show a working example?
I've used this technique client side with AMFPHP & OpenAMF via Flash
Remoting and it works. I'm guessing my class package is somehow messing it
up but not sure.
Ex.
application.registerClass("com.jxl.vidconverter.vo.fcs.FCEncodeInfo",
FCEncodeInfo);
Error registering class: name mismatch
(com.jxl.vidconverter.vo.fcs.FCEncodeInfo, FCEncodeInfo).
If I just make it FCEncodeInfo, my client just gets back [object Object]
,
and his instanceof != FCEncodeInfo.
--JesterXL
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
[ Post a follow-up to this message ]
|