On Mon, Feb 3, 2014 at 12:16 PM, Alex Harui <aha...@adobe.com> wrote:

> Does your copy of ClassFactory (in FlexJSUI/src/mx/core) have a
> newInstance method?
>

Yes, it does.


>
> Did you shutdown and re-start FB?  I think it caches SWC and locks them on
> the disk.
>

Tried shutting down FB, copying over the files again and restarted FB.
Same result when I compile the app with FlexJS Debug build tool.


>
> Check a link-report and see which version of ClassFactory is being pulled
> in.
>

This is what I see in the linkreport.xml entry for mx.core:ClassFactory:

    <script
name="C:\p\flex_os\workspace\FlexJS\FlexJSSDK_ViaInstaller\frameworks\as\libs\MXMLCClasses.swc(mx.core:ClassFactory)"
mod="1390855527301" size="410" optimizedsize="190">
      <def id="mx.core:ClassFactory" />
      <pre id="mx.core:IFactory" />
      <pre id="Object" />
      <dep id="Class" />
    </script>

Looks okay?


>
> -Alex
>
> On 2/3/14 11:23 AM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote:
>
> >I made some changes to the FlexJSJX classes and tried to use that with my
> >exisisting FlexJS SDK.  Here is what I am doing:
> >
> >1.  In the \flex-asjs\frameworks\as folder, run ant.  The following swc
> >files: FlexJSJX, FlexJSUI and MXMLCClasses get created under
> >\flex-asjs\frameworks\as\libs folder.
> >2.  Copy these swc files to the
> >"FlexJSSDK_ViaInstaller\frameworks\as\libs"
> >folder
> >3.  Refresh FB project and compile the BarChartExample app with the
> >"FlexJS
> >(Debug Build)" tool
> >
> >This is the error message I am seeing.  Note that I dont see such errors
> >when I run with the installed SDK's swc files.
> >
> >Also, I see a file size difference between the ones that came with the
> >installer vs. the ones that I built.
> >
> >I have a feeling this could be related to the flash playerversion value,
> >could it be?  I selected 11.9 during the installation process.  Does this
> >matter?
> >
> >Or is it possible that there are some uncommitted files that was used to
> >build the FlexJS binaries.
> >
> >ReferenceError: Error #1069: Property mx.core:IFactory::newInstance not
> >found on mx.core.ClassFactory and there is no default value.
> >    at org.apache.flex.charts.beads::ChartItemRendererFactory/set
> >strand()[C:\p\flex_os\workspace\flexroot\git\flex-asjs\frameworks\as\proje
> >cts\FlexJSJX\src\org\apache\flex\charts\beads\ChartItemRendererFactory.as:
> >76]
> >    at
> >org.apache.flex.core::UIBase/addBead()[C:\p\flex_os\workspace\flexroot\git
> >\flex-asjs\frameworks\as\projects\FlexJSUI\src\org\apache\flex\core\UIBase
> >.as:231]
> >    at
> >org.apache.flex.html.staticControls::List/addedToParent()[C:\p\flex_os\wor
> >kspace\flexroot\git\flex-asjs\frameworks\as\projects\FlexJSUI\src\org\apac
> >he\flex\html\staticControls\List.as:107]
> >    at
> >org.apache.flex.core::UIBase/addElement()[C:\p\flex_os\workspace\flexroot\
> >git\flex-asjs\frameworks\as\projects\FlexJSUI\src\org\apache\flex\core\UIB
> >ase.as:268]
> >    at
> >org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLArray()[C:\p\flex_
> >os\workspace\flexroot\git\flex-asjs\frameworks\as\projects\FlexJSUI\src\or
> >g\apache\flex\utils\MXMLDataInterpreter.as:192]
> >    at
> >org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLInstances()[C:\p\f
> >lex_os\workspace\flexroot\git\flex-asjs\frameworks\as\projects\FlexJSUI\sr
> >c\org\apache\flex\utils\MXMLDataInterpreter.as:224]
> >    at
> >org.apache.flex.core::ViewBase/addedToParent()[C:\p\flex_os\workspace\flex
> >root\git\flex-asjs\frameworks\as\projects\FlexJSUI\src\org\apache\flex\cor
> >e\ViewBase.as:43]
> >    at
> >org.apache.flex.core::Application/addElement()[C:\p\flex_os\workspace\flex
> >root\git\flex-asjs\frameworks\as\projects\FlexJSUI\src\org\apache\flex\cor
> >e\Application.as:289]
> >    at
> >org.apache.flex.core::Application/initHandler()[C:\p\flex_os\workspace\fle
> >xroot\git\flex-asjs\frameworks\as\projects\FlexJSUI\src\org\apache\flex\co
> >re\Application.as:101]
> >
> >
> >Thanks,
> >Om
>
>

Reply via email to