flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [flexJS] Is SimpleCSSValuesImpl required StyleClass?
Date Fri, 15 Mar 2013 06:38:38 GMT
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.


On 3/14/13 9:16 PM, "jun funakura" <jun.funakura@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.

View raw message