flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Dove <greg.d...@gmail.com>
Subject Re: FlexJS:Reflection API
Date Sun, 19 Feb 2017 17:37:05 GMT
registerClassAlias(unTypeObject['_explicitType'],
getClassByAlias(unTypeObject['_explicitType']))


Aside  from the issue with TypeDefinition being missing, I think the class
aliases should be declared explicitly elsewhere. Using

registerClassAlias("vopackage.MyVo",vopackage.MyVo);

I don't think [RemoteClass] metadata was set up for Falconjx yet to do this
(unless Alex or someone else did it) so that means doing this explicitly in
code somewhere early in code before first use for amf deserialization
purposes. Then it should be

getClassByAlias(unTypeObject['_explicitType']) during deserialization to
retrieve the related class, instantiate and populate fields etc. I would
not expect to see registerclassalias used in this way above (unless I
really misunderstand what is the intention here)

-Greg
[sent from my phone]

On 20/02/2017 4:51 AM, "Alex Harui" <aharui@adobe.com> wrote:

>
>
> On 2/19/17, 7:17 AM, "PKumar" <prashakumar@gmail.com> wrote:
>
> >Do i  need to include it explicitly? i am using the flash Builder 4.7 to
> >develop library project.
>
> Hopefully not.  It looks like your problem is in building the JS version.
> Are you using the Launch Configurations to build the JS version?  If so,
> post a link to the entire console output.  It will show what SWCs it used.
>
> HTH,
> -Alex
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message