Alex, I was using the wrong compiler. :) Everything is working fine now. Mike
On Thu, May 14, 2015 at 3:40 PM, Alex Harui <aha...@adobe.com> wrote: > CSS Style data is encoded into a class named after the main app. There is > a test in the compiler to see whether to generate that class or not. See > FlexAppSWFTarget.java where it calls emitStyleDataClass(). > > -Alex > > On 5/14/15, 12:18 PM, "Michael Schmalle" <teotigraphix...@gmail.com> > wrote: > > >@Alex > > > >I am trying a simple hello world from scratch and I keep getting this > >error, provided with > > > >TodoTestApp.mxml > > > ><?xml version="1.0"?> > ><!-- > > Created by Teoti on 5/14/2015. > >--> > ><js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:js="library://ns.apache.org/flexjs/basic" > > xmlns:local="*" xmlns:models="models.*"> > > > > <js:valuesImpl> > > <js:SimpleCSSValuesImpl /> > > </js:valuesImpl> > > > > <js:initialView> > > <local:InitialView/> > > </js:initialView> > > > > > ></js:Application> > > > > > >InitialView.mxml > > > > > ><?xml version="1.0"?> > ><!-- > > Created by Teoti on 5/14/2015. > >--> > ><js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" > > xmlns:js="library://ns.apache.org/flexjs/basic" > > initComplete="initControls()"> > > > > <fx:Script><![CDATA[ > > private function initControls():void > > { > > trace("controls created"); > > } > > ]]></fx:Script> > > > > > > <fx:Style> > > .title { > > font-size: 14pt; > > font-weight: bold; > > } > > > > </fx:Style> > > > > <js:Container x="0" y="0" className="topContainer"> > > <js:beads> > > <js:VerticalLayout/> > > </js:beads> > > > > <js:Label text="Hello Basic"/> > > </js:Container> > > > > > ></js:ViewBase> > > > > > >I get the error of; > > > > > >[Fault] exception, information=ReferenceError: Error #1065: Variable > >_TodoTestApp_Styles is not defined. > >at flash.system::ApplicationDomain/getDefinition() > >at > >org.apache.flex.core::SimpleCSSValuesImpl/init()[C:\Users\Teoti\Documents\ > >ApacheFlex\asjs\frameworks\projects\Core\as\src\org\apache\flex\core\Simpl > >eCSSValuesImpl.as:80] > >at org.apache.flex.core::Application/set > >valuesImpl()[C:\Users\Teoti\Documents\ApacheFlex\asjs\frameworks\projects\ > >Core\as\src\org\apache\flex\core\Application.as:171] > >at > >TodoTestApp()[C:\Users\Teoti\Documents\ApacheFlex\JSProject\TodoTestApp\sr > >c\TodoTestApp.mxml:7] > > > > > >Mike > > > > > >On Thu, May 14, 2015 at 3:06 PM, Frédéric THOMAS <webdoubl...@hotmail.com > > > >wrote: > > > >> > The debugger exception others are seeing seem to be related to changes > >> > made to support AS Workers, so it may be that older Flex SDKs are > >>going > >> to > >> > work better. > >> > >> The only thing with Workers is a bug Alexander Dorosko raised about a > >> issue when setting a BP out of any code, I still have to fix it but I > >>don't > >> think it is actually an issue for FlexJS, I would bet much more about > >>the > >> fact that the Falcon FDB relies on Falcon classes and given that the > >> IntelliJ Flex Plugin hook into FDB, it doesn't reconize the SDK classes, > >> same for the compiler btw. > >> > >> The reason why we can see in JetBrains\IntelliJ IDEA > >> 14.1-OK\plugins\flex\lib things like idea-fdb-4.5.0.20967-fix.jar or > >> idea-flex-compiler-fix.jar, they wrap the equivalent SDK jars. > >> For example, IIRC, I guess it was ExpressionCache, is not used anymore > >>by > >> Falcon FDB, one of the reason I wasn't able to integrate directly the > >>last > >> given code for FDB into the Flex SDK but had to change the classes it > >>used > >> to evaluate expressions before to patch the CLI and I kept a branch of > >>the > >> original one to add to it the changes I did for the Workers later. > >> > >> Well, I could be wrong on some details, that's a long time but I guess > >>the > >> problem come from that, IDEA-FIX to Faclon Debugger, instead of Flex SDK > >> Debugger, same for the compiler, Alexander should be able to tell us > >>more > >> though. > >> > >> Frédéric THOMAS > >> > >> > From: aha...@adobe.com > >> > To: dev@flex.apache.org > >> > Subject: Re: [FlexJS] IntelliJ Integration > >> > Date: Thu, 14 May 2015 18:45:08 +0000 > >> > > >> > > >> > > >> > On 5/14/15, 10:34 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> > >>wrote: > >> > > >> > >I'm using he FlexJS nightly of last week, so, I guess nothing is > >>needed, > >> > >also, any FlexSDK as base SDK seems to work, I've been using a 4.10 > >> > > >> > The debugger exception others are seeing seem to be related to changes > >> > made to support AS Workers, so it may be that older Flex SDKs are > >>going > >> to > >> > work better. > >> > > >> > > > >> > >Is there any google Javascript source maps, mapping the AS3 code > >>setup > >> > >somewhere i FlexJS yet ? > >> > > >> > There are two Map related examples: DesktopMap and MapSearch. I > >>haven’t > >> > used them in a long time so there is a chance they are broken. > >> > > >> > -Alex > >> > > >> > >> > >