Hi Jun, Yes, I saw there was a bug in RadioButton. It should be fixed in the next zip which should be available in a day or so.
On 3/16/13 12:28 AM, "jun funakura" <jun.funak...@gmail.com> wrote: > Hi, Alex > > I was trying new version of FlexJS from new FlexOverlay.zip. > It seems FlexJSUI.swc is little old. > When I was compile with Overlayed version of FlexJSUI.swc, Flash > Player reported this error. > > > ------------- > TypeError: Error #1007: Instantiation attempted on a non-constructor. > at > org.apache.flex.html.staticControls::RadioButton/initModel()[/Users/aharui/Wor > k/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticCo > ntrols/RadioButton.as:115] > at > org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLArray()[/Users/aharui/ > Work/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/utils/MXML > DataInterpreter.as:123] > at > org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLInstances()[/Users/aha > rui/Work/apache/asjs/branches/develop/frameworks/as/src/org/apache/flex/utils/ > MXMLDataInterpreter.as:233] > at > org.apache.flex.core::ViewBase/initUI()[/Users/aharui/Work/apache/asjs/branche > s/develop/frameworks/as/src/org/apache/flex/core/ViewBase.as:38] > at > org.apache.flex.core::Application/initHandler()[/Users/aharui/Work/apache/asjs > /branches/develop/frameworks/as/src/org/apache/flex/core/Application.as:61] > ------------- > > After replace the FlexJSUI.swc from rev 1443275 of frameworks , It works! > > I'll try to js-version of FlexJSTest app. > thanks. > > -- > Jun Funakura > > > > > 2013/3/16 Alex Harui <aha...@adobe.com>: >> Yes, I put up a new zip in case the old one was buggy. If that doesn't >> work, send me the output SWF so I can see what it has in it. >> >> >> On 3/15/13 12:45 AM, "jun funakura" <jun.funak...@gmail.com> wrote: >> >>> Thanks for your advice, Alex. >>> >>>> The compiler should have generated that file for you. Are you sure you ran >>>> the "FlexJS (Debug Build)" external tool? >>> >>> Yes, I do these process. >>> external tool config set ENV "FLEXJS_HOME" ant "GOOG_HOME" >>> like FLEXJS_HOME=/User/flex/dev/flex-sdks/Flexjs4.9/js/src >>> GOOG_HOME=/Users/flex/dex/closure/third_party/closure/goog >>> >>>> Also, every time you make an edit to the code, FB may re-run the MXMLC >>>> compiler and therefore create an invalid SWF so you will need to run the >>>> "FlexJS (Debug Build)" again just before trying to debug the SWF. >>> >>> I tried FlexJS by Flash Builder 4.7. >>> first, turn off Project -> auto generate. >>> second, I pointed main mxml file named "FlexJSTest.mxml" >>> finally run external tool ->FlexJS(Debug Build). >>> >>> compile is finished with no errrors. >>> but double click the FlexJSTest.swf, Flash Player Debugger is reported >>> at this error. >>> >>> Anyway, I'll try again it today's ver of FlexJSOverlay.zip >>> Thanks, for you ware put on a new version Files. >>> >>> -- >>> Jun Funakura >>> >>> 2013/3/15 Alex Harui <aha...@adobe.com>: >>>> The compiler should have generated that file for you. Are you sure you ran >>>> the "FlexJS (Debug Build)" external tool? It appears that you have to >>>> click >>>> on the main mxml file in the FB Package Explorer before running the >>>> external >>>> tool, otherwise it may not build a valid SWF or will report a strange >>>> error. >>>> >>>> >>>> Also, every time you make an edit to the code, FB may re-run the MXMLC >>>> compiler and therefore create an invalid SWF so you will need to run the >>>> "FlexJS (Debug Build)" again just before trying to debug the SWF. >>>> >>>> -Alex >>>> >>>> On 3/14/13 9:16 PM, "jun funakura" <jun.funak...@gmail.com> wrote: >>>> >>>>> Hi , >>>>> >>>>> I just try Compiled Rev 1455452 of FlexJSTest.html by FlexJS created >>>>> by Alex's FlexOverLay.zip(08-Mar-2013) >>>>> Compile is good ,but execute this swf by flash player debugger runtime >>>>> error occured. >>>>> >>>>> ReferenceError: Error #1065: Variable _FlexJSTest_Styles is not defined. >>>>> >>>>> at flash.system::ApplicationDomain/getDefinition() >>>>> at >>>>> org.apache.flex.core::SimpleCSSValuesImpl/init()[/Users/flex/Documents/Ado >>>>> be >>>>> Flash Builder >>>>> 4.7/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as:39] >>>>> at >>>>> org.apache.flex.core::Application/initHandler()[/Users/flex/Documents/Adob>>>>> e >>>>> Flash Builder >>>>> 4.7/frameworks/as/src/org/apache/flex/core/Application.as:56] >>>>> >>>>> Is that required a <AppName>_Styles class or css file? >>>>> >>>>> Should I have to do? >>>>> Thanks in advance. >>>>> >>>>> -- >>>>> Jun Funakura >>>> >>>> -- >>>> Alex Harui >>>> Flex SDK Team >>>> Adobe Systems, Inc. >>>> http://blogs.adobe.com/aharui >>>> >> >> -- >> Alex Harui >> Flex SDK Team >> Adobe Systems, Inc. >> http://blogs.adobe.com/aharui >> -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui