On 11/11/13 12:33 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote:
>Sorry, but I still have not been able to run the FlexJS example projects. > >I got the latest overlay zip file (this morning) and set it up as per >instructions. I am not making any changes to the config tools. > >When I compile the DataBindingTest app using the FlexJS (Debug Build) run >config, I am getting this warning: > >========================================================================== >==== >Loading configuration: >C:\p\flex_os\workspace\FlexJS\FlexJSSDK\frameworks\flex-config.xml > >outputBindingInfoAsData >C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\DataBindingTest\src >\MyInitialView.mxml:131 >Warning: Data binding will not be able to detect assignments to 'strings'. > >dataProvider="{MyModel(applicationModel).strings}" /> The warning is expected. You should be seeing that when MXMLC compiles as well. >78613 bytes written to >C:\p\flex_os\workspace\flexroot\git\flex-asjs\examples\DataBindingTest\bin >-debug\DataBindingTest.swf >in 3.193 seconds >========================================================================== >==== That looks like a reasonable size. > >But, it does output the swf file. When I run it in a browser, I am >getting >this RTE: > >========================================================================== >==== >TypeError: Error #1007: Instantiation attempted on a non-constructor. > at org.apache.flex.core::UIBase/get > >Should we be changing 'iBeadModel' to 'IBeadModel' in UIBase.as? No, the compiled results should have it as 'iBeadModel'. The Compiler says that CSS properties always starts with lower case so it lower cases the first letter automatically. Not sure if should do that or not, but it should still work. Probably time to debug into the getValue call and see if any styles are set up or not. -Alex