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/Adobe
>> Flash Builder
>> 4.7/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as:39]
>> at 
>> org.apache.flex.core::Application/initHandler()[/Users/flex/Documents/Adobe
>> 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
>

Reply via email to