You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Alex Harui <ah...@adobe.com> on 2013/03/08 18:11:12 UTC

Re: svn commit: r1454452 - in /flex/asjs/branches/develop: examples/FlexJSTest_again/ frameworks/as/ frameworks/as/fb/ frameworks/as/src/org/apache/flex/core/ frameworks/as/src/org/apache/flex/html/staticControls/ frameworks/js/FlexJS/src/org/apache/fl...

As soon as you're done and FalconJX can compile and run the FlexJSTest_again
example, I will cut over to FalconJX.  I had to keep working in FalconJS
because I couldn't wait for FalconJX.  There are some immediate
opportunities for me to promote the FlexJS work internally that can help
ensure I get to continue on with Apache Flex and I need a kit that folks can
play with now.

I don't have any work scheduled for FalconJS for a while (other than bug
fixes).  This checkin was for the AS-side where the primary goal was to use
CSS to manage the configuration of the beads.  I'm not quite sure how we're
going to handle CSS on the JS-side.   The JS side has no beads right now
because we're just thinly wrapping existing HTML controls. The AS side is
using beads to maximize code-reuse when building up the AS emulations of
these HTML controls.  So, I'm not going to be doing any work in compiler.js
to try to support CSS on the JS side right now.  Neither side currently
supports CSS for other visual styling (font-family, etc).  I can wait for
FalconJX for that.

Next week I plan to look into how data-binding syntax is handled.  Right now
{} syntax is not supported in FlexJS on either the AS or JS side.  There are
databinding beads you can use for now, but I think folks still love the
curly braces so I need to muck with that codegen on the AS side first.  It
will be enlightening to see how databinding codegen works in regular Falcon
so we can think about how it will work in FalconJX.  In MXMLC it was a
multiple-pass process.  I want to understand it better so we know if we need
to support multiple tree walks and tree mucking in FalconJX.

-Alex

On 3/8/13 8:50 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:

> Alex,
>
> I'm nearly done with MXML support for FlexJS in FalconJx. As it seems
> to be the consensus that we'll move FlexJS to FalconJx, isn't it maybe
> an idea not to do too much work on FalconJS, as we will have to
> duplicate that effort in FalconJx?
>
> EdB
>
>
>
> On Fri, Mar 8, 2013 at 5:37 PM,  <ah...@apache.org> wrote:
>> Author: aharui
>> Date: Fri Mar  8 16:37:12 2013
>> New Revision: 1454452
>>
>> URL: http://svn.apache.org/r1454452
>> Log:
>> Add defaults.css handling
>>
>> Added:
>>     flex/asjs/branches/develop/frameworks/as/defaults.css   (with props)
>>     flex/asjs/branches/develop/frameworks/as/fb/
>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug Build).launch
>> (with props)
>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>> Build).launch   (with props)
>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>> Build).launch   (with props)
>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release Build).launch
>> (with props)
>>     flex/asjs/branches/develop/frameworks/as/flex-config.xml
>>     flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml   (with
>> props)
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>> s   (with props)
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>> luesImpl.as   (with props)
>> Removed:
>>
>> flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as
>>
>> flex/asjs/branches/develop/frameworks/js/FlexJS/src/org/apache/flex/html/stat
>> icControls/beads/
>> Modified:
>>     flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>     flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>     flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>> .as
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>> .as
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>> sImpl.as
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/CheckBox.as
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/Label.as
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/List.as
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/RadioButton.as
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextArea.as
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextButton.as
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextInput.as
>>
>> Modified:
>> flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/examples/FlexJSTest_a
>> gain/FlexJSTest.mxml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>> (original)
>> +++ flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml Fri
>> Mar  8 16:37:12 2013
>> @@ -25,7 +25,7 @@ limitations under the License.
>>
>> initialize="MyModel(model).labelText='Hello World'"
>>>
>>         <basic:valuesImpl>
>> -               <local:MySimpleValuesImpl />
>> +               <basic:SimpleCSSValuesImpl />
>>         </basic:valuesImpl>
>>         <basic:initialView>
>>                 <local:MyInitialView />
>>
>> Modified: flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/basic-m
>> anifest.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/frameworks/as/basic-manifest.xml (original)
>> +++ flex/asjs/branches/develop/frameworks/as/basic-manifest.xml Fri Mar  8
>> 16:37:12 2013
>> @@ -23,6 +23,7 @@
>>
>>      <component id="Application" class="org.apache.flex.core.Application"/>
>>      <component id="SimpleValuesImpl"
>> class="org.apache.flex.core.SimpleValuesImpl"/>
>> +    <component id="SimpleCSSValuesImpl"
>> class="org.apache.flex.core.SimpleCSSValuesImpl"/>
>>      <component id="ViewBase" class="org.apache.flex.core.ViewBase"/>
>>      <component id="ConstantBinding"
>> class="org.apache.flex.binding.ConstantBinding"/>
>>      <component id="SimpleBinding"
>> class="org.apache.flex.binding.SimpleBinding"/>
>>
>> Modified: flex/asjs/branches/develop/frameworks/as/compile-config.xml
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/compile
>> -config.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/frameworks/as/compile-config.xml (original)
>> +++ flex/asjs/branches/develop/frameworks/as/compile-config.xml Fri Mar  8
>> 16:37:12 2013
>> @@ -43,6 +43,11 @@
>>          <warn-no-constructor>false</warn-no-constructor>
>>      </compiler>
>>
>> +    <include-file>
>> +        <name>defaults.css</name>
>> +        <path>defaults.css</path>
>> +    </include-file>
>> +
>>      <include-classes>
>>          <class>FlexJSUIClasses</class>
>>      </include-classes>
>>
>> Added: flex/asjs/branches/develop/frameworks/as/defaults.css
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/default
>> s.css?rev=1454452&view=auto
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/frameworks/as/defaults.css (added)
>> +++ flex/asjs/branches/develop/frameworks/as/defaults.css Fri Mar  8 16:37:12
>> 2013
>> @@ -0,0 +1,55 @@
>> +/*
>> + *
>> + *  Licensed to the Apache Software Foundation (ASF) under one or more
>> + *  contributor license agreements.  See the NOTICE file distributed with
>> + *  this work for additional information regarding copyright ownership.
>> + *  The ASF licenses this file to You under the Apache License, Version 2.0
>> + *  (the "License"); you may not use this file except in compliance with
>> + *  the License.  You may obtain a copy of the License at
>> + *
>> + *      http://www.apache.org/licenses/LICENSE-2.0
>> + *
>> + *  Unless required by applicable law or agreed to in writing, software
>> + *  distributed under the License is distributed on an "AS IS" BASIS,
>> + *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> + *  See the License for the specific language governing permissions and
>> + *  limitations under the License.
>> + *
>> + */
>> +
>> +@namespace "library://ns.apache.org/flexjs/basic";
>> +
>> +/* Global style declaration */
>> +global
>> +{
>> +    ITextBead:
>> ClassReference("org.apache.flex.html.staticControls.beads.TextFieldBead");
>> +    ITextModel:
>> ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
>> +
>> +}
>> +
>> +CheckBox
>> +{
>> +    IToggleButtonModel:
>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>> Model");
>> +    ICheckBoxBead:
>> ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
>> +}
>> +
>> +List
>> +{
>> +    ISelectionModel:
>> ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelecti
>> onModel");
>> +}
>> +
>> +RadioButton
>> +{
>> +    IToggleButtonModel:
>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>> Model");
>> +    IRadioButtonBead:
>> ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
>> +}
>> +
>> +TextButton
>> +{
>> +       ITextButtonBead:
>> ClassReference("org.apache.flex.html.staticControls.beads.TextButtonBead");
>> +}
>> +
>> +TextInput
>> +{
>> +    ITextInputBead:
>> ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorder
>> Bead");
>> +}
>>
>> Propchange: flex/asjs/branches/develop/frameworks/as/defaults.css
>>
----------------------------------------------------------------------------->>
-
>>     svn:eol-style = native
>>
>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>> Build).launch
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>> JS%20%28Debug%20Build%29.launch?rev=1454452&view=auto
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug Build).launch
>> (added)
>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug Build).launch
>> Fri Mar  8 16:37:12 2013
>> @@ -0,0 +1,10 @@
>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> +<launchConfiguration
>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>> +<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables"
>> value="false"/>
>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>> +</listAttribute>
>> +<stringAttribute
>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>> value="${project}"/>
>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>> ava"/>
>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data -debug
>> -output=&quot;${project_loc}/bin-debug/${project_name}.swf&quot;
>> &quot;${resource_loc}&quot;"/>
>> +</launchConfiguration>
>>
>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>> Build).launch
>>
----------------------------------------------------------------------------->>
-
>>     svn:eol-style = native
>>
>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>> Build).launch
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>> JS%20%28FalconJS%20Debug%20Build%29.launch?rev=1454452&view=auto
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>> Build).launch (added)
>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>> Build).launch Fri Mar  8 16:37:12 2013
>> @@ -0,0 +1,13 @@
>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> +<launchConfiguration
>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>> +<mapEntry key="FLEXJS_HOME"
>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>> rc"/>
>> +<mapEntry key="GOOG_HOME"
>> value="/Applications/GoogleClosure/library/closure/goog"/>
>> +</mapAttribute>
>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>> +</listAttribute>
>> +<stringAttribute
>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>> value="${project}"/>
>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>> ava"/>
>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data -debug
>> -output=&quot;${project_loc}/binjs-debug/${project_name}.js&quot;
>> &quot;${resource_loc}&quot;"/>
>> +</launchConfiguration>
>>
>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>> Debug Build).launch
>>
----------------------------------------------------------------------------->>
-
>>     svn:eol-style = native
>>
>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>> Build).launch
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>> JS%20%28FalconJS%20Release%20Build%29.launch?rev=1454452&view=auto
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>> Build).launch (added)
>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>> Build).launch Fri Mar  8 16:37:12 2013
>> @@ -0,0 +1,13 @@
>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> +<launchConfiguration
>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>> +<mapEntry key="FLEXJS_HOME"
>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>> rc"/>
>> +<mapEntry key="GOOG_HOME"
>> value="/Applications/GoogleClosure/library/closure/goog"/>
>> +</mapAttribute>
>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>> +</listAttribute>
>> +<stringAttribute
>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>> value="${project}"/>
>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>> ava"/>
>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data
>> -output=&quot;${project_loc}/binjs-release/${project_name}.js&quot;
>> &quot;${resource_loc}&quot;"/>
>> +</launchConfiguration>
>>
>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>> Release Build).launch
>>
----------------------------------------------------------------------------->>
-
>>     svn:eol-style = native
>>
>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>> Build).launch
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>> JS%20%28Release%20Build%29.launch?rev=1454452&view=auto
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release Build).launch
>> (added)
>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release Build).launch
>> Fri Mar  8 16:37:12 2013
>> @@ -0,0 +1,9 @@
>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> +<launchConfiguration
>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>> +</listAttribute>
>> +<stringAttribute
>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>> value="${project}"/>
>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>> ava"/>
>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data
>> -output=&quot;${project_loc}/bin-release/${project_name}.swf&quot;
>> &quot;${resource_loc}&quot;"/>
>> +</launchConfiguration>
>>
>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>> Build).launch
>>
----------------------------------------------------------------------------->>
-
>>     svn:eol-style = native
>>
>> Added: flex/asjs/branches/develop/frameworks/as/flex-config.xml
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-co
>> nfig.xml?rev=1454452&view=auto
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/frameworks/as/flex-config.xml (added)
>> +++ flex/asjs/branches/develop/frameworks/as/flex-config.xml Fri Mar  8
>> 16:37:12 2013
>> @@ -0,0 +1,426 @@
>> +<?xml version="1.0"?>
>> +
>> +<!--
>> +
>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>> +  contributor license agreements.  See the NOTICE file distributed with
>> +  this work for additional information regarding copyright ownership.
>> +  The ASF licenses this file to You under the Apache License, Version 2.0
>> +  (the "License"); you may not use this file except in compliance with
>> +  the License.  You may obtain a copy of the License at
>> +
>> +      http://www.apache.org/licenses/LICENSE-2.0
>> +
>> +  Unless required by applicable law or agreed to in writing, software
>> +  distributed under the License is distributed on an "AS IS" BASIS,
>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> +  See the License for the specific language governing permissions and
>> +  limitations under the License.
>> +
>> +-->
>> +
>> +
>> +<flex-config>
>> +    <!-- Specifies the minimum player version that will run the compiled
>> SWF. -->
>> +   <target-player>11.1</target-player>
>> +
>> +    <!-- Specifies the version of the compiled SWF -->
>> +   <swf-version>14</swf-version>
>> +
>> +   <compiler>
>> +
>> +      <!-- Turn on generation of accessible SWFs. -->
>> +      <accessible>true</accessible>
>> +
>> +      <!-- Specifies the locales for internationalization. -->
>> +      <locale>
>> +          <locale-element>en_US</locale-element>
>> +      </locale>
>> +
>> +      <!-- List of path elements that form the roots of ActionScript class
>> hierarchies. -->
>> +      <!-- not set -->
>> +      <!--
>> +      <source-path>
>> +         <path-element>string</path-element>
>> +      </source-path>
>> +      -->
>> +
>> +     <!-- Allow the source-path to have path-elements which contain other
>> path-elements -->
>> +     <allow-source-path-overlap>false</allow-source-path-overlap>
>> +
>> +      <!-- Run the AS3 compiler in a mode that detects legal but potentially
>> incorrect -->
>> +      <!-- code.
>> -->
>> +      <show-actionscript-warnings>true</show-actionscript-warnings>
>> +
>> +      <!-- Turn on generation of debuggable SWFs. False by default for
>> mxmlc, -->
>> +      <!-- but true by default for compc. -->
>> +      <!--
>> +      <debug>true</debug>
>> +      -->
>> +
>> +      <!-- List of SWC files or directories to compile against but to omit
>> from -->
>> +      <!-- linking.
>> -->
>> +      <external-library-path>
>> +
>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>> n}/playerglobal.swc</path-element>
>> +      </external-library-path>
>> +
>> +      <!-- Turn on writing of generated/*.as files to disk. These files are
>> generated by -->
>> +      <!-- the compiler during mxml translation and are helpful with
>> understanding and   -->
>> +      <!-- debugging Flex applications.
>> -->
>> +      <keep-generated-actionscript>false</keep-generated-actionscript>
>> +
>> +      <!-- not set -->
>> +      <!--
>> +      <include-libraries>
>> +         <library>string</library>
>> +      </include-libraries>
>> +      -->
>> +
>> +      <!-- List of SWC files or directories that contain SWC files. -->
>> +      <library-path>
>> +         <path-element>libs</path-element>
>> +         <path-element>locale/en_US</path-element>
>> +
>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>> n}</path-element>
>> +      </library-path>
>> +
>> +      <namespaces>
>> +      <!-- Specify a URI to associate with a manifest of components for use
>> as MXML -->
>> +      <!-- elements.
>> -->
>> +         <namespace>
>> +            <uri>library://ns.apache.org/flexjs/basic</uri>
>> +            <manifest>basic-manifest.xml</manifest>
>> +         </namespace>
>> +      </namespaces>
>> +
>> +      <!-- Enable post-link SWF optimization. -->
>> +      <optimize>true</optimize>
>> +
>> +      <!-- Enable trace statement omission. -->
>> +      <omit-trace-statements>true</omit-trace-statements>
>> +
>> +      <!-- Keep the following AS3 metadata in the bytecodes.
>> -->
>> +      <!-- Warning: For the data binding feature in the Flex framework to
>> work properly,                 -->
>> +      <!--          the following metadata must be kept:
>> -->
>> +      <!--          1. Bindable
>> -->
>> +      <!--          2. Managed
>> -->
>> +      <!--          3. ChangeEvent
>> -->
>> +      <!--          4. NonCommittingChangeEvent
>> -->
>> +      <!--          5. Transient
>> -->
>> +      <!--
>> +      <keep-as3-metadata>
>> +          <name>Bindable</name>
>> +          <name>Managed</name>
>> +          <name>ChangeEvent</name>
>> +          <name>NonCommittingChangeEvent</name>
>> +          <name>Transient</name>
>> +      </keep-as3-metadata>
>> +      -->
>> +
>> +      <!-- Turn on reporting of data binding warnings. For example: Warning:
>> Data binding -->
>> +      <!-- will not be able to detect assignments to "foo".
>> -->
>> +      <show-binding-warnings>true</show-binding-warnings>
>> +
>> +      <!-- toggle whether warnings generated from unused type selectors are
>> displayed -->
>> +
>> <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
>> +
>> +      <!-- Run the AS3 compiler in strict error checking mode. -->
>> +      <strict>true</strict>
>> +
>> +      <!-- Use the ActionScript 3 class based object model for greater
>> performance and better error reporting. -->
>> +      <!-- In the class based object model most built-in functions are
>> implemented as fixed methods of classes -->
>> +      <!-- (-strict is recommended, but not required, for earlier errors)
>> -->
>> +      <as3>true</as3>
>> +
>> +      <!-- Use the ECMAScript edition 3 prototype based object model to
>> allow dynamic overriding of prototype -->
>> +      <!-- properties. In the prototype based object model built-in
>> functions are implemented as dynamic      -->
>> +      <!-- properties of prototype objects (-strict is allowed, but may
>> result in compiler errors for         -->
>> +      <!-- references to dynamic properties) -->
>> +      <es>false</es>
>> +
>> +      <!-- List of CSS or SWC files to apply as a theme. -->
>> +      <theme>
>> +      </theme>
>> +
>> +      <!-- Turns on the display of stack traces for uncaught runtime errors.
>> -->
>> +      <verbose-stacktraces>false</verbose-stacktraces>
>> +
>> +      <!-- Defines the AS3 file encoding. -->
>> +      <!-- not set -->
>> +      <!--
>> +      <actionscript-file-encoding></actionscript-file-encoding>
>> +      -->
>> +
>> +      <fonts>
>> +
>> +          <!-- Enables advanced anti-aliasing for embedded fonts, which
>> provides greater clarity for small -->
>> +          <!-- fonts. This setting can be overriden in CSS for specific
>> fonts. -->
>> +          <!-- NOTE: flash-type has been deprecated. Please use
>> advanced-anti-aliasing <flash-type>true</flash-type> -->
>> +          <advanced-anti-aliasing>true</advanced-anti-aliasing>
>> +
>> +          <!-- The number of embedded font faces that are cached. -->
>> +          <max-cached-fonts>20</max-cached-fonts>
>> +
>> +          <!-- The number of character glyph outlines to cache for each font
>> face. -->
>> +          <max-glyphs-per-face>1000</max-glyphs-per-face>
>> +
>> +          <!-- Defines ranges that can be used across multiple font-face
>> declarations. -->
>> +          <!-- See flash-unicode-table.xml for more examples. -->
>> +          <!-- not set -->
>> +          <!--
>> +          <languages>
>> +              <language-range>
>> +                  <lang>englishRange</lang>
>> +                  <range>U+0020-007E</range>
>> +              </language-range>
>> +          </languages>
>> +          -->
>> +
>> +          <!-- Compiler font manager classes, in policy resolution order -->
>> +          <!-- NOTE: For Apache Flex -->
>> +          <!-- AFEFontManager and CFFFontManager both use proprietary
>> technology.  -->
>> +          <!-- You must install the optional font jars if you wish to use
>> embedded fonts  -->
>> +          <!-- directly or you can use fontswf to precompile the font as a
>> swf.  -->
>> +          <managers>
>> +              <manager-class>flash.fonts.JREFontManager</manager-class>
>> +              <manager-class>flash.fonts.BatikFontManager</manager-class>
>> +              <manager-class>flash.fonts.AFEFontManager</manager-class>
>> +              <manager-class>flash.fonts.CFFFontManager</manager-class>
>> +          </managers>
>> +
>> +          <!-- File containing cached system font licensing information
>> produced via
>> +               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
>> +               Will default to winFonts.ser on Windows XP and
>> +               macFonts.ser on Mac OS X, so is commented out by default.
>> +
>> +          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
>> +          -->
>> +
>> +      </fonts>
>> +
>> +      <!-- Array.toString() format has changed. -->
>> +      <warn-array-tostring-changes>false</warn-array-tostring-changes>
>> +
>> +      <!-- Assignment within conditional. -->
>> +
>> <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
>> +
>> +      <!-- Possibly invalid Array cast operation. -->
>> +      <warn-bad-array-cast>true</warn-bad-array-cast>
>> +
>> +      <!-- Non-Boolean value used where a Boolean value was expected. -->
>> +      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
>> +
>> +      <!-- Invalid Date cast operation. -->
>> +      <warn-bad-date-cast>true</warn-bad-date-cast>
>> +
>> +      <!-- Unknown method. -->
>> +      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
>> +
>> +      <!-- Unknown property. -->
>> +      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
>> +
>> +      <!-- Illogical comparison with NaN. Any comparison operation involving
>> NaN will evaluate to false because NaN != NaN. -->
>> +      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
>> +
>> +      <!-- Impossible assignment to null. -->
>> +      <warn-bad-null-assignment>true</warn-bad-null-assignment>
>> +
>> +      <!-- Illogical comparison with null. -->
>> +      <warn-bad-null-comparison>true</warn-bad-null-comparison>
>> +
>> +      <!-- Illogical comparison with undefined. Only untyped variables (or
>> variables of type *) can be undefined. -->
>> +      <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
>> +
>> +      <!-- Boolean() with no arguments returns false in ActionScript 3.0.
>> Boolean() returned undefined in ActionScript 2.0. -->
>> +
>> <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-n
>> o-args>
>> +
>> +      <!-- __resolve is no longer supported. -->
>> +      <warn-changes-in-resolve>false</warn-changes-in-resolve>
>> +
>> +      <!-- Class is sealed. It cannot have members added to it dynamically.
>> -->
>> +      <warn-class-is-sealed>true</warn-class-is-sealed>
>> +
>> +      <!-- Constant not initialized. -->
>> +      <warn-const-not-initialized>true</warn-const-not-initialized>
>> +
>> +      <!-- Function used in new expression returns a value. Result will be
>> what the -->
>> +      <!-- function returns, rather than a new instance of that function.
>> -->
>> +      <warn-constructor-returns-value>false</warn-constructor-returns-value>
>> +
>> +      <!-- EventHandler was not added as a listener. -->
>> +
>> <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-err
>> or>
>> +
>> +      <!-- Unsupported ActionScript 2.0 function. -->
>> +      <warn-deprecated-function-error>true</warn-deprecated-function-error>
>> +
>> +      <!-- Unsupported ActionScript 2.0 property. -->
>> +      <warn-deprecated-property-error>true</warn-deprecated-property-error>
>> +
>> +      <!-- More than one argument by the same name. -->
>> +      <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
>> +
>> +      <!-- Duplicate variable definition -->
>> +      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
>> +
>> +      <!-- ActionScript 3.0 iterates over an object's properties within a
>> "for x in target" statement in random order. -->
>> +      <warn-for-var-in-changes>false</warn-for-var-in-changes>
>> +
>> +      <!-- Importing a package by the same name as the current class will
>> hide that class identifier in this scope. -->
>> +      <warn-import-hides-class>true</warn-import-hides-class>
>> +
>> +      <!-- Use of the instanceof operator. -->
>> +      <warn-instance-of-changes>true</warn-instance-of-changes>
>> +
>> +      <!-- Internal error in compiler. -->
>> +      <warn-internal-error>true</warn-internal-error>
>> +
>> +      <!-- _level is no longer supported. For more information, see the
>> flash.display package. -->
>> +      <warn-level-not-supported>true</warn-level-not-supported>
>> +
>> +      <!-- Missing namespace declaration (e.g. variable is not defined to be
>> public, private, etc.). -->
>> +      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
>> +
>> +      <!-- Negative value will become a large positive value when assigned
>> to a uint data type. -->
>> +      <warn-negative-uint-literal>true</warn-negative-uint-literal>
>> +
>> +      <!-- Missing constructor. -->
>> +      <warn-no-constructor>false</warn-no-constructor>
>> +
>> +      <!-- The super() statement was not called within the constructor. -->
>> +
>> <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-cal
>> l-in-constructor>
>> +
>> +      <!-- Missing type declaration. -->
>> +      <warn-no-type-decl>true</warn-no-type-decl>
>> +
>> +      <!-- In ActionScript 3.0, white space is ignored and '' returns 0.
>> Number() returns -->
>> +      <!-- NaN in ActionScript 2.0 when the parameter is '' or contains
>> white space.      -->
>> +
>> <warn-number-from-string-changes>false</warn-number-from-string-changes>
>> +
>> +      <!-- Change in scoping for the this keyword. Class methods extracted
>> from an  -->
>> +      <!-- instance of a class will always resolve this back to that
>> instance. In   -->
>> +      <!-- ActionScript 2.0 this is looked up dynamically based on where the
>> method -->
>> +      <!-- is invoked from.
>> -->
>> +      <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
>> +
>> +      <!-- Inefficient use of += on a TextField.-->
>> +      <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
>> +
>> +      <!-- Possible missing parentheses. -->
>> +      <warn-unlikely-function-value>true</warn-unlikely-function-value>
>> +
>> +      <!-- Possible usage of the ActionScript 2.0 XML class. -->
>> +      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
>> +
>> +   </compiler>
>> +
>> +   <!-- compute-digest: writes a digest to the catalog.xml of a library. Use
>> this when the library will be used as a
>> +                        cross-domain rsl.-->
>> +   <!-- compute-digest usage:
>> +   <compute-digest>boolean</compute-digest>
>> +   -->
>> +
>> +   <!-- remove-unused-rsls: remove RSLs that are not being used by the
>> application-->
>> +   <remove-unused-rsls>true</remove-unused-rsls>
>> +
>> +   <!-- A list of runtime shared library URLs to be loaded before
>> applications start. -->
>> +   <!-- not set -->
>> +   <!--
>> +   <runtime-shared-libraries>
>> +      <url>string</url>
>> +      <url>string</url>
>> +   </runtime-shared-libraries>
>> +   -->
>> +
>> +       <!-- runtime-shared-library-path: specifies a SWC or directory to
>> link against and an RSL URL to load with optional failover URLs -->
>> +      <!-- Framework SWC
>> +       <runtime-shared-library-path>
>> +               <path-element>libs/framework.swc</path-element>
>> +               <rsl-url>framework_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +       -->
>> +
>> +
>> +         <!-- TextLayout SWC -->
>> +       <!--
>> +           Even though there is no textLayout rsl leave this in so that in a
>> FlashBuilder
>> +           Flex Library project, FlashBuilder will allow "Link Type" to be
>> external.
>> +    <runtime-shared-library-path>
>> +               <path-element>libs/textLayout.swc</path-element>
>> +               <rsl-url>textLayout_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +    -->
>> +
>> +      <!-- Spark SWC
>> +       <runtime-shared-library-path>
>> +               <path-element>libs/spark.swc</path-element>
>> +               <rsl-url>spark_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +    -->
>> +      <!-- Sparkskins SWC
>> +       <runtime-shared-library-path>
>> +               <path-element>libs/sparkskins.swc</path-element>
>> +               <rsl-url>sparkskins_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +        -->
>> +         <!-- RPC SWC
>> +       <runtime-shared-library-path>
>> +               <path-element>libs/rpc.swc</path-element>
>> +               <rsl-url>rpc_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +        -->
>> +      <!-- Charts SWC
>> +       <runtime-shared-library-path>
>> +               <path-element>libs/charts.swc</path-element>
>> +               <rsl-url>charts_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +     -->
>> +      <!-- Spark_dmv SWC
>> +       <runtime-shared-library-path>
>> +               <path-element>libs/spark_dmv.swc</path-element>
>> +               <rsl-url>spark_dmv_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +    -->
>> +      <!-- OSMF SWC -->
>> +       <!--
>> +           Even though there is no OSMF rsl leave this in so that in a
>> FlashBuilder
>> +           Flex Library project, FlashBuilder will allow "Link Type" to be
>> external.
>> +    <runtime-shared-library-path>
>> +               <path-element>libs/osmf.swc</path-element>
>> +               <rsl-url>osmf_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +    -->
>> +
>> +      <!-- MX SWC
>> +       <runtime-shared-library-path>
>> +               <path-element>libs/mx/mx.swc</path-element>
>> +               <rsl-url>mx_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +   -->
>> +      <!-- Advancedgrids SWC
>> +       <runtime-shared-library-path>
>> +               <path-element>libs/advancedgrids.swc</path-element>
>> +               <rsl-url>advancedgrids_4.9.0.1425567.swf</rsl-url>
>> +       </runtime-shared-library-path>
>> +       -->
>> +       <!-- static-link-runtime-shared-libraries: statically link the
>> libraries specified by the -runtime-shared-libraries-path option.-->
>> +
>> <static-link-runtime-shared-libraries>true</static-link-runtime-shared-librar
>> ies>
>> +
>> +   <!-- target-player: specifies the version of the player the application
>> is targeting.
>> +                       Features requiring a later version will not be
>> compiled into the application.
>> +                       The minimum value supported is "9.0.0".-->
>> +   <!-- target-player usage:
>> +   <target-player>version</target-player>
>> +   -->
>> +
>> +   <!-- Enables SWFs to access the network. -->
>> +   <use-network>true</use-network>
>> +
>> +   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
>> +   <metadata>
>> +      <title>Apache FlexJS Application</title>
>> +      <description>http://flex.apache.org/</description>
>> +      <publisher>Apache Software Foundation</publisher>
>> +      <creator>unknown</creator>
>> +      <language>EN</language>
>> +   </metadata>
>> +
>> +</flex-config>
>>
>> Added: flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-sd
>> k-description.xml?rev=1454452&view=auto
>>
=============================================================================>>
=
>> --- flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml (added)
>> +++ flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml Fri Mar
>> 8 16:37:12 2013
>> @@ -0,0 +1,25 @@
>> +<?xml version="1.0"?>
>> +<!--
>> +
>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>> +  contributor license agreements.  See the NOTICE file distributed with
>> +  this work for additional information regarding copyright ownership.
>> +  The ASF licenses this file to You under the Apache License, Version 2.0
>> +  (the "License"); you may not use this file except in compliance with
>> +  the License.  You may obtain a copy of the License at
>> +
>> +      http://www.apache.org/licenses/LICENSE-2.0
>> +
>> +  Unless required by applicable law or agreed to in writing, software
>> +  distributed under the License is distributed on an "AS IS" BASIS,
>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> +  See the License for the specific language governing permissions and
>> +  limitations under the License.
>> +
>> +-->
>> +<flex-sdk-description>
>> +<name>Apache FlexJS Prototype</name>
>> +<version>4.9.0</version>
>> +<build>1425567</build>
>> +</flex-sdk-description>
>> +
>> \ No newline at end of file
>>
>> Propchange: flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>
----------------------------------------------------------------------------->>
-
>>     svn:eol-style = native
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>> .as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/core/Application.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>> .as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>> .as Fri Mar  8 16:37:12 2013
>> @@ -34,7 +34,7 @@ package org.apache.flex.core
>>       */
>>      [Event(name="initialize", type="flash.events.Event")]
>>
>> -    public class Application extends Sprite implements IStrand
>> +    public class Application extends Sprite implements IStrand, IFlexInfo
>>      {
>>          public function Application()
>>          {
>> @@ -53,6 +53,7 @@ package org.apache.flex.core
>>                 MXMLDataInterpreter.generateMXMLProperties(this,
>> MXMLProperties);
>>
>>              ValuesManager.valuesImpl = valuesImpl;
>> +            ValuesManager.valuesImpl.init(this);
>>
>>              dispatchEvent(new Event("initialize"));
>>
>> @@ -116,5 +117,10 @@ package org.apache.flex.core
>>              }
>>              return null;
>>          }
>> +
>> +        public function get info():Object
>> +        {
>> +            return {};
>> +        }
>>      }
>>  }
>> \ No newline at end of file
>>
>> Added:
>>
flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
s
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/core/IFlexInfo.as?rev=1454452&view=auto
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>> s (added)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>> s Fri Mar  8 16:37:12 2013
>> @@ -0,0 +1,29 @@
>> +////////////////////////////////////////////////////////////////////////////
>> ////
>> +//
>> +//  Licensed to the Apache Software Foundation (ASF) under one or more
>> +//  contributor license agreements.  See the NOTICE file distributed with
>> +//  this work for additional information regarding copyright ownership.
>> +//  The ASF licenses this file to You under the Apache License, Version 2.0
>> +//  (the "License"); you may not use this file except in compliance with
>> +//  the License.  You may obtain a copy of the License at
>> +//
>> +//      http://www.apache.org/licenses/LICENSE-2.0
>> +//
>> +//  Unless required by applicable law or agreed to in writing, software
>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> +//  See the License for the specific language governing permissions and
>> +//  limitations under the License.
>> +//
>> +////////////////////////////////////////////////////////////////////////////
>> ////
>> +package org.apache.flex.core
>> +{
>> +    /**
>> +     * An object of various properties and values that are not otherwise
>> +     * linked in by hard class references, like styles, rsls, mixins.
>> +     */
>> +       public interface IFlexInfo
>> +       {
>> +               function get info():Object
>> +       }
>> +}
>> \ No newline at end of file
>>
>> Propchange:
>>
flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
s
>>
----------------------------------------------------------------------------->>
-
>>     svn:eol-style = native
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>> .as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/core/IValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>> .as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>> .as Fri Mar  8 16:37:12 2013
>> @@ -20,7 +20,8 @@ package org.apache.flex.core
>>  {
>>         public interface IValuesImpl
>>         {
>> -               function getValue(valueName:String):Object;
>> -               function setValue(valueName:String, value:Object):void;
>> +               function getValue(thisObject:Object,
>> valueName:String):Object;
>> +
>> +        function init(mainClass:Object):void;
>>         }
>>  }
>> \ No newline at end of file
>>
>> Added:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>> luesImpl.as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/core/SimpleCSSValuesImpl.as?rev=1454452&view=auto
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>> luesImpl.as (added)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>> luesImpl.as Fri Mar  8 16:37:12 2013
>> @@ -0,0 +1,180 @@
>> +////////////////////////////////////////////////////////////////////////////
>> ////
>> +//
>> +//  Licensed to the Apache Software Foundation (ASF) under one or more
>> +//  contributor license agreements.  See the NOTICE file distributed with
>> +//  this work for additional information regarding copyright ownership.
>> +//  The ASF licenses this file to You under the Apache License, Version 2.0
>> +//  (the "License"); you may not use this file except in compliance with
>> +//  the License.  You may obtain a copy of the License at
>> +//
>> +//      http://www.apache.org/licenses/LICENSE-2.0
>> +//
>> +//  Unless required by applicable law or agreed to in writing, software
>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> +//  See the License for the specific language governing permissions and
>> +//  limitations under the License.
>> +//
>> +////////////////////////////////////////////////////////////////////////////
>> ////
>> +package org.apache.flex.core
>> +{
>> +       import flash.events.EventDispatcher;
>> +       import flash.events.IEventDispatcher;
>> +       import flash.system.ApplicationDomain;
>> +       import flash.utils.getQualifiedClassName;
>> +
>> +       import org.apache.flex.events.ValueChangeEvent;
>> +
>> +       public class SimpleCSSValuesImpl extends EventDispatcher implements
>> IValuesImpl
>> +       {
>> +               public function SimpleCSSValuesImpl()
>> +               {
>> +                       super();
>> +               }
>> +
>> +        public function init(mainClass:Object):void
>> +        {
>> +            var mainClassName:String = getQualifiedClassName(mainClass);
>> +            var styleClassName:String = "_" + mainClassName + "_Styles";
>> +            var c:Class =
>> ApplicationDomain.currentDomain.getDefinition(styleClassName) as Class;
>> +            values = {};
>> +            generateCSSStyleDeclarations(c["factoryFunctions"], c["data"]);
>> +        }
>> +
>> +        public function
>> generateCSSStyleDeclarations(factoryFunctions:Object, arr:Array):void
>> +        {
>> +            var declarationName:String = "";
>> +            var segmentName:String = "";
>> +            var n:int = arr.length;
>> +            for (var i:int = 0; i < n; i++)
>> +            {
>> +                var className:int = arr[i];
>> +                if (className == CSSClass.CSSSelector)
>> +                {
>> +                    var selectorName:String = arr[++i];
>> +                    segmentName = selectorName + segmentName;
>> +                    if (declarationName != "")
>> +                        declarationName += " ";
>> +                    declarationName += segmentName;
>> +                    segmentName = "";
>> +                }
>> +                else if (className == CSSClass.CSSCondition)
>> +                {
>> +                    // not supported
>> +                }
>> +                else if (className == CSSClass.CSSStyleDeclaration)
>> +                {
>> +                    var factoryName:int = arr[++i]; // defaultFactory or
>> factory
>> +                    var defaultFactory:Boolean = factoryName ==
>> CSSFactory.DefaultFactory;
>> +                    /*
>> +                    if (defaultFactory)
>> +                    {
>> +                        mergedStyle =
>> styleManager.getMergedStyleDeclaration(declarationName);
>> +                        style = new CSSStyleDeclaration(selector,
>> styleManager, mergedStyle == null);
>> +                    }
>> +                    else
>> +                    {
>> +                        style =
>> styleManager.getStyleDeclaration(declarationName);
>> +                        if (!style)
>> +                        {
>> +                            style = new CSSStyleDeclaration(selector,
>> styleManager, mergedStyle == null);
>> +                            if (factoryName == CSSFactory.Override)
>> +                                newSelectors.push(style);
>> +                        }
>> +                    }
>> +                    */
>> +                    var finalName:String;
>> +                    var valuesFunction:Function;
>> +                    var valuesObject:Object;
>> +                    if (defaultFactory)
>> +                    {
>> +                        valuesFunction = factoryFunctions[declarationName];
>> +                        valuesObject = new valuesFunction();
>> +                        finalName = fixNames(declarationName);
>> +                        values[finalName] = valuesObject;
>> +                    }
>> +                    else
>> +                    {
>> +                        valuesFunction = factoryFunctions[declarationName];
>> +                        valuesObject = new valuesFunction();
>> +                        var o:Object = values[declarationName];
>> +                        finalName = fixNames(declarationName);
>> +                        if (o == null)
>> +                            values[finalName] = valuesObject;
>> +                        else
>> +                        {
>> +                            valuesFunction.prototype = o;
>> +                            values[finalName] = new valuesFunction();
>> +                        }
>> +                    }
>> +                    declarationName = "";
>> +                }
>> +            }
>> +
>> +        }
>> +
>> +        private function fixNames(s:String):String
>> +        {
>> +            var arr:Array = s.split(" ");
>> +            var n:int = arr.length;
>> +            for (var i:int = 0; i < n; i++)
>> +            {
>> +                var segmentName:String = arr[i];
>> +                var c:int = segmentName.lastIndexOf(".");
>> +                if (c != -1)
>> +                {
>> +                    segmentName = segmentName.substr(0, c) + "::" +
>> segmentName.substr(c + 1);
>> +                    arr[i] = segmentName;
>> +                }
>> +            }
>> +            return arr.join(" ");
>> +        }
>> +
>> +        public var values:Object;
>> +
>> +               public function getValue(thisObject:Object,
>> valueName:String):Object
>> +               {
>> +            var className:String = getQualifiedClassName(thisObject);
>> +            var o:Object = values[className];
>> +            var value:*;
>> +            if (o)
>> +            {
>> +                value = o[valueName];
>> +                if (value !== undefined)
>> +                    return value;
>> +            }
>> +            o = values["global"];
>> +                       return o[valueName];
>> +               }
>> +
>> +               public function setValue(thisObject:Object, valueName:String,
>> value:Object):void
>> +               {
>> +                       var oldValue:Object = values[valueName];
>> +                       if (oldValue != value)
>> +                       {
>> +                               values[valueName] = value;
>> +                               dispatchEvent(new
>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false, oldValue,
>> value));
>> +                       }
>> +               }
>> +       }
>> +}
>> +
>> +class CSSClass
>> +{
>> +    public static const CSSSelector:int = 0;
>> +    public static const CSSCondition:int = 1;
>> +    public static const CSSStyleDeclaration:int = 2;
>> +}
>> +
>> +class CSSFactory
>> +{
>> +    public static const DefaultFactory:int = 0;
>> +    public static const Factory:int = 1;
>> +    public static const Override:int = 2;
>> +}
>> +
>> +class CSSDataType
>> +{
>> +    public static const Native:int = 0;
>> +    public static const Definition:int = 1;
>> +}
>>
>> Propchange:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>> luesImpl.as
>>
----------------------------------------------------------------------------->>
-
>>     svn:eol-style = native
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>> sImpl.as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/core/SimpleValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=
>> diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>> sImpl.as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>> sImpl.as Fri Mar  8 16:37:12 2013
>> @@ -32,12 +32,12 @@ package org.apache.flex.core
>>
>>                 public var values:Object;
>>
>> -               public function getValue(valueName:String):Object
>> +               public function getValue(thisObject:Object,
>> valueName:String):Object
>>                 {
>>                         return values[valueName];
>>                 }
>>
>> -               public function setValue(valueName:String, value:Object):void
>> +               public function setValue(thisObject:Object, valueName:String,
>> value:Object):void
>>                 {
>>                         var oldValue:Object = values[valueName];
>>                         if (oldValue != value)
>> @@ -46,5 +46,10 @@ package org.apache.flex.core
>>                                 dispatchEvent(new
>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false, oldValue,
>> value));
>>                         }
>>                 }
>> +
>> +        public function init(mainClass:Object):void
>> +        {
>> +            // do nothing
>> +        }
>>         }
>>  }
>> \ No newline at end of file
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/CheckBox.as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/html/staticControls/CheckBox.as?rev=1454452&r1=1454451&r2=145445
>> 2&view=diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/CheckBox.as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/CheckBox.as Fri Mar  8 16:37:12 2013
>> @@ -63,13 +63,13 @@ package org.apache.flex.html.staticContr
>>                 public function initModel():void
>>                 {
>>                         if (getBeadByType(IToggleButtonModel) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("IToggleButtonModel")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iToggleButtonModel")) as IBead);
>>                 }
>>
>>                 public function initSkin():void
>>                 {
>>                         if (getBeadByType(ICheckBoxBead) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("ICheckBoxBead")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iCheckBoxBead")) as IBead);
>>
>>                         _width = $width;
>>                         _height = $height;
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/Label.as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/html/staticControls/Label.as?rev=1454452&r1=1454451&r2=1454452&v
>> iew=diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/Label.as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/Label.as Fri Mar  8 16:37:12 2013
>> @@ -60,13 +60,13 @@ package org.apache.flex.html.staticContr
>>                 override public function initModel():void
>>                 {
>>                         if (getBeadByType(ITextModel) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>                 }
>>
>>                 public function initSkin():void
>>                 {
>>                         if (getBeadByType(ITextBead) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("ITextBead")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iTextBead")) as IBead);
>>                 }
>>         }
>>  }
>> \ No newline at end of file
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/List.as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/html/staticControls/List.as?rev=1454452&r1=1454451&r2=1454452&vi
>> ew=diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/List.as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/List.as Fri Mar  8 16:37:12 2013
>> @@ -82,7 +82,7 @@ package org.apache.flex.html.staticContr
>>                 override public function initModel():void
>>                 {
>>              if (getBeadByType(ISelectionModel) == null)
>> -                addBead(new
>> (ValuesManager.valuesImpl.getValue("ISelectionModel")) as IBead);
>> +                addBead(new (ValuesManager.valuesImpl.getValue(this,
>> "iSelectionModel")) as IBead);
>>                 }
>>
>>                 public function initSkin():void
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/RadioButton.as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/html/staticControls/RadioButton.as?rev=1454452&r1=1454451&r2=145
>> 4452&view=diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/RadioButton.as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/RadioButton.as Fri Mar  8 16:37:12 2013
>> @@ -112,13 +112,13 @@ package org.apache.flex.html.staticContr
>>                 public function initModel():void
>>                 {
>>                         if (getBeadByType(IValueToggleButtonModel) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("IValueToggleButtonModel")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iValueToggleButtonModel")) as
>> IBead);
>>                 }
>>
>>                 public function initSkin():void
>>                 {
>>                         if (getBeadByType(IRadioButtonBead) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("IRadioButtonBead")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iRadioButtonBead")) as IBead);
>>
>>                         _width = $width;
>>                         _height = $height;
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextArea.as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/html/staticControls/TextArea.as?rev=1454452&r1=1454451&r2=145445
>> 2&view=diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextArea.as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextArea.as Fri Mar  8 16:37:12 2013
>> @@ -54,7 +54,7 @@ package org.apache.flex.html.staticContr
>>                 override public function initModel():void
>>                 {
>>                         if (getBeadByType(ITextModel) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>                 }
>>
>>                 public function initSkin():void
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextButton.as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/html/staticControls/TextButton.as?rev=1454452&r1=1454451&r2=1454
>> 452&view=diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextButton.as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextButton.as Fri Mar  8 16:37:12 2013
>> @@ -55,13 +55,13 @@ package org.apache.flex.html.staticContr
>>                 override public function initModel():void
>>                 {
>>                         if (getBeadByType(ITextModel) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>                 }
>>
>>                 override public function initSkin():void
>>                 {
>>                         if (getBeadByType(ITextButtonBead) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("ITextButtonBead")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iTextButtonBead")) as IBead);
>>                 }
>>         }
>>  }
>> \ No newline at end of file
>>
>> Modified:
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextInput.as
>> URL:
>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>> /apache/flex/html/staticControls/TextInput.as?rev=1454452&r1=1454451&r2=14544
>> 52&view=diff
>>
=============================================================================>>
=
>> ---
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextInput.as (original)
>> +++
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>> ols/TextInput.as Fri Mar  8 16:37:12 2013
>> @@ -52,13 +52,13 @@ package org.apache.flex.html.staticContr
>>                 override public function initModel():void
>>                 {
>>                         if (getBeadByType(ITextModel) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>                 }
>>
>>                 public function initSkin():void
>>                 {
>>                         if (getBeadByType(ITextInputBead) == null)
>> -                               addBead(new
>> (ValuesManager.valuesImpl.getValue("ITextInputBead")) as IBead);
>> +                               addBead(new
>> (ValuesManager.valuesImpl.getValue(this, "iTextInputBead")) as IBead);
>>                 }
>>         }
>>  }
>> \ No newline at end of file
>>
>>
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl

--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: svn commit: r1454452 - in /flex/asjs/branches/develop: examples/FlexJSTest_again/ frameworks/as/ frameworks/as/fb/ frameworks/as/src/org/apache/flex/core/ frameworks/as/src/org/apache/flex/html/staticControls/ frameworks/js/FlexJS/src/org/apache/fl...

Posted by Erik de Bruin <er...@ixsoftware.nl>.
Yeah, that was never going to work without heavy string manipulation.
Most properties go in at least 2 places, kinda hard to do if you visit
them only once ;-)

I think I have something relatively transparent set up, so maybe we
can abstract it a bit more, later on.

EdB


On Fri, Mar 8, 2013 at 6:57 PM, Michael Schmalle
<ap...@teotigraphix.com> wrote:
> You see, email sucks. :)
>
> You are doing what I was thinking about so it makes perfect sense, right on.
> This was the misunderstanding yesterday, I thought it would be hard to
> create the FlexJS model without some type of model tracking.
>
> Mike
>
> Quoting Erik de Bruin <er...@ixsoftware.nl>:
>
>> Mike,
>>
>> I actually do a sort of 2 pass system. First I walk the MXML and build
>> an intermediate model that is much easier to manipulate into FlexJS
>> output. I used some ideas from AMD, like the 'stringifyNode' method,
>> which I lifted up a bit to make it visible from outside an emitter (or
>> rather, from inside another emitter), but that isn't major.
>>
>> Right now I want to make FlexJS work, and while I'm trying to make the
>> code as generic as possible, it's not my priority right now.
>>
>> EdB
>>
>>
>>
>> On Fri, Mar 8, 2013 at 6:20 PM, Michael Schmalle
>> <ap...@teotigraphix.com> wrote:
>>>
>>> I will add my 2 cents here;
>>>
>>> If multiple tree walks are necessary, then there will need to be an
>>> intermediate model created when Erik is walking the tree. As it stands, I
>>> "think" Erik is generating the source code on the traverse. To allow a 2
>>> pass system, there needs to be an intermediary model that can be updated,
>>> then the source code emitter uses pieces of that model to actually
>>> generate
>>> the code.
>>>
>>> What do you think Erik? You are generating the code in one shot correct?
>>>
>>> I had to do something along these lines with the AMD emitter to get
>>> dependencies but, I use place holders so I didn't do a double traverse.
>>>
>>> Quoting Alex Harui <ah...@adobe.com>:
>>>
>>>> As soon as you're done and FalconJX can compile and run the
>>>> FlexJSTest_again
>>>> example, I will cut over to FalconJX.  I had to keep working in FalconJS
>>>> because I couldn't wait for FalconJX.  There are some immediate
>>>> opportunities for me to promote the FlexJS work internally that can help
>>>> ensure I get to continue on with Apache Flex and I need a kit that folks
>>>> can
>>>> play with now.
>>>>
>>>> I don't have any work scheduled for FalconJS for a while (other than bug
>>>> fixes).  This checkin was for the AS-side where the primary goal was to
>>>> use
>>>> CSS to manage the configuration of the beads.  I'm not quite sure how
>>>> we're
>>>> going to handle CSS on the JS-side.   The JS side has no beads right now
>>>> because we're just thinly wrapping existing HTML controls. The AS side
>>>> is
>>>> using beads to maximize code-reuse when building up the AS emulations of
>>>> these HTML controls.  So, I'm not going to be doing any work in
>>>> compiler.js
>>>> to try to support CSS on the JS side right now.  Neither side currently
>>>> supports CSS for other visual styling (font-family, etc).  I can wait
>>>> for
>>>> FalconJX for that.
>>>>
>>>> Next week I plan to look into how data-binding syntax is handled.  Right
>>>> now
>>>> {} syntax is not supported in FlexJS on either the AS or JS side.  There
>>>> are
>>>> databinding beads you can use for now, but I think folks still love the
>>>> curly braces so I need to muck with that codegen on the AS side first.
>>>> It
>>>> will be enlightening to see how databinding codegen works in regular
>>>> Falcon
>>>> so we can think about how it will work in FalconJX.  In MXMLC it was a
>>>> multiple-pass process.  I want to understand it better so we know if we
>>>> need
>>>> to support multiple tree walks and tree mucking in FalconJX.
>>>>
>>>> -Alex
>>>>
>>>> On 3/8/13 8:50 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>>>>
>>>>> Alex,
>>>>>
>>>>> I'm nearly done with MXML support for FlexJS in FalconJx. As it seems
>>>>> to be the consensus that we'll move FlexJS to FalconJx, isn't it maybe
>>>>> an idea not to do too much work on FalconJS, as we will have to
>>>>> duplicate that effort in FalconJx?
>>>>>
>>>>> EdB
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Mar 8, 2013 at 5:37 PM,  <ah...@apache.org> wrote:
>>>>>>
>>>>>>
>>>>>> Author: aharui
>>>>>> Date: Fri Mar  8 16:37:12 2013
>>>>>> New Revision: 1454452
>>>>>>
>>>>>> URL: http://svn.apache.org/r1454452
>>>>>> Log:
>>>>>> Add defaults.css handling
>>>>>>
>>>>>> Added:
>>>>>>     flex/asjs/branches/develop/frameworks/as/defaults.css   (with
>>>>>> props)
>>>>>>     flex/asjs/branches/develop/frameworks/as/fb/
>>>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>>> Build).launch
>>>>>> (with props)
>>>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>>>>> Build).launch   (with props)
>>>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>>>> Release
>>>>>> Build).launch   (with props)
>>>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>>>> Build).launch
>>>>>> (with props)
>>>>>>     flex/asjs/branches/develop/frameworks/as/flex-config.xml
>>>>>>     flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>>> (with
>>>>>> props)
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>>>>> s   (with props)
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>>> luesImpl.as   (with props)
>>>>>> Removed:
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/js/FlexJS/src/org/apache/flex/html/stat
>>>>>> icControls/beads/
>>>>>> Modified:
>>>>>>
>>>>>> flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>>>>     flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>>>>     flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>>>> .as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>>>> .as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>>>> sImpl.as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/CheckBox.as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/Label.as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/List.as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/RadioButton.as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/TextArea.as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/TextButton.as
>>>>>>
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/TextInput.as
>>>>>>
>>>>>> Modified:
>>>>>> flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/examples/FlexJSTest_a
>>>>>> gain/FlexJSTest.mxml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>> flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>>>> (original)
>>>>>> +++
>>>>>> flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>>>> Fri
>>>>>> Mar  8 16:37:12 2013
>>>>>> @@ -25,7 +25,7 @@ limitations under the License.
>>>>>>
>>>>>> initialize="MyModel(model).labelText='Hello World'"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>         <basic:valuesImpl>
>>>>>> -               <local:MySimpleValuesImpl />
>>>>>> +               <basic:SimpleCSSValuesImpl />
>>>>>>         </basic:valuesImpl>
>>>>>>         <basic:initialView>
>>>>>>                 <local:MyInitialView />
>>>>>>
>>>>>> Modified: flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/basic-m
>>>>>> anifest.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> --- flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>>>> (original)
>>>>>> +++ flex/asjs/branches/develop/frameworks/as/basic-manifest.xml Fri
>>>>>> Mar
>>>>>> 8
>>>>>> 16:37:12 2013
>>>>>> @@ -23,6 +23,7 @@
>>>>>>
>>>>>>      <component id="Application"
>>>>>> class="org.apache.flex.core.Application"/>
>>>>>>      <component id="SimpleValuesImpl"
>>>>>> class="org.apache.flex.core.SimpleValuesImpl"/>
>>>>>> +    <component id="SimpleCSSValuesImpl"
>>>>>> class="org.apache.flex.core.SimpleCSSValuesImpl"/>
>>>>>>      <component id="ViewBase" class="org.apache.flex.core.ViewBase"/>
>>>>>>      <component id="ConstantBinding"
>>>>>> class="org.apache.flex.binding.ConstantBinding"/>
>>>>>>      <component id="SimpleBinding"
>>>>>> class="org.apache.flex.binding.SimpleBinding"/>
>>>>>>
>>>>>> Modified: flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/compile
>>>>>> -config.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> --- flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>>>> (original)
>>>>>> +++ flex/asjs/branches/develop/frameworks/as/compile-config.xml Fri
>>>>>> Mar
>>>>>> 8
>>>>>> 16:37:12 2013
>>>>>> @@ -43,6 +43,11 @@
>>>>>>          <warn-no-constructor>false</warn-no-constructor>
>>>>>>      </compiler>
>>>>>>
>>>>>> +    <include-file>
>>>>>> +        <name>defaults.css</name>
>>>>>> +        <path>defaults.css</path>
>>>>>> +    </include-file>
>>>>>> +
>>>>>>      <include-classes>
>>>>>>          <class>FlexJSUIClasses</class>
>>>>>>      </include-classes>
>>>>>>
>>>>>> Added: flex/asjs/branches/develop/frameworks/as/defaults.css
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/default
>>>>>> s.css?rev=1454452&view=auto
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> --- flex/asjs/branches/develop/frameworks/as/defaults.css (added)
>>>>>> +++ flex/asjs/branches/develop/frameworks/as/defaults.css Fri Mar  8
>>>>>> 16:37:12
>>>>>> 2013
>>>>>> @@ -0,0 +1,55 @@
>>>>>> +/*
>>>>>> + *
>>>>>> + *  Licensed to the Apache Software Foundation (ASF) under one or
>>>>>> more
>>>>>> + *  contributor license agreements.  See the NOTICE file distributed
>>>>>> with
>>>>>> + *  this work for additional information regarding copyright
>>>>>> ownership.
>>>>>> + *  The ASF licenses this file to You under the Apache License,
>>>>>> Version
>>>>>> 2.0
>>>>>> + *  (the "License"); you may not use this file except in compliance
>>>>>> with
>>>>>> + *  the License.  You may obtain a copy of the License at
>>>>>> + *
>>>>>> + *      http://www.apache.org/licenses/LICENSE-2.0
>>>>>> + *
>>>>>> + *  Unless required by applicable law or agreed to in writing,
>>>>>> software
>>>>>> + *  distributed under the License is distributed on an "AS IS" BASIS,
>>>>>> + *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>>> implied.
>>>>>> + *  See the License for the specific language governing permissions
>>>>>> and
>>>>>> + *  limitations under the License.
>>>>>> + *
>>>>>> + */
>>>>>> +
>>>>>> +@namespace "library://ns.apache.org/flexjs/basic";
>>>>>> +
>>>>>> +/* Global style declaration */
>>>>>> +global
>>>>>> +{
>>>>>> +    ITextBead:
>>>>>>
>>>>>>
>>>>>> ClassReference("org.apache.flex.html.staticControls.beads.TextFieldBead");
>>>>>> +    ITextModel:
>>>>>>
>>>>>>
>>>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
>>>>>> +
>>>>>> +}
>>>>>> +
>>>>>> +CheckBox
>>>>>> +{
>>>>>> +    IToggleButtonModel:
>>>>>>
>>>>>>
>>>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>>>>>> Model");
>>>>>> +    ICheckBoxBead:
>>>>>>
>>>>>>
>>>>>> ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
>>>>>> +}
>>>>>> +
>>>>>> +List
>>>>>> +{
>>>>>> +    ISelectionModel:
>>>>>>
>>>>>>
>>>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelecti
>>>>>> onModel");
>>>>>> +}
>>>>>> +
>>>>>> +RadioButton
>>>>>> +{
>>>>>> +    IToggleButtonModel:
>>>>>>
>>>>>>
>>>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>>>>>> Model");
>>>>>> +    IRadioButtonBead:
>>>>>>
>>>>>>
>>>>>> ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
>>>>>> +}
>>>>>> +
>>>>>> +TextButton
>>>>>> +{
>>>>>> +       ITextButtonBead:
>>>>>>
>>>>>>
>>>>>> ClassReference("org.apache.flex.html.staticControls.beads.TextButtonBead");
>>>>>> +}
>>>>>> +
>>>>>> +TextInput
>>>>>> +{
>>>>>> +    ITextInputBead:
>>>>>>
>>>>>>
>>>>>> ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorder
>>>>>> Bead");
>>>>>> +}
>>>>>>
>>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/defaults.css
>>>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------->>
>>>> -
>>>>>>
>>>>>>
>>>>>>     svn:eol-style = native
>>>>>>
>>>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>>> Build).launch
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>>>> JS%20%28Debug%20Build%29.launch?rev=1454452&view=auto
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>>> Build).launch
>>>>>> (added)
>>>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>>> Build).launch
>>>>>> Fri Mar  8 16:37:12 2013
>>>>>> @@ -0,0 +1,10 @@
>>>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>>>> +<launchConfiguration
>>>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>>>> +<booleanAttribute
>>>>>> key="org.eclipse.debug.core.appendEnvironmentVariables"
>>>>>> value="false"/>
>>>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>>>> +</listAttribute>
>>>>>> +<stringAttribute
>>>>>>
>>>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>>>> value="${project}"/>
>>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>>>
>>>>>>
>>>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>>>> ava"/>
>>>>>> +<stringAttribute
>>>>>> key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>>>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data
>>>>>> -debug
>>>>>> -output=&quot;${project_loc}/bin-debug/${project_name}.swf&quot;
>>>>>> &quot;${resource_loc}&quot;"/>
>>>>>> +</launchConfiguration>
>>>>>>
>>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>>> Build).launch
>>>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------->>
>>>> -
>>>>>>
>>>>>>
>>>>>>     svn:eol-style = native
>>>>>>
>>>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>>>> Debug
>>>>>> Build).launch
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>>>> JS%20%28FalconJS%20Debug%20Build%29.launch?rev=1454452&view=auto
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>>>>> Build).launch (added)
>>>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>>>>> Build).launch Fri Mar  8 16:37:12 2013
>>>>>> @@ -0,0 +1,13 @@
>>>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>>>> +<launchConfiguration
>>>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>>>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>>>>>> +<mapEntry key="FLEXJS_HOME"
>>>>>>
>>>>>>
>>>>>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>>>>>> rc"/>
>>>>>> +<mapEntry key="GOOG_HOME"
>>>>>> value="/Applications/GoogleClosure/library/closure/goog"/>
>>>>>> +</mapAttribute>
>>>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>>>> +</listAttribute>
>>>>>> +<stringAttribute
>>>>>>
>>>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>>>> value="${project}"/>
>>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>>>
>>>>>>
>>>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>>>> ava"/>
>>>>>> +<stringAttribute
>>>>>> key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>>>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data -debug
>>>>>> -output=&quot;${project_loc}/binjs-debug/${project_name}.js&quot;
>>>>>> &quot;${resource_loc}&quot;"/>
>>>>>> +</launchConfiguration>
>>>>>>
>>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS
>>>>>> (FalconJS
>>>>>> Debug Build).launch
>>>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------->>
>>>> -
>>>>>>
>>>>>>
>>>>>>     svn:eol-style = native
>>>>>>
>>>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>>>> Release
>>>>>> Build).launch
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>>>> JS%20%28FalconJS%20Release%20Build%29.launch?rev=1454452&view=auto
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>>>> Release
>>>>>> Build).launch (added)
>>>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>>>> Release
>>>>>> Build).launch Fri Mar  8 16:37:12 2013
>>>>>> @@ -0,0 +1,13 @@
>>>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>>>> +<launchConfiguration
>>>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>>>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>>>>>> +<mapEntry key="FLEXJS_HOME"
>>>>>>
>>>>>>
>>>>>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>>>>>> rc"/>
>>>>>> +<mapEntry key="GOOG_HOME"
>>>>>> value="/Applications/GoogleClosure/library/closure/goog"/>
>>>>>> +</mapAttribute>
>>>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>>>> +</listAttribute>
>>>>>> +<stringAttribute
>>>>>>
>>>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>>>> value="${project}"/>
>>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>>>
>>>>>>
>>>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>>>> ava"/>
>>>>>> +<stringAttribute
>>>>>> key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>>>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data
>>>>>> -output=&quot;${project_loc}/binjs-release/${project_name}.js&quot;
>>>>>> &quot;${resource_loc}&quot;"/>
>>>>>> +</launchConfiguration>
>>>>>>
>>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS
>>>>>> (FalconJS
>>>>>> Release Build).launch
>>>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------->>
>>>> -
>>>>>>
>>>>>>
>>>>>>     svn:eol-style = native
>>>>>>
>>>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>>>> Build).launch
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>>>> JS%20%28Release%20Build%29.launch?rev=1454452&view=auto
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>>>> Build).launch
>>>>>> (added)
>>>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>>>> Build).launch
>>>>>> Fri Mar  8 16:37:12 2013
>>>>>> @@ -0,0 +1,9 @@
>>>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>>>> +<launchConfiguration
>>>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>>>> +</listAttribute>
>>>>>> +<stringAttribute
>>>>>>
>>>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>>>> value="${project}"/>
>>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>>>
>>>>>>
>>>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>>>> ava"/>
>>>>>> +<stringAttribute
>>>>>> key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>>>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data
>>>>>> -output=&quot;${project_loc}/bin-release/${project_name}.swf&quot;
>>>>>> &quot;${resource_loc}&quot;"/>
>>>>>> +</launchConfiguration>
>>>>>>
>>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS
>>>>>> (Release
>>>>>> Build).launch
>>>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------->>
>>>> -
>>>>>>
>>>>>>
>>>>>>     svn:eol-style = native
>>>>>>
>>>>>> Added: flex/asjs/branches/develop/frameworks/as/flex-config.xml
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-co
>>>>>> nfig.xml?rev=1454452&view=auto
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> --- flex/asjs/branches/develop/frameworks/as/flex-config.xml (added)
>>>>>> +++ flex/asjs/branches/develop/frameworks/as/flex-config.xml Fri Mar
>>>>>> 8
>>>>>> 16:37:12 2013
>>>>>> @@ -0,0 +1,426 @@
>>>>>> +<?xml version="1.0"?>
>>>>>> +
>>>>>> +<!--
>>>>>> +
>>>>>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>>>>>> +  contributor license agreements.  See the NOTICE file distributed
>>>>>> with
>>>>>> +  this work for additional information regarding copyright ownership.
>>>>>> +  The ASF licenses this file to You under the Apache License, Version
>>>>>> 2.0
>>>>>> +  (the "License"); you may not use this file except in compliance
>>>>>> with
>>>>>> +  the License.  You may obtain a copy of the License at
>>>>>> +
>>>>>> +      http://www.apache.org/licenses/LICENSE-2.0
>>>>>> +
>>>>>> +  Unless required by applicable law or agreed to in writing, software
>>>>>> +  distributed under the License is distributed on an "AS IS" BASIS,
>>>>>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>>> implied.
>>>>>> +  See the License for the specific language governing permissions and
>>>>>> +  limitations under the License.
>>>>>> +
>>>>>> +-->
>>>>>> +
>>>>>> +
>>>>>> +<flex-config>
>>>>>> +    <!-- Specifies the minimum player version that will run the
>>>>>> compiled
>>>>>> SWF. -->
>>>>>> +   <target-player>11.1</target-player>
>>>>>> +
>>>>>> +    <!-- Specifies the version of the compiled SWF -->
>>>>>> +   <swf-version>14</swf-version>
>>>>>> +
>>>>>> +   <compiler>
>>>>>> +
>>>>>> +      <!-- Turn on generation of accessible SWFs. -->
>>>>>> +      <accessible>true</accessible>
>>>>>> +
>>>>>> +      <!-- Specifies the locales for internationalization. -->
>>>>>> +      <locale>
>>>>>> +          <locale-element>en_US</locale-element>
>>>>>> +      </locale>
>>>>>> +
>>>>>> +      <!-- List of path elements that form the roots of ActionScript
>>>>>> class
>>>>>> hierarchies. -->
>>>>>> +      <!-- not set -->
>>>>>> +      <!--
>>>>>> +      <source-path>
>>>>>> +         <path-element>string</path-element>
>>>>>> +      </source-path>
>>>>>> +      -->
>>>>>> +
>>>>>> +     <!-- Allow the source-path to have path-elements which contain
>>>>>> other
>>>>>> path-elements -->
>>>>>> +     <allow-source-path-overlap>false</allow-source-path-overlap>
>>>>>> +
>>>>>> +      <!-- Run the AS3 compiler in a mode that detects legal but
>>>>>> potentially
>>>>>> incorrect -->
>>>>>> +      <!-- code.
>>>>>> -->
>>>>>> +      <show-actionscript-warnings>true</show-actionscript-warnings>
>>>>>> +
>>>>>> +      <!-- Turn on generation of debuggable SWFs. False by default
>>>>>> for
>>>>>> mxmlc, -->
>>>>>> +      <!-- but true by default for compc. -->
>>>>>> +      <!--
>>>>>> +      <debug>true</debug>
>>>>>> +      -->
>>>>>> +
>>>>>> +      <!-- List of SWC files or directories to compile against but to
>>>>>> omit
>>>>>> from -->
>>>>>> +      <!-- linking.
>>>>>> -->
>>>>>> +      <external-library-path>
>>>>>> +
>>>>>>
>>>>>>
>>>>>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>>>>>> n}/playerglobal.swc</path-element>
>>>>>> +      </external-library-path>
>>>>>> +
>>>>>> +      <!-- Turn on writing of generated/*.as files to disk. These
>>>>>> files
>>>>>> are
>>>>>> generated by -->
>>>>>> +      <!-- the compiler during mxml translation and are helpful with
>>>>>> understanding and   -->
>>>>>> +      <!-- debugging Flex applications.
>>>>>> -->
>>>>>> +
>>>>>> <keep-generated-actionscript>false</keep-generated-actionscript>
>>>>>> +
>>>>>> +      <!-- not set -->
>>>>>> +      <!--
>>>>>> +      <include-libraries>
>>>>>> +         <library>string</library>
>>>>>> +      </include-libraries>
>>>>>> +      -->
>>>>>> +
>>>>>> +      <!-- List of SWC files or directories that contain SWC files.
>>>>>> -->
>>>>>> +      <library-path>
>>>>>> +         <path-element>libs</path-element>
>>>>>> +         <path-element>locale/en_US</path-element>
>>>>>> +
>>>>>>
>>>>>>
>>>>>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>>>>>> n}</path-element>
>>>>>> +      </library-path>
>>>>>> +
>>>>>> +      <namespaces>
>>>>>> +      <!-- Specify a URI to associate with a manifest of components
>>>>>> for
>>>>>> use
>>>>>> as MXML -->
>>>>>> +      <!-- elements.
>>>>>> -->
>>>>>> +         <namespace>
>>>>>> +            <uri>library://ns.apache.org/flexjs/basic</uri>
>>>>>> +            <manifest>basic-manifest.xml</manifest>
>>>>>> +         </namespace>
>>>>>> +      </namespaces>
>>>>>> +
>>>>>> +      <!-- Enable post-link SWF optimization. -->
>>>>>> +      <optimize>true</optimize>
>>>>>> +
>>>>>> +      <!-- Enable trace statement omission. -->
>>>>>> +      <omit-trace-statements>true</omit-trace-statements>
>>>>>> +
>>>>>> +      <!-- Keep the following AS3 metadata in the bytecodes.
>>>>>> -->
>>>>>> +      <!-- Warning: For the data binding feature in the Flex
>>>>>> framework
>>>>>> to
>>>>>> work properly,                 -->
>>>>>> +      <!--          the following metadata must be kept:
>>>>>> -->
>>>>>> +      <!--          1. Bindable
>>>>>> -->
>>>>>> +      <!--          2. Managed
>>>>>> -->
>>>>>> +      <!--          3. ChangeEvent
>>>>>> -->
>>>>>> +      <!--          4. NonCommittingChangeEvent
>>>>>> -->
>>>>>> +      <!--          5. Transient
>>>>>> -->
>>>>>> +      <!--
>>>>>> +      <keep-as3-metadata>
>>>>>> +          <name>Bindable</name>
>>>>>> +          <name>Managed</name>
>>>>>> +          <name>ChangeEvent</name>
>>>>>> +          <name>NonCommittingChangeEvent</name>
>>>>>> +          <name>Transient</name>
>>>>>> +      </keep-as3-metadata>
>>>>>> +      -->
>>>>>> +
>>>>>> +      <!-- Turn on reporting of data binding warnings. For example:
>>>>>> Warning:
>>>>>> Data binding -->
>>>>>> +      <!-- will not be able to detect assignments to "foo".
>>>>>> -->
>>>>>> +      <show-binding-warnings>true</show-binding-warnings>
>>>>>> +
>>>>>> +      <!-- toggle whether warnings generated from unused type
>>>>>> selectors
>>>>>> are
>>>>>> displayed -->
>>>>>> +
>>>>>>
>>>>>>
>>>>>> <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
>>>>>> +
>>>>>> +      <!-- Run the AS3 compiler in strict error checking mode. -->
>>>>>> +      <strict>true</strict>
>>>>>> +
>>>>>> +      <!-- Use the ActionScript 3 class based object model for
>>>>>> greater
>>>>>> performance and better error reporting. -->
>>>>>> +      <!-- In the class based object model most built-in functions
>>>>>> are
>>>>>> implemented as fixed methods of classes -->
>>>>>> +      <!-- (-strict is recommended, but not required, for earlier
>>>>>> errors)
>>>>>> -->
>>>>>> +      <as3>true</as3>
>>>>>> +
>>>>>> +      <!-- Use the ECMAScript edition 3 prototype based object model
>>>>>> to
>>>>>> allow dynamic overriding of prototype -->
>>>>>> +      <!-- properties. In the prototype based object model built-in
>>>>>> functions are implemented as dynamic      -->
>>>>>> +      <!-- properties of prototype objects (-strict is allowed, but
>>>>>> may
>>>>>> result in compiler errors for         -->
>>>>>> +      <!-- references to dynamic properties) -->
>>>>>> +      <es>false</es>
>>>>>> +
>>>>>> +      <!-- List of CSS or SWC files to apply as a theme. -->
>>>>>> +      <theme>
>>>>>> +      </theme>
>>>>>> +
>>>>>> +      <!-- Turns on the display of stack traces for uncaught runtime
>>>>>> errors.
>>>>>> -->
>>>>>> +      <verbose-stacktraces>false</verbose-stacktraces>
>>>>>> +
>>>>>> +      <!-- Defines the AS3 file encoding. -->
>>>>>> +      <!-- not set -->
>>>>>> +      <!--
>>>>>> +      <actionscript-file-encoding></actionscript-file-encoding>
>>>>>> +      -->
>>>>>> +
>>>>>> +      <fonts>
>>>>>> +
>>>>>> +          <!-- Enables advanced anti-aliasing for embedded fonts,
>>>>>> which
>>>>>> provides greater clarity for small -->
>>>>>> +          <!-- fonts. This setting can be overriden in CSS for
>>>>>> specific
>>>>>> fonts. -->
>>>>>> +          <!-- NOTE: flash-type has been deprecated. Please use
>>>>>> advanced-anti-aliasing <flash-type>true</flash-type> -->
>>>>>> +          <advanced-anti-aliasing>true</advanced-anti-aliasing>
>>>>>> +
>>>>>> +          <!-- The number of embedded font faces that are cached. -->
>>>>>> +          <max-cached-fonts>20</max-cached-fonts>
>>>>>> +
>>>>>> +          <!-- The number of character glyph outlines to cache for
>>>>>> each
>>>>>> font
>>>>>> face. -->
>>>>>> +          <max-glyphs-per-face>1000</max-glyphs-per-face>
>>>>>> +
>>>>>> +          <!-- Defines ranges that can be used across multiple
>>>>>> font-face
>>>>>> declarations. -->
>>>>>> +          <!-- See flash-unicode-table.xml for more examples. -->
>>>>>> +          <!-- not set -->
>>>>>> +          <!--
>>>>>> +          <languages>
>>>>>> +              <language-range>
>>>>>> +                  <lang>englishRange</lang>
>>>>>> +                  <range>U+0020-007E</range>
>>>>>> +              </language-range>
>>>>>> +          </languages>
>>>>>> +          -->
>>>>>> +
>>>>>> +          <!-- Compiler font manager classes, in policy resolution
>>>>>> order -->
>>>>>> +          <!-- NOTE: For Apache Flex -->
>>>>>> +          <!-- AFEFontManager and CFFFontManager both use proprietary
>>>>>> technology.  -->
>>>>>> +          <!-- You must install the optional font jars if you wish to
>>>>>> use
>>>>>> embedded fonts  -->
>>>>>> +          <!-- directly or you can use fontswf to precompile the font
>>>>>> as a
>>>>>> swf.  -->
>>>>>> +          <managers>
>>>>>> +
>>>>>> <manager-class>flash.fonts.JREFontManager</manager-class>
>>>>>> +
>>>>>> <manager-class>flash.fonts.BatikFontManager</manager-class>
>>>>>> +
>>>>>> <manager-class>flash.fonts.AFEFontManager</manager-class>
>>>>>> +
>>>>>> <manager-class>flash.fonts.CFFFontManager</manager-class>
>>>>>> +          </managers>
>>>>>> +
>>>>>> +          <!-- File containing cached system font licensing
>>>>>> information
>>>>>> produced via
>>>>>> +               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
>>>>>> +               Will default to winFonts.ser on Windows XP and
>>>>>> +               macFonts.ser on Mac OS X, so is commented out by
>>>>>> default.
>>>>>> +
>>>>>> +          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
>>>>>> +          -->
>>>>>> +
>>>>>> +      </fonts>
>>>>>> +
>>>>>> +      <!-- Array.toString() format has changed. -->
>>>>>> +
>>>>>> <warn-array-tostring-changes>false</warn-array-tostring-changes>
>>>>>> +
>>>>>> +      <!-- Assignment within conditional. -->
>>>>>> +
>>>>>>
>>>>>>
>>>>>> <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
>>>>>> +
>>>>>> +      <!-- Possibly invalid Array cast operation. -->
>>>>>> +      <warn-bad-array-cast>true</warn-bad-array-cast>
>>>>>> +
>>>>>> +      <!-- Non-Boolean value used where a Boolean value was expected.
>>>>>> -->
>>>>>> +      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
>>>>>> +
>>>>>> +      <!-- Invalid Date cast operation. -->
>>>>>> +      <warn-bad-date-cast>true</warn-bad-date-cast>
>>>>>> +
>>>>>> +      <!-- Unknown method. -->
>>>>>> +      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
>>>>>> +
>>>>>> +      <!-- Unknown property. -->
>>>>>> +      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
>>>>>> +
>>>>>> +      <!-- Illogical comparison with NaN. Any comparison operation
>>>>>> involving
>>>>>> NaN will evaluate to false because NaN != NaN. -->
>>>>>> +      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
>>>>>> +
>>>>>> +      <!-- Impossible assignment to null. -->
>>>>>> +      <warn-bad-null-assignment>true</warn-bad-null-assignment>
>>>>>> +
>>>>>> +      <!-- Illogical comparison with null. -->
>>>>>> +      <warn-bad-null-comparison>true</warn-bad-null-comparison>
>>>>>> +
>>>>>> +      <!-- Illogical comparison with undefined. Only untyped
>>>>>> variables
>>>>>> (or
>>>>>> variables of type *) can be undefined. -->
>>>>>> +
>>>>>> <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
>>>>>> +
>>>>>> +      <!-- Boolean() with no arguments returns false in ActionScript
>>>>>> 3.0.
>>>>>> Boolean() returned undefined in ActionScript 2.0. -->
>>>>>> +
>>>>>>
>>>>>>
>>>>>> <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-n
>>>>>> o-args>
>>>>>> +
>>>>>> +      <!-- __resolve is no longer supported. -->
>>>>>> +      <warn-changes-in-resolve>false</warn-changes-in-resolve>
>>>>>> +
>>>>>> +      <!-- Class is sealed. It cannot have members added to it
>>>>>> dynamically.
>>>>>> -->
>>>>>> +      <warn-class-is-sealed>true</warn-class-is-sealed>
>>>>>> +
>>>>>> +      <!-- Constant not initialized. -->
>>>>>> +      <warn-const-not-initialized>true</warn-const-not-initialized>
>>>>>> +
>>>>>> +      <!-- Function used in new expression returns a value. Result
>>>>>> will
>>>>>> be
>>>>>> what the -->
>>>>>> +      <!-- function returns, rather than a new instance of that
>>>>>> function.
>>>>>> -->
>>>>>> +
>>>>>> <warn-constructor-returns-value>false</warn-constructor-returns-value>
>>>>>> +
>>>>>> +      <!-- EventHandler was not added as a listener. -->
>>>>>> +
>>>>>>
>>>>>>
>>>>>> <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-err
>>>>>> or>
>>>>>> +
>>>>>> +      <!-- Unsupported ActionScript 2.0 function. -->
>>>>>> +
>>>>>> <warn-deprecated-function-error>true</warn-deprecated-function-error>
>>>>>> +
>>>>>> +      <!-- Unsupported ActionScript 2.0 property. -->
>>>>>> +
>>>>>> <warn-deprecated-property-error>true</warn-deprecated-property-error>
>>>>>> +
>>>>>> +      <!-- More than one argument by the same name. -->
>>>>>> +
>>>>>> <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
>>>>>> +
>>>>>> +      <!-- Duplicate variable definition -->
>>>>>> +      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
>>>>>> +
>>>>>> +      <!-- ActionScript 3.0 iterates over an object's properties
>>>>>> within
>>>>>> a
>>>>>> "for x in target" statement in random order. -->
>>>>>> +      <warn-for-var-in-changes>false</warn-for-var-in-changes>
>>>>>> +
>>>>>> +      <!-- Importing a package by the same name as the current class
>>>>>> will
>>>>>> hide that class identifier in this scope. -->
>>>>>> +      <warn-import-hides-class>true</warn-import-hides-class>
>>>>>> +
>>>>>> +      <!-- Use of the instanceof operator. -->
>>>>>> +      <warn-instance-of-changes>true</warn-instance-of-changes>
>>>>>> +
>>>>>> +      <!-- Internal error in compiler. -->
>>>>>> +      <warn-internal-error>true</warn-internal-error>
>>>>>> +
>>>>>> +      <!-- _level is no longer supported. For more information, see
>>>>>> the
>>>>>> flash.display package. -->
>>>>>> +      <warn-level-not-supported>true</warn-level-not-supported>
>>>>>> +
>>>>>> +      <!-- Missing namespace declaration (e.g. variable is not
>>>>>> defined
>>>>>> to be
>>>>>> public, private, etc.). -->
>>>>>> +      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
>>>>>> +
>>>>>> +      <!-- Negative value will become a large positive value when
>>>>>> assigned
>>>>>> to a uint data type. -->
>>>>>> +      <warn-negative-uint-literal>true</warn-negative-uint-literal>
>>>>>> +
>>>>>> +      <!-- Missing constructor. -->
>>>>>> +      <warn-no-constructor>false</warn-no-constructor>
>>>>>> +
>>>>>> +      <!-- The super() statement was not called within the
>>>>>> constructor.
>>>>>> -->
>>>>>> +
>>>>>>
>>>>>>
>>>>>> <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-cal
>>>>>> l-in-constructor>
>>>>>> +
>>>>>> +      <!-- Missing type declaration. -->
>>>>>> +      <warn-no-type-decl>true</warn-no-type-decl>
>>>>>> +
>>>>>> +      <!-- In ActionScript 3.0, white space is ignored and '' returns
>>>>>> 0.
>>>>>> Number() returns -->
>>>>>> +      <!-- NaN in ActionScript 2.0 when the parameter is '' or
>>>>>> contains
>>>>>> white space.      -->
>>>>>> +
>>>>>>
>>>>>> <warn-number-from-string-changes>false</warn-number-from-string-changes>
>>>>>> +
>>>>>> +      <!-- Change in scoping for the this keyword. Class methods
>>>>>> extracted
>>>>>> from an  -->
>>>>>> +      <!-- instance of a class will always resolve this back to that
>>>>>> instance. In   -->
>>>>>> +      <!-- ActionScript 2.0 this is looked up dynamically based on
>>>>>> where the
>>>>>> method -->
>>>>>> +      <!-- is invoked from.
>>>>>> -->
>>>>>> +
>>>>>> <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
>>>>>> +
>>>>>> +      <!-- Inefficient use of += on a TextField.-->
>>>>>> +
>>>>>> <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
>>>>>> +
>>>>>> +      <!-- Possible missing parentheses. -->
>>>>>> +
>>>>>> <warn-unlikely-function-value>true</warn-unlikely-function-value>
>>>>>> +
>>>>>> +      <!-- Possible usage of the ActionScript 2.0 XML class. -->
>>>>>> +      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
>>>>>> +
>>>>>> +   </compiler>
>>>>>> +
>>>>>> +   <!-- compute-digest: writes a digest to the catalog.xml of a
>>>>>> library. Use
>>>>>> this when the library will be used as a
>>>>>> +                        cross-domain rsl.-->
>>>>>> +   <!-- compute-digest usage:
>>>>>> +   <compute-digest>boolean</compute-digest>
>>>>>> +   -->
>>>>>> +
>>>>>> +   <!-- remove-unused-rsls: remove RSLs that are not being used by
>>>>>> the
>>>>>> application-->
>>>>>> +   <remove-unused-rsls>true</remove-unused-rsls>
>>>>>> +
>>>>>> +   <!-- A list of runtime shared library URLs to be loaded before
>>>>>> applications start. -->
>>>>>> +   <!-- not set -->
>>>>>> +   <!--
>>>>>> +   <runtime-shared-libraries>
>>>>>> +      <url>string</url>
>>>>>> +      <url>string</url>
>>>>>> +   </runtime-shared-libraries>
>>>>>> +   -->
>>>>>> +
>>>>>> +       <!-- runtime-shared-library-path: specifies a SWC or directory
>>>>>> to
>>>>>> link against and an RSL URL to load with optional failover URLs -->
>>>>>> +      <!-- Framework SWC
>>>>>> +       <runtime-shared-library-path>
>>>>>> +               <path-element>libs/framework.swc</path-element>
>>>>>> +               <rsl-url>framework_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +       -->
>>>>>> +
>>>>>> +
>>>>>> +         <!-- TextLayout SWC -->
>>>>>> +       <!--
>>>>>> +           Even though there is no textLayout rsl leave this in so
>>>>>> that
>>>>>> in a
>>>>>> FlashBuilder
>>>>>> +           Flex Library project, FlashBuilder will allow "Link Type"
>>>>>> to
>>>>>> be
>>>>>> external.
>>>>>> +    <runtime-shared-library-path>
>>>>>> +               <path-element>libs/textLayout.swc</path-element>
>>>>>> +               <rsl-url>textLayout_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +    -->
>>>>>> +
>>>>>> +      <!-- Spark SWC
>>>>>> +       <runtime-shared-library-path>
>>>>>> +               <path-element>libs/spark.swc</path-element>
>>>>>> +               <rsl-url>spark_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +    -->
>>>>>> +      <!-- Sparkskins SWC
>>>>>> +       <runtime-shared-library-path>
>>>>>> +               <path-element>libs/sparkskins.swc</path-element>
>>>>>> +               <rsl-url>sparkskins_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +        -->
>>>>>> +         <!-- RPC SWC
>>>>>> +       <runtime-shared-library-path>
>>>>>> +               <path-element>libs/rpc.swc</path-element>
>>>>>> +               <rsl-url>rpc_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +        -->
>>>>>> +      <!-- Charts SWC
>>>>>> +       <runtime-shared-library-path>
>>>>>> +               <path-element>libs/charts.swc</path-element>
>>>>>> +               <rsl-url>charts_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +     -->
>>>>>> +      <!-- Spark_dmv SWC
>>>>>> +       <runtime-shared-library-path>
>>>>>> +               <path-element>libs/spark_dmv.swc</path-element>
>>>>>> +               <rsl-url>spark_dmv_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +    -->
>>>>>> +      <!-- OSMF SWC -->
>>>>>> +       <!--
>>>>>> +           Even though there is no OSMF rsl leave this in so that in
>>>>>> a
>>>>>> FlashBuilder
>>>>>> +           Flex Library project, FlashBuilder will allow "Link Type"
>>>>>> to
>>>>>> be
>>>>>> external.
>>>>>> +    <runtime-shared-library-path>
>>>>>> +               <path-element>libs/osmf.swc</path-element>
>>>>>> +               <rsl-url>osmf_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +    -->
>>>>>> +
>>>>>> +      <!-- MX SWC
>>>>>> +       <runtime-shared-library-path>
>>>>>> +               <path-element>libs/mx/mx.swc</path-element>
>>>>>> +               <rsl-url>mx_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +   -->
>>>>>> +      <!-- Advancedgrids SWC
>>>>>> +       <runtime-shared-library-path>
>>>>>> +               <path-element>libs/advancedgrids.swc</path-element>
>>>>>> +               <rsl-url>advancedgrids_4.9.0.1425567.swf</rsl-url>
>>>>>> +       </runtime-shared-library-path>
>>>>>> +       -->
>>>>>> +       <!-- static-link-runtime-shared-libraries: statically link the
>>>>>> libraries specified by the -runtime-shared-libraries-path option.-->
>>>>>> +
>>>>>>
>>>>>>
>>>>>> <static-link-runtime-shared-libraries>true</static-link-runtime-shared-librar
>>>>>> ies>
>>>>>> +
>>>>>> +   <!-- target-player: specifies the version of the player the
>>>>>> application
>>>>>> is targeting.
>>>>>> +                       Features requiring a later version will not be
>>>>>> compiled into the application.
>>>>>> +                       The minimum value supported is "9.0.0".-->
>>>>>> +   <!-- target-player usage:
>>>>>> +   <target-player>version</target-player>
>>>>>> +   -->
>>>>>> +
>>>>>> +   <!-- Enables SWFs to access the network. -->
>>>>>> +   <use-network>true</use-network>
>>>>>> +
>>>>>> +   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
>>>>>> +   <metadata>
>>>>>> +      <title>Apache FlexJS Application</title>
>>>>>> +      <description>http://flex.apache.org/</description>
>>>>>> +      <publisher>Apache Software Foundation</publisher>
>>>>>> +      <creator>unknown</creator>
>>>>>> +      <language>EN</language>
>>>>>> +   </metadata>
>>>>>> +
>>>>>> +</flex-config>
>>>>>>
>>>>>> Added:
>>>>>> flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-sd
>>>>>> k-description.xml?rev=1454452&view=auto
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> --- flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>>> (added)
>>>>>> +++ flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>>> Fri Mar
>>>>>> 8 16:37:12 2013
>>>>>> @@ -0,0 +1,25 @@
>>>>>> +<?xml version="1.0"?>
>>>>>> +<!--
>>>>>> +
>>>>>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>>>>>> +  contributor license agreements.  See the NOTICE file distributed
>>>>>> with
>>>>>> +  this work for additional information regarding copyright ownership.
>>>>>> +  The ASF licenses this file to You under the Apache License, Version
>>>>>> 2.0
>>>>>> +  (the "License"); you may not use this file except in compliance
>>>>>> with
>>>>>> +  the License.  You may obtain a copy of the License at
>>>>>> +
>>>>>> +      http://www.apache.org/licenses/LICENSE-2.0
>>>>>> +
>>>>>> +  Unless required by applicable law or agreed to in writing, software
>>>>>> +  distributed under the License is distributed on an "AS IS" BASIS,
>>>>>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>>> implied.
>>>>>> +  See the License for the specific language governing permissions and
>>>>>> +  limitations under the License.
>>>>>> +
>>>>>> +-->
>>>>>> +<flex-sdk-description>
>>>>>> +<name>Apache FlexJS Prototype</name>
>>>>>> +<version>4.9.0</version>
>>>>>> +<build>1425567</build>
>>>>>> +</flex-sdk-description>
>>>>>> +
>>>>>> \ No newline at end of file
>>>>>>
>>>>>> Propchange:
>>>>>> flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------->>
>>>> -
>>>>>>
>>>>>>
>>>>>>     svn:eol-style = native
>>>>>>
>>>>>> Modified:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>>>> .as
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>>
>>>>>>
>>>>>> /apache/flex/core/Application.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>>>> .as (original)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>>>> .as Fri Mar  8 16:37:12 2013
>>>>>> @@ -34,7 +34,7 @@ package org.apache.flex.core
>>>>>>       */
>>>>>>      [Event(name="initialize", type="flash.events.Event")]
>>>>>>
>>>>>> -    public class Application extends Sprite implements IStrand
>>>>>> +    public class Application extends Sprite implements IStrand,
>>>>>> IFlexInfo
>>>>>>      {
>>>>>>          public function Application()
>>>>>>          {
>>>>>> @@ -53,6 +53,7 @@ package org.apache.flex.core
>>>>>>                 MXMLDataInterpreter.generateMXMLProperties(this,
>>>>>> MXMLProperties);
>>>>>>
>>>>>>              ValuesManager.valuesImpl = valuesImpl;
>>>>>> +            ValuesManager.valuesImpl.init(this);
>>>>>>
>>>>>>              dispatchEvent(new Event("initialize"));
>>>>>>
>>>>>> @@ -116,5 +117,10 @@ package org.apache.flex.core
>>>>>>              }
>>>>>>              return null;
>>>>>>          }
>>>>>> +
>>>>>> +        public function get info():Object
>>>>>> +        {
>>>>>> +            return {};
>>>>>> +        }
>>>>>>      }
>>>>>>  }
>>>>>> \ No newline at end of file
>>>>>>
>>>>>> Added:
>>>>>>
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
>>>> s
>>>>>>
>>>>>>
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>> /apache/flex/core/IFlexInfo.as?rev=1454452&view=auto
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>>>>> s (added)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>>>>> s Fri Mar  8 16:37:12 2013
>>>>>> @@ -0,0 +1,29 @@
>>>>>>
>>>>>>
>>>>>> +////////////////////////////////////////////////////////////////////////////
>>>>>> ////
>>>>>> +//
>>>>>> +//  Licensed to the Apache Software Foundation (ASF) under one or
>>>>>> more
>>>>>> +//  contributor license agreements.  See the NOTICE file distributed
>>>>>> with
>>>>>> +//  this work for additional information regarding copyright
>>>>>> ownership.
>>>>>> +//  The ASF licenses this file to You under the Apache License,
>>>>>> Version
>>>>>> 2.0
>>>>>> +//  (the "License"); you may not use this file except in compliance
>>>>>> with
>>>>>> +//  the License.  You may obtain a copy of the License at
>>>>>> +//
>>>>>> +//      http://www.apache.org/licenses/LICENSE-2.0
>>>>>> +//
>>>>>> +//  Unless required by applicable law or agreed to in writing,
>>>>>> software
>>>>>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>>>>>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>>> implied.
>>>>>> +//  See the License for the specific language governing permissions
>>>>>> and
>>>>>> +//  limitations under the License.
>>>>>> +//
>>>>>>
>>>>>>
>>>>>> +////////////////////////////////////////////////////////////////////////////
>>>>>> ////
>>>>>> +package org.apache.flex.core
>>>>>> +{
>>>>>> +    /**
>>>>>> +     * An object of various properties and values that are not
>>>>>> otherwise
>>>>>> +     * linked in by hard class references, like styles, rsls, mixins.
>>>>>> +     */
>>>>>> +       public interface IFlexInfo
>>>>>> +       {
>>>>>> +               function get info():Object
>>>>>> +       }
>>>>>> +}
>>>>>> \ No newline at end of file
>>>>>>
>>>>>> Propchange:
>>>>>>
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
>>>> s
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------->>
>>>> -
>>>>>>
>>>>>>
>>>>>>     svn:eol-style = native
>>>>>>
>>>>>> Modified:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>>>> .as
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>>
>>>>>>
>>>>>> /apache/flex/core/IValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>>>> .as (original)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>>>> .as Fri Mar  8 16:37:12 2013
>>>>>> @@ -20,7 +20,8 @@ package org.apache.flex.core
>>>>>>  {
>>>>>>         public interface IValuesImpl
>>>>>>         {
>>>>>> -               function getValue(valueName:String):Object;
>>>>>> -               function setValue(valueName:String,
>>>>>> value:Object):void;
>>>>>> +               function getValue(thisObject:Object,
>>>>>> valueName:String):Object;
>>>>>> +
>>>>>> +        function init(mainClass:Object):void;
>>>>>>         }
>>>>>>  }
>>>>>> \ No newline at end of file
>>>>>>
>>>>>> Added:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>>> luesImpl.as
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>> /apache/flex/core/SimpleCSSValuesImpl.as?rev=1454452&view=auto
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>>> luesImpl.as (added)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>>> luesImpl.as Fri Mar  8 16:37:12 2013
>>>>>> @@ -0,0 +1,180 @@
>>>>>>
>>>>>>
>>>>>> +////////////////////////////////////////////////////////////////////////////
>>>>>> ////
>>>>>> +//
>>>>>> +//  Licensed to the Apache Software Foundation (ASF) under one or
>>>>>> more
>>>>>> +//  contributor license agreements.  See the NOTICE file distributed
>>>>>> with
>>>>>> +//  this work for additional information regarding copyright
>>>>>> ownership.
>>>>>> +//  The ASF licenses this file to You under the Apache License,
>>>>>> Version
>>>>>> 2.0
>>>>>> +//  (the "License"); you may not use this file except in compliance
>>>>>> with
>>>>>> +//  the License.  You may obtain a copy of the License at
>>>>>> +//
>>>>>> +//      http://www.apache.org/licenses/LICENSE-2.0
>>>>>> +//
>>>>>> +//  Unless required by applicable law or agreed to in writing,
>>>>>> software
>>>>>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>>>>>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>>> implied.
>>>>>> +//  See the License for the specific language governing permissions
>>>>>> and
>>>>>> +//  limitations under the License.
>>>>>> +//
>>>>>>
>>>>>>
>>>>>> +////////////////////////////////////////////////////////////////////////////
>>>>>> ////
>>>>>> +package org.apache.flex.core
>>>>>> +{
>>>>>> +       import flash.events.EventDispatcher;
>>>>>> +       import flash.events.IEventDispatcher;
>>>>>> +       import flash.system.ApplicationDomain;
>>>>>> +       import flash.utils.getQualifiedClassName;
>>>>>> +
>>>>>> +       import org.apache.flex.events.ValueChangeEvent;
>>>>>> +
>>>>>> +       public class SimpleCSSValuesImpl extends EventDispatcher
>>>>>> implements
>>>>>> IValuesImpl
>>>>>> +       {
>>>>>> +               public function SimpleCSSValuesImpl()
>>>>>> +               {
>>>>>> +                       super();
>>>>>> +               }
>>>>>> +
>>>>>> +        public function init(mainClass:Object):void
>>>>>> +        {
>>>>>> +            var mainClassName:String =
>>>>>> getQualifiedClassName(mainClass);
>>>>>> +            var styleClassName:String = "_" + mainClassName +
>>>>>> "_Styles";
>>>>>> +            var c:Class =
>>>>>> ApplicationDomain.currentDomain.getDefinition(styleClassName) as
>>>>>> Class;
>>>>>> +            values = {};
>>>>>> +            generateCSSStyleDeclarations(c["factoryFunctions"],
>>>>>> c["data"]);
>>>>>> +        }
>>>>>> +
>>>>>> +        public function
>>>>>> generateCSSStyleDeclarations(factoryFunctions:Object, arr:Array):void
>>>>>> +        {
>>>>>> +            var declarationName:String = "";
>>>>>> +            var segmentName:String = "";
>>>>>> +            var n:int = arr.length;
>>>>>> +            for (var i:int = 0; i < n; i++)
>>>>>> +            {
>>>>>> +                var className:int = arr[i];
>>>>>> +                if (className == CSSClass.CSSSelector)
>>>>>> +                {
>>>>>> +                    var selectorName:String = arr[++i];
>>>>>> +                    segmentName = selectorName + segmentName;
>>>>>> +                    if (declarationName != "")
>>>>>> +                        declarationName += " ";
>>>>>> +                    declarationName += segmentName;
>>>>>> +                    segmentName = "";
>>>>>> +                }
>>>>>> +                else if (className == CSSClass.CSSCondition)
>>>>>> +                {
>>>>>> +                    // not supported
>>>>>> +                }
>>>>>> +                else if (className == CSSClass.CSSStyleDeclaration)
>>>>>> +                {
>>>>>> +                    var factoryName:int = arr[++i]; // defaultFactory
>>>>>> or
>>>>>> factory
>>>>>> +                    var defaultFactory:Boolean = factoryName ==
>>>>>> CSSFactory.DefaultFactory;
>>>>>> +                    /*
>>>>>> +                    if (defaultFactory)
>>>>>> +                    {
>>>>>> +                        mergedStyle =
>>>>>> styleManager.getMergedStyleDeclaration(declarationName);
>>>>>> +                        style = new CSSStyleDeclaration(selector,
>>>>>> styleManager, mergedStyle == null);
>>>>>> +                    }
>>>>>> +                    else
>>>>>> +                    {
>>>>>> +                        style =
>>>>>> styleManager.getStyleDeclaration(declarationName);
>>>>>> +                        if (!style)
>>>>>> +                        {
>>>>>> +                            style = new CSSStyleDeclaration(selector,
>>>>>> styleManager, mergedStyle == null);
>>>>>> +                            if (factoryName == CSSFactory.Override)
>>>>>> +                                newSelectors.push(style);
>>>>>> +                        }
>>>>>> +                    }
>>>>>> +                    */
>>>>>> +                    var finalName:String;
>>>>>> +                    var valuesFunction:Function;
>>>>>> +                    var valuesObject:Object;
>>>>>> +                    if (defaultFactory)
>>>>>> +                    {
>>>>>> +                        valuesFunction =
>>>>>> factoryFunctions[declarationName];
>>>>>> +                        valuesObject = new valuesFunction();
>>>>>> +                        finalName = fixNames(declarationName);
>>>>>> +                        values[finalName] = valuesObject;
>>>>>> +                    }
>>>>>> +                    else
>>>>>> +                    {
>>>>>> +                        valuesFunction =
>>>>>> factoryFunctions[declarationName];
>>>>>> +                        valuesObject = new valuesFunction();
>>>>>> +                        var o:Object = values[declarationName];
>>>>>> +                        finalName = fixNames(declarationName);
>>>>>> +                        if (o == null)
>>>>>> +                            values[finalName] = valuesObject;
>>>>>> +                        else
>>>>>> +                        {
>>>>>> +                            valuesFunction.prototype = o;
>>>>>> +                            values[finalName] = new valuesFunction();
>>>>>> +                        }
>>>>>> +                    }
>>>>>> +                    declarationName = "";
>>>>>> +                }
>>>>>> +            }
>>>>>> +
>>>>>> +        }
>>>>>> +
>>>>>> +        private function fixNames(s:String):String
>>>>>> +        {
>>>>>> +            var arr:Array = s.split(" ");
>>>>>> +            var n:int = arr.length;
>>>>>> +            for (var i:int = 0; i < n; i++)
>>>>>> +            {
>>>>>> +                var segmentName:String = arr[i];
>>>>>> +                var c:int = segmentName.lastIndexOf(".");
>>>>>> +                if (c != -1)
>>>>>> +                {
>>>>>> +                    segmentName = segmentName.substr(0, c) + "::" +
>>>>>> segmentName.substr(c + 1);
>>>>>> +                    arr[i] = segmentName;
>>>>>> +                }
>>>>>> +            }
>>>>>> +            return arr.join(" ");
>>>>>> +        }
>>>>>> +
>>>>>> +        public var values:Object;
>>>>>> +
>>>>>> +               public function getValue(thisObject:Object,
>>>>>> valueName:String):Object
>>>>>> +               {
>>>>>> +            var className:String = getQualifiedClassName(thisObject);
>>>>>> +            var o:Object = values[className];
>>>>>> +            var value:*;
>>>>>> +            if (o)
>>>>>> +            {
>>>>>> +                value = o[valueName];
>>>>>> +                if (value !== undefined)
>>>>>> +                    return value;
>>>>>> +            }
>>>>>> +            o = values["global"];
>>>>>> +                       return o[valueName];
>>>>>> +               }
>>>>>> +
>>>>>> +               public function setValue(thisObject:Object,
>>>>>> valueName:String,
>>>>>> value:Object):void
>>>>>> +               {
>>>>>> +                       var oldValue:Object = values[valueName];
>>>>>> +                       if (oldValue != value)
>>>>>> +                       {
>>>>>> +                               values[valueName] = value;
>>>>>> +                               dispatchEvent(new
>>>>>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false,
>>>>>> oldValue,
>>>>>> value));
>>>>>> +                       }
>>>>>> +               }
>>>>>> +       }
>>>>>> +}
>>>>>> +
>>>>>> +class CSSClass
>>>>>> +{
>>>>>> +    public static const CSSSelector:int = 0;
>>>>>> +    public static const CSSCondition:int = 1;
>>>>>> +    public static const CSSStyleDeclaration:int = 2;
>>>>>> +}
>>>>>> +
>>>>>> +class CSSFactory
>>>>>> +{
>>>>>> +    public static const DefaultFactory:int = 0;
>>>>>> +    public static const Factory:int = 1;
>>>>>> +    public static const Override:int = 2;
>>>>>> +}
>>>>>> +
>>>>>> +class CSSDataType
>>>>>> +{
>>>>>> +    public static const Native:int = 0;
>>>>>> +    public static const Definition:int = 1;
>>>>>> +}
>>>>>>
>>>>>> Propchange:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>>> luesImpl.as
>>>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------->>
>>>> -
>>>>>>
>>>>>>
>>>>>>     svn:eol-style = native
>>>>>>
>>>>>> Modified:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>>>> sImpl.as
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>>
>>>>>>
>>>>>> /apache/flex/core/SimpleValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=
>>>>>> diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>>>> sImpl.as (original)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>>>> sImpl.as Fri Mar  8 16:37:12 2013
>>>>>> @@ -32,12 +32,12 @@ package org.apache.flex.core
>>>>>>
>>>>>>                 public var values:Object;
>>>>>>
>>>>>> -               public function getValue(valueName:String):Object
>>>>>> +               public function getValue(thisObject:Object,
>>>>>> valueName:String):Object
>>>>>>                 {
>>>>>>                         return values[valueName];
>>>>>>                 }
>>>>>>
>>>>>> -               public function setValue(valueName:String,
>>>>>> value:Object):void
>>>>>> +               public function setValue(thisObject:Object,
>>>>>> valueName:String,
>>>>>> value:Object):void
>>>>>>                 {
>>>>>>                         var oldValue:Object = values[valueName];
>>>>>>                         if (oldValue != value)
>>>>>> @@ -46,5 +46,10 @@ package org.apache.flex.core
>>>>>>                                 dispatchEvent(new
>>>>>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false,
>>>>>> oldValue,
>>>>>> value));
>>>>>>                         }
>>>>>>                 }
>>>>>> +
>>>>>> +        public function init(mainClass:Object):void
>>>>>> +        {
>>>>>> +            // do nothing
>>>>>> +        }
>>>>>>         }
>>>>>>  }
>>>>>> \ No newline at end of file
>>>>>>
>>>>>> Modified:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/CheckBox.as
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>>
>>>>>>
>>>>>> /apache/flex/html/staticControls/CheckBox.as?rev=1454452&r1=1454451&r2=145445
>>>>>> 2&view=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/CheckBox.as (original)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/CheckBox.as Fri Mar  8 16:37:12 2013
>>>>>> @@ -63,13 +63,13 @@ package org.apache.flex.html.staticContr
>>>>>>                 public function initModel():void
>>>>>>                 {
>>>>>>                         if (getBeadByType(IToggleButtonModel) == null)
>>>>>> -                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue("IToggleButtonModel")) as IBead);
>>>>>> +                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue(this, "iToggleButtonModel")) as
>>>>>> IBead);
>>>>>>                 }
>>>>>>
>>>>>>                 public function initSkin():void
>>>>>>                 {
>>>>>>                         if (getBeadByType(ICheckBoxBead) == null)
>>>>>> -                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue("ICheckBoxBead")) as IBead);
>>>>>> +                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue(this, "iCheckBoxBead")) as IBead);
>>>>>>
>>>>>>                         _width = $width;
>>>>>>                         _height = $height;
>>>>>>
>>>>>> Modified:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/Label.as
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>>
>>>>>>
>>>>>> /apache/flex/html/staticControls/Label.as?rev=1454452&r1=1454451&r2=1454452&v
>>>>>> iew=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/Label.as (original)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/Label.as Fri Mar  8 16:37:12 2013
>>>>>> @@ -60,13 +60,13 @@ package org.apache.flex.html.staticContr
>>>>>>                 override public function initModel():void
>>>>>>                 {
>>>>>>                         if (getBeadByType(ITextModel) == null)
>>>>>> -                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>>>>>> +                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>>>>>                 }
>>>>>>
>>>>>>                 public function initSkin():void
>>>>>>                 {
>>>>>>                         if (getBeadByType(ITextBead) == null)
>>>>>> -                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue("ITextBead")) as IBead);
>>>>>> +                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue(this, "iTextBead")) as IBead);
>>>>>>                 }
>>>>>>         }
>>>>>>  }
>>>>>> \ No newline at end of file
>>>>>>
>>>>>> Modified:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/List.as
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>>
>>>>>>
>>>>>> /apache/flex/html/staticControls/List.as?rev=1454452&r1=1454451&r2=1454452&vi
>>>>>> ew=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/List.as (original)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/List.as Fri Mar  8 16:37:12 2013
>>>>>> @@ -82,7 +82,7 @@ package org.apache.flex.html.staticContr
>>>>>>                 override public function initModel():void
>>>>>>                 {
>>>>>>              if (getBeadByType(ISelectionModel) == null)
>>>>>> -                addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue("ISelectionModel")) as IBead);
>>>>>> +                addBead(new (ValuesManager.valuesImpl.getValue(this,
>>>>>> "iSelectionModel")) as IBead);
>>>>>>                 }
>>>>>>
>>>>>>                 public function initSkin():void
>>>>>>
>>>>>> Modified:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/RadioButton.as
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>>
>>>>>>
>>>>>> /apache/flex/html/staticControls/RadioButton.as?rev=1454452&r1=1454451&r2=145
>>>>>> 4452&view=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>
>>>> =
>>>>>>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/RadioButton.as (original)
>>>>>> +++
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/RadioButton.as Fri Mar  8 16:37:12 2013
>>>>>> @@ -112,13 +112,13 @@ package org.apache.flex.html.staticContr
>>>>>>                 public function initModel():void
>>>>>>                 {
>>>>>>                         if (getBeadByType(IValueToggleButtonModel) ==
>>>>>> null)
>>>>>> -                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue("IValueToggleButtonModel")) as
>>>>>> IBead);
>>>>>> +                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue(this, "iValueToggleButtonModel"))
>>>>>> as
>>>>>> IBead);
>>>>>>                 }
>>>>>>
>>>>>>                 public function initSkin():void
>>>>>>                 {
>>>>>>                         if (getBeadByType(IRadioButtonBead) == null)
>>>>>> -                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue("IRadioButtonBead")) as IBead);
>>>>>> +                               addBead(new
>>>>>> (ValuesManager.valuesImpl.getValue(this, "iRadioButtonBead")) as
>>>>>> IBead);
>>>>>>
>>>>>>                         _width = $width;
>>>>>>                         _height = $height;
>>>>>>
>>>>>> Modified:
>>>>>>
>>>>>>
>>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>>> ols/TextArea.as
>>>>>> URL:
>>>>>>
>>>>>>
>>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>>
>>>>>>
>>>>>> /apache/flex/html/staticControls/TextArea.as?rev=1454452&r1=1454451&r2=145445
>>>>>> 2&view=diff
>>>>>>
>>>>
>>>>
>>>> =============================================================================>>



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: svn commit: r1454452 - in /flex/asjs/branches/develop: examples/FlexJSTest_again/ frameworks/as/ frameworks/as/fb/ frameworks/as/src/org/apache/flex/core/ frameworks/as/src/org/apache/flex/html/staticControls/ frameworks/js/FlexJS/src/org/apache/fl...

Posted by Michael Schmalle <ap...@teotigraphix.com>.
You see, email sucks. :)

You are doing what I was thinking about so it makes perfect sense,  
right on. This was the misunderstanding yesterday, I thought it would  
be hard to create the FlexJS model without some type of model tracking.

Mike

Quoting Erik de Bruin <er...@ixsoftware.nl>:

> Mike,
>
> I actually do a sort of 2 pass system. First I walk the MXML and build
> an intermediate model that is much easier to manipulate into FlexJS
> output. I used some ideas from AMD, like the 'stringifyNode' method,
> which I lifted up a bit to make it visible from outside an emitter (or
> rather, from inside another emitter), but that isn't major.
>
> Right now I want to make FlexJS work, and while I'm trying to make the
> code as generic as possible, it's not my priority right now.
>
> EdB
>
>
>
> On Fri, Mar 8, 2013 at 6:20 PM, Michael Schmalle
> <ap...@teotigraphix.com> wrote:
>> I will add my 2 cents here;
>>
>> If multiple tree walks are necessary, then there will need to be an
>> intermediate model created when Erik is walking the tree. As it stands, I
>> "think" Erik is generating the source code on the traverse. To allow a 2
>> pass system, there needs to be an intermediary model that can be updated,
>> then the source code emitter uses pieces of that model to actually generate
>> the code.
>>
>> What do you think Erik? You are generating the code in one shot correct?
>>
>> I had to do something along these lines with the AMD emitter to get
>> dependencies but, I use place holders so I didn't do a double traverse.
>>
>> Quoting Alex Harui <ah...@adobe.com>:
>>
>>> As soon as you're done and FalconJX can compile and run the
>>> FlexJSTest_again
>>> example, I will cut over to FalconJX.  I had to keep working in FalconJS
>>> because I couldn't wait for FalconJX.  There are some immediate
>>> opportunities for me to promote the FlexJS work internally that can help
>>> ensure I get to continue on with Apache Flex and I need a kit that folks
>>> can
>>> play with now.
>>>
>>> I don't have any work scheduled for FalconJS for a while (other than bug
>>> fixes).  This checkin was for the AS-side where the primary goal was to
>>> use
>>> CSS to manage the configuration of the beads.  I'm not quite sure how
>>> we're
>>> going to handle CSS on the JS-side.   The JS side has no beads right now
>>> because we're just thinly wrapping existing HTML controls. The AS side is
>>> using beads to maximize code-reuse when building up the AS emulations of
>>> these HTML controls.  So, I'm not going to be doing any work in
>>> compiler.js
>>> to try to support CSS on the JS side right now.  Neither side currently
>>> supports CSS for other visual styling (font-family, etc).  I can wait for
>>> FalconJX for that.
>>>
>>> Next week I plan to look into how data-binding syntax is handled.  Right
>>> now
>>> {} syntax is not supported in FlexJS on either the AS or JS side.  There
>>> are
>>> databinding beads you can use for now, but I think folks still love the
>>> curly braces so I need to muck with that codegen on the AS side first.  It
>>> will be enlightening to see how databinding codegen works in regular
>>> Falcon
>>> so we can think about how it will work in FalconJX.  In MXMLC it was a
>>> multiple-pass process.  I want to understand it better so we know if we
>>> need
>>> to support multiple tree walks and tree mucking in FalconJX.
>>>
>>> -Alex
>>>
>>> On 3/8/13 8:50 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>>>
>>>> Alex,
>>>>
>>>> I'm nearly done with MXML support for FlexJS in FalconJx. As it seems
>>>> to be the consensus that we'll move FlexJS to FalconJx, isn't it maybe
>>>> an idea not to do too much work on FalconJS, as we will have to
>>>> duplicate that effort in FalconJx?
>>>>
>>>> EdB
>>>>
>>>>
>>>>
>>>> On Fri, Mar 8, 2013 at 5:37 PM,  <ah...@apache.org> wrote:
>>>>>
>>>>> Author: aharui
>>>>> Date: Fri Mar  8 16:37:12 2013
>>>>> New Revision: 1454452
>>>>>
>>>>> URL: http://svn.apache.org/r1454452
>>>>> Log:
>>>>> Add defaults.css handling
>>>>>
>>>>> Added:
>>>>>     flex/asjs/branches/develop/frameworks/as/defaults.css   (with props)
>>>>>     flex/asjs/branches/develop/frameworks/as/fb/
>>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>> Build).launch
>>>>> (with props)
>>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>>>> Build).launch   (with props)
>>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>>>> Build).launch   (with props)
>>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>>> Build).launch
>>>>> (with props)
>>>>>     flex/asjs/branches/develop/frameworks/as/flex-config.xml
>>>>>     flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>> (with
>>>>> props)
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>>>> s   (with props)
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>> luesImpl.as   (with props)
>>>>> Removed:
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/js/FlexJS/src/org/apache/flex/html/stat
>>>>> icControls/beads/
>>>>> Modified:
>>>>>     flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>>>     flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>>>     flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>>> .as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>>> .as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>>> sImpl.as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/CheckBox.as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/Label.as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/List.as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/RadioButton.as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/TextArea.as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/TextButton.as
>>>>>
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/TextInput.as
>>>>>
>>>>> Modified:
>>>>> flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/examples/FlexJSTest_a
>>>>> gain/FlexJSTest.mxml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>>> (original)
>>>>> +++ flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>>> Fri
>>>>> Mar  8 16:37:12 2013
>>>>> @@ -25,7 +25,7 @@ limitations under the License.
>>>>>
>>>>> initialize="MyModel(model).labelText='Hello World'"
>>>>>>
>>>>>>
>>>>>         <basic:valuesImpl>
>>>>> -               <local:MySimpleValuesImpl />
>>>>> +               <basic:SimpleCSSValuesImpl />
>>>>>         </basic:valuesImpl>
>>>>>         <basic:initialView>
>>>>>                 <local:MyInitialView />
>>>>>
>>>>> Modified: flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/basic-m
>>>>> anifest.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>>> (original)
>>>>> +++ flex/asjs/branches/develop/frameworks/as/basic-manifest.xml Fri Mar
>>>>> 8
>>>>> 16:37:12 2013
>>>>> @@ -23,6 +23,7 @@
>>>>>
>>>>>      <component id="Application"
>>>>> class="org.apache.flex.core.Application"/>
>>>>>      <component id="SimpleValuesImpl"
>>>>> class="org.apache.flex.core.SimpleValuesImpl"/>
>>>>> +    <component id="SimpleCSSValuesImpl"
>>>>> class="org.apache.flex.core.SimpleCSSValuesImpl"/>
>>>>>      <component id="ViewBase" class="org.apache.flex.core.ViewBase"/>
>>>>>      <component id="ConstantBinding"
>>>>> class="org.apache.flex.binding.ConstantBinding"/>
>>>>>      <component id="SimpleBinding"
>>>>> class="org.apache.flex.binding.SimpleBinding"/>
>>>>>
>>>>> Modified: flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/compile
>>>>> -config.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>>> (original)
>>>>> +++ flex/asjs/branches/develop/frameworks/as/compile-config.xml Fri Mar
>>>>> 8
>>>>> 16:37:12 2013
>>>>> @@ -43,6 +43,11 @@
>>>>>          <warn-no-constructor>false</warn-no-constructor>
>>>>>      </compiler>
>>>>>
>>>>> +    <include-file>
>>>>> +        <name>defaults.css</name>
>>>>> +        <path>defaults.css</path>
>>>>> +    </include-file>
>>>>> +
>>>>>      <include-classes>
>>>>>          <class>FlexJSUIClasses</class>
>>>>>      </include-classes>
>>>>>
>>>>> Added: flex/asjs/branches/develop/frameworks/as/defaults.css
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/default
>>>>> s.css?rev=1454452&view=auto
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/frameworks/as/defaults.css (added)
>>>>> +++ flex/asjs/branches/develop/frameworks/as/defaults.css Fri Mar  8
>>>>> 16:37:12
>>>>> 2013
>>>>> @@ -0,0 +1,55 @@
>>>>> +/*
>>>>> + *
>>>>> + *  Licensed to the Apache Software Foundation (ASF) under one or more
>>>>> + *  contributor license agreements.  See the NOTICE file distributed
>>>>> with
>>>>> + *  this work for additional information regarding copyright ownership.
>>>>> + *  The ASF licenses this file to You under the Apache License, Version
>>>>> 2.0
>>>>> + *  (the "License"); you may not use this file except in compliance
>>>>> with
>>>>> + *  the License.  You may obtain a copy of the License at
>>>>> + *
>>>>> + *      http://www.apache.org/licenses/LICENSE-2.0
>>>>> + *
>>>>> + *  Unless required by applicable law or agreed to in writing, software
>>>>> + *  distributed under the License is distributed on an "AS IS" BASIS,
>>>>> + *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>> implied.
>>>>> + *  See the License for the specific language governing permissions and
>>>>> + *  limitations under the License.
>>>>> + *
>>>>> + */
>>>>> +
>>>>> +@namespace "library://ns.apache.org/flexjs/basic";
>>>>> +
>>>>> +/* Global style declaration */
>>>>> +global
>>>>> +{
>>>>> +    ITextBead:
>>>>>
>>>>> ClassReference("org.apache.flex.html.staticControls.beads.TextFieldBead");
>>>>> +    ITextModel:
>>>>>
>>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
>>>>> +
>>>>> +}
>>>>> +
>>>>> +CheckBox
>>>>> +{
>>>>> +    IToggleButtonModel:
>>>>>
>>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>>>>> Model");
>>>>> +    ICheckBoxBead:
>>>>>
>>>>> ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
>>>>> +}
>>>>> +
>>>>> +List
>>>>> +{
>>>>> +    ISelectionModel:
>>>>>
>>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelecti
>>>>> onModel");
>>>>> +}
>>>>> +
>>>>> +RadioButton
>>>>> +{
>>>>> +    IToggleButtonModel:
>>>>>
>>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>>>>> Model");
>>>>> +    IRadioButtonBead:
>>>>>
>>>>> ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
>>>>> +}
>>>>> +
>>>>> +TextButton
>>>>> +{
>>>>> +       ITextButtonBead:
>>>>>
>>>>> ClassReference("org.apache.flex.html.staticControls.beads.TextButtonBead");
>>>>> +}
>>>>> +
>>>>> +TextInput
>>>>> +{
>>>>> +    ITextInputBead:
>>>>>
>>>>> ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorder
>>>>> Bead");
>>>>> +}
>>>>>
>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/defaults.css
>>>>>
>>>
>>> ----------------------------------------------------------------------------->>
>>> -
>>>>>
>>>>>     svn:eol-style = native
>>>>>
>>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>> Build).launch
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>>> JS%20%28Debug%20Build%29.launch?rev=1454452&view=auto
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>> Build).launch
>>>>> (added)
>>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>> Build).launch
>>>>> Fri Mar  8 16:37:12 2013
>>>>> @@ -0,0 +1,10 @@
>>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>>> +<launchConfiguration
>>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>>> +<booleanAttribute
>>>>> key="org.eclipse.debug.core.appendEnvironmentVariables"
>>>>> value="false"/>
>>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>>> +</listAttribute>
>>>>> +<stringAttribute
>>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>>> value="${project}"/>
>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>>
>>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>>> ava"/>
>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data -debug
>>>>> -output=&quot;${project_loc}/bin-debug/${project_name}.swf&quot;
>>>>> &quot;${resource_loc}&quot;"/>
>>>>> +</launchConfiguration>
>>>>>
>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>>> Build).launch
>>>>>
>>>
>>> ----------------------------------------------------------------------------->>
>>> -
>>>>>
>>>>>     svn:eol-style = native
>>>>>
>>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>>> Debug
>>>>> Build).launch
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>>> JS%20%28FalconJS%20Debug%20Build%29.launch?rev=1454452&view=auto
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>>>> Build).launch (added)
>>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>>>> Build).launch Fri Mar  8 16:37:12 2013
>>>>> @@ -0,0 +1,13 @@
>>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>>> +<launchConfiguration
>>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>>>>> +<mapEntry key="FLEXJS_HOME"
>>>>>
>>>>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>>>>> rc"/>
>>>>> +<mapEntry key="GOOG_HOME"
>>>>> value="/Applications/GoogleClosure/library/closure/goog"/>
>>>>> +</mapAttribute>
>>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>>> +</listAttribute>
>>>>> +<stringAttribute
>>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>>> value="${project}"/>
>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>>
>>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>>> ava"/>
>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data -debug
>>>>> -output=&quot;${project_loc}/binjs-debug/${project_name}.js&quot;
>>>>> &quot;${resource_loc}&quot;"/>
>>>>> +</launchConfiguration>
>>>>>
>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>>> Debug Build).launch
>>>>>
>>>
>>> ----------------------------------------------------------------------------->>
>>> -
>>>>>
>>>>>     svn:eol-style = native
>>>>>
>>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>>> Release
>>>>> Build).launch
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>>> JS%20%28FalconJS%20Release%20Build%29.launch?rev=1454452&view=auto
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>>>> Build).launch (added)
>>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>>>> Build).launch Fri Mar  8 16:37:12 2013
>>>>> @@ -0,0 +1,13 @@
>>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>>> +<launchConfiguration
>>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>>>>> +<mapEntry key="FLEXJS_HOME"
>>>>>
>>>>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>>>>> rc"/>
>>>>> +<mapEntry key="GOOG_HOME"
>>>>> value="/Applications/GoogleClosure/library/closure/goog"/>
>>>>> +</mapAttribute>
>>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>>> +</listAttribute>
>>>>> +<stringAttribute
>>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>>> value="${project}"/>
>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>>
>>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>>> ava"/>
>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data
>>>>> -output=&quot;${project_loc}/binjs-release/${project_name}.js&quot;
>>>>> &quot;${resource_loc}&quot;"/>
>>>>> +</launchConfiguration>
>>>>>
>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>>> Release Build).launch
>>>>>
>>>
>>> ----------------------------------------------------------------------------->>
>>> -
>>>>>
>>>>>     svn:eol-style = native
>>>>>
>>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>>> Build).launch
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>>> JS%20%28Release%20Build%29.launch?rev=1454452&view=auto
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>>> Build).launch
>>>>> (added)
>>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>>> Build).launch
>>>>> Fri Mar  8 16:37:12 2013
>>>>> @@ -0,0 +1,9 @@
>>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>>> +<launchConfiguration
>>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>>> +</listAttribute>
>>>>> +<stringAttribute
>>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>>> value="${project}"/>
>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>>
>>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>>> ava"/>
>>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data
>>>>> -output=&quot;${project_loc}/bin-release/${project_name}.swf&quot;
>>>>> &quot;${resource_loc}&quot;"/>
>>>>> +</launchConfiguration>
>>>>>
>>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>>> Build).launch
>>>>>
>>>
>>> ----------------------------------------------------------------------------->>
>>> -
>>>>>
>>>>>     svn:eol-style = native
>>>>>
>>>>> Added: flex/asjs/branches/develop/frameworks/as/flex-config.xml
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-co
>>>>> nfig.xml?rev=1454452&view=auto
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/frameworks/as/flex-config.xml (added)
>>>>> +++ flex/asjs/branches/develop/frameworks/as/flex-config.xml Fri Mar  8
>>>>> 16:37:12 2013
>>>>> @@ -0,0 +1,426 @@
>>>>> +<?xml version="1.0"?>
>>>>> +
>>>>> +<!--
>>>>> +
>>>>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>>>>> +  contributor license agreements.  See the NOTICE file distributed with
>>>>> +  this work for additional information regarding copyright ownership.
>>>>> +  The ASF licenses this file to You under the Apache License, Version
>>>>> 2.0
>>>>> +  (the "License"); you may not use this file except in compliance with
>>>>> +  the License.  You may obtain a copy of the License at
>>>>> +
>>>>> +      http://www.apache.org/licenses/LICENSE-2.0
>>>>> +
>>>>> +  Unless required by applicable law or agreed to in writing, software
>>>>> +  distributed under the License is distributed on an "AS IS" BASIS,
>>>>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>> implied.
>>>>> +  See the License for the specific language governing permissions and
>>>>> +  limitations under the License.
>>>>> +
>>>>> +-->
>>>>> +
>>>>> +
>>>>> +<flex-config>
>>>>> +    <!-- Specifies the minimum player version that will run the
>>>>> compiled
>>>>> SWF. -->
>>>>> +   <target-player>11.1</target-player>
>>>>> +
>>>>> +    <!-- Specifies the version of the compiled SWF -->
>>>>> +   <swf-version>14</swf-version>
>>>>> +
>>>>> +   <compiler>
>>>>> +
>>>>> +      <!-- Turn on generation of accessible SWFs. -->
>>>>> +      <accessible>true</accessible>
>>>>> +
>>>>> +      <!-- Specifies the locales for internationalization. -->
>>>>> +      <locale>
>>>>> +          <locale-element>en_US</locale-element>
>>>>> +      </locale>
>>>>> +
>>>>> +      <!-- List of path elements that form the roots of ActionScript
>>>>> class
>>>>> hierarchies. -->
>>>>> +      <!-- not set -->
>>>>> +      <!--
>>>>> +      <source-path>
>>>>> +         <path-element>string</path-element>
>>>>> +      </source-path>
>>>>> +      -->
>>>>> +
>>>>> +     <!-- Allow the source-path to have path-elements which contain
>>>>> other
>>>>> path-elements -->
>>>>> +     <allow-source-path-overlap>false</allow-source-path-overlap>
>>>>> +
>>>>> +      <!-- Run the AS3 compiler in a mode that detects legal but
>>>>> potentially
>>>>> incorrect -->
>>>>> +      <!-- code.
>>>>> -->
>>>>> +      <show-actionscript-warnings>true</show-actionscript-warnings>
>>>>> +
>>>>> +      <!-- Turn on generation of debuggable SWFs. False by default for
>>>>> mxmlc, -->
>>>>> +      <!-- but true by default for compc. -->
>>>>> +      <!--
>>>>> +      <debug>true</debug>
>>>>> +      -->
>>>>> +
>>>>> +      <!-- List of SWC files or directories to compile against but to
>>>>> omit
>>>>> from -->
>>>>> +      <!-- linking.
>>>>> -->
>>>>> +      <external-library-path>
>>>>> +
>>>>>
>>>>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>>>>> n}/playerglobal.swc</path-element>
>>>>> +      </external-library-path>
>>>>> +
>>>>> +      <!-- Turn on writing of generated/*.as files to disk. These files
>>>>> are
>>>>> generated by -->
>>>>> +      <!-- the compiler during mxml translation and are helpful with
>>>>> understanding and   -->
>>>>> +      <!-- debugging Flex applications.
>>>>> -->
>>>>> +      <keep-generated-actionscript>false</keep-generated-actionscript>
>>>>> +
>>>>> +      <!-- not set -->
>>>>> +      <!--
>>>>> +      <include-libraries>
>>>>> +         <library>string</library>
>>>>> +      </include-libraries>
>>>>> +      -->
>>>>> +
>>>>> +      <!-- List of SWC files or directories that contain SWC files. -->
>>>>> +      <library-path>
>>>>> +         <path-element>libs</path-element>
>>>>> +         <path-element>locale/en_US</path-element>
>>>>> +
>>>>>
>>>>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>>>>> n}</path-element>
>>>>> +      </library-path>
>>>>> +
>>>>> +      <namespaces>
>>>>> +      <!-- Specify a URI to associate with a manifest of components for
>>>>> use
>>>>> as MXML -->
>>>>> +      <!-- elements.
>>>>> -->
>>>>> +         <namespace>
>>>>> +            <uri>library://ns.apache.org/flexjs/basic</uri>
>>>>> +            <manifest>basic-manifest.xml</manifest>
>>>>> +         </namespace>
>>>>> +      </namespaces>
>>>>> +
>>>>> +      <!-- Enable post-link SWF optimization. -->
>>>>> +      <optimize>true</optimize>
>>>>> +
>>>>> +      <!-- Enable trace statement omission. -->
>>>>> +      <omit-trace-statements>true</omit-trace-statements>
>>>>> +
>>>>> +      <!-- Keep the following AS3 metadata in the bytecodes.
>>>>> -->
>>>>> +      <!-- Warning: For the data binding feature in the Flex framework
>>>>> to
>>>>> work properly,                 -->
>>>>> +      <!--          the following metadata must be kept:
>>>>> -->
>>>>> +      <!--          1. Bindable
>>>>> -->
>>>>> +      <!--          2. Managed
>>>>> -->
>>>>> +      <!--          3. ChangeEvent
>>>>> -->
>>>>> +      <!--          4. NonCommittingChangeEvent
>>>>> -->
>>>>> +      <!--          5. Transient
>>>>> -->
>>>>> +      <!--
>>>>> +      <keep-as3-metadata>
>>>>> +          <name>Bindable</name>
>>>>> +          <name>Managed</name>
>>>>> +          <name>ChangeEvent</name>
>>>>> +          <name>NonCommittingChangeEvent</name>
>>>>> +          <name>Transient</name>
>>>>> +      </keep-as3-metadata>
>>>>> +      -->
>>>>> +
>>>>> +      <!-- Turn on reporting of data binding warnings. For example:
>>>>> Warning:
>>>>> Data binding -->
>>>>> +      <!-- will not be able to detect assignments to "foo".
>>>>> -->
>>>>> +      <show-binding-warnings>true</show-binding-warnings>
>>>>> +
>>>>> +      <!-- toggle whether warnings generated from unused type selectors
>>>>> are
>>>>> displayed -->
>>>>> +
>>>>>
>>>>> <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
>>>>> +
>>>>> +      <!-- Run the AS3 compiler in strict error checking mode. -->
>>>>> +      <strict>true</strict>
>>>>> +
>>>>> +      <!-- Use the ActionScript 3 class based object model for greater
>>>>> performance and better error reporting. -->
>>>>> +      <!-- In the class based object model most built-in functions are
>>>>> implemented as fixed methods of classes -->
>>>>> +      <!-- (-strict is recommended, but not required, for earlier
>>>>> errors)
>>>>> -->
>>>>> +      <as3>true</as3>
>>>>> +
>>>>> +      <!-- Use the ECMAScript edition 3 prototype based object model to
>>>>> allow dynamic overriding of prototype -->
>>>>> +      <!-- properties. In the prototype based object model built-in
>>>>> functions are implemented as dynamic      -->
>>>>> +      <!-- properties of prototype objects (-strict is allowed, but may
>>>>> result in compiler errors for         -->
>>>>> +      <!-- references to dynamic properties) -->
>>>>> +      <es>false</es>
>>>>> +
>>>>> +      <!-- List of CSS or SWC files to apply as a theme. -->
>>>>> +      <theme>
>>>>> +      </theme>
>>>>> +
>>>>> +      <!-- Turns on the display of stack traces for uncaught runtime
>>>>> errors.
>>>>> -->
>>>>> +      <verbose-stacktraces>false</verbose-stacktraces>
>>>>> +
>>>>> +      <!-- Defines the AS3 file encoding. -->
>>>>> +      <!-- not set -->
>>>>> +      <!--
>>>>> +      <actionscript-file-encoding></actionscript-file-encoding>
>>>>> +      -->
>>>>> +
>>>>> +      <fonts>
>>>>> +
>>>>> +          <!-- Enables advanced anti-aliasing for embedded fonts, which
>>>>> provides greater clarity for small -->
>>>>> +          <!-- fonts. This setting can be overriden in CSS for specific
>>>>> fonts. -->
>>>>> +          <!-- NOTE: flash-type has been deprecated. Please use
>>>>> advanced-anti-aliasing <flash-type>true</flash-type> -->
>>>>> +          <advanced-anti-aliasing>true</advanced-anti-aliasing>
>>>>> +
>>>>> +          <!-- The number of embedded font faces that are cached. -->
>>>>> +          <max-cached-fonts>20</max-cached-fonts>
>>>>> +
>>>>> +          <!-- The number of character glyph outlines to cache for each
>>>>> font
>>>>> face. -->
>>>>> +          <max-glyphs-per-face>1000</max-glyphs-per-face>
>>>>> +
>>>>> +          <!-- Defines ranges that can be used across multiple
>>>>> font-face
>>>>> declarations. -->
>>>>> +          <!-- See flash-unicode-table.xml for more examples. -->
>>>>> +          <!-- not set -->
>>>>> +          <!--
>>>>> +          <languages>
>>>>> +              <language-range>
>>>>> +                  <lang>englishRange</lang>
>>>>> +                  <range>U+0020-007E</range>
>>>>> +              </language-range>
>>>>> +          </languages>
>>>>> +          -->
>>>>> +
>>>>> +          <!-- Compiler font manager classes, in policy resolution
>>>>> order -->
>>>>> +          <!-- NOTE: For Apache Flex -->
>>>>> +          <!-- AFEFontManager and CFFFontManager both use proprietary
>>>>> technology.  -->
>>>>> +          <!-- You must install the optional font jars if you wish to
>>>>> use
>>>>> embedded fonts  -->
>>>>> +          <!-- directly or you can use fontswf to precompile the font
>>>>> as a
>>>>> swf.  -->
>>>>> +          <managers>
>>>>> +              <manager-class>flash.fonts.JREFontManager</manager-class>
>>>>> +
>>>>> <manager-class>flash.fonts.BatikFontManager</manager-class>
>>>>> +              <manager-class>flash.fonts.AFEFontManager</manager-class>
>>>>> +              <manager-class>flash.fonts.CFFFontManager</manager-class>
>>>>> +          </managers>
>>>>> +
>>>>> +          <!-- File containing cached system font licensing information
>>>>> produced via
>>>>> +               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
>>>>> +               Will default to winFonts.ser on Windows XP and
>>>>> +               macFonts.ser on Mac OS X, so is commented out by
>>>>> default.
>>>>> +
>>>>> +          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
>>>>> +          -->
>>>>> +
>>>>> +      </fonts>
>>>>> +
>>>>> +      <!-- Array.toString() format has changed. -->
>>>>> +      <warn-array-tostring-changes>false</warn-array-tostring-changes>
>>>>> +
>>>>> +      <!-- Assignment within conditional. -->
>>>>> +
>>>>>
>>>>> <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
>>>>> +
>>>>> +      <!-- Possibly invalid Array cast operation. -->
>>>>> +      <warn-bad-array-cast>true</warn-bad-array-cast>
>>>>> +
>>>>> +      <!-- Non-Boolean value used where a Boolean value was expected.
>>>>> -->
>>>>> +      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
>>>>> +
>>>>> +      <!-- Invalid Date cast operation. -->
>>>>> +      <warn-bad-date-cast>true</warn-bad-date-cast>
>>>>> +
>>>>> +      <!-- Unknown method. -->
>>>>> +      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
>>>>> +
>>>>> +      <!-- Unknown property. -->
>>>>> +      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
>>>>> +
>>>>> +      <!-- Illogical comparison with NaN. Any comparison operation
>>>>> involving
>>>>> NaN will evaluate to false because NaN != NaN. -->
>>>>> +      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
>>>>> +
>>>>> +      <!-- Impossible assignment to null. -->
>>>>> +      <warn-bad-null-assignment>true</warn-bad-null-assignment>
>>>>> +
>>>>> +      <!-- Illogical comparison with null. -->
>>>>> +      <warn-bad-null-comparison>true</warn-bad-null-comparison>
>>>>> +
>>>>> +      <!-- Illogical comparison with undefined. Only untyped variables
>>>>> (or
>>>>> variables of type *) can be undefined. -->
>>>>> +
>>>>> <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
>>>>> +
>>>>> +      <!-- Boolean() with no arguments returns false in ActionScript
>>>>> 3.0.
>>>>> Boolean() returned undefined in ActionScript 2.0. -->
>>>>> +
>>>>>
>>>>> <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-n
>>>>> o-args>
>>>>> +
>>>>> +      <!-- __resolve is no longer supported. -->
>>>>> +      <warn-changes-in-resolve>false</warn-changes-in-resolve>
>>>>> +
>>>>> +      <!-- Class is sealed. It cannot have members added to it
>>>>> dynamically.
>>>>> -->
>>>>> +      <warn-class-is-sealed>true</warn-class-is-sealed>
>>>>> +
>>>>> +      <!-- Constant not initialized. -->
>>>>> +      <warn-const-not-initialized>true</warn-const-not-initialized>
>>>>> +
>>>>> +      <!-- Function used in new expression returns a value. Result will
>>>>> be
>>>>> what the -->
>>>>> +      <!-- function returns, rather than a new instance of that
>>>>> function.
>>>>> -->
>>>>> +
>>>>> <warn-constructor-returns-value>false</warn-constructor-returns-value>
>>>>> +
>>>>> +      <!-- EventHandler was not added as a listener. -->
>>>>> +
>>>>>
>>>>> <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-err
>>>>> or>
>>>>> +
>>>>> +      <!-- Unsupported ActionScript 2.0 function. -->
>>>>> +
>>>>> <warn-deprecated-function-error>true</warn-deprecated-function-error>
>>>>> +
>>>>> +      <!-- Unsupported ActionScript 2.0 property. -->
>>>>> +
>>>>> <warn-deprecated-property-error>true</warn-deprecated-property-error>
>>>>> +
>>>>> +      <!-- More than one argument by the same name. -->
>>>>> +
>>>>> <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
>>>>> +
>>>>> +      <!-- Duplicate variable definition -->
>>>>> +      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
>>>>> +
>>>>> +      <!-- ActionScript 3.0 iterates over an object's properties within
>>>>> a
>>>>> "for x in target" statement in random order. -->
>>>>> +      <warn-for-var-in-changes>false</warn-for-var-in-changes>
>>>>> +
>>>>> +      <!-- Importing a package by the same name as the current class
>>>>> will
>>>>> hide that class identifier in this scope. -->
>>>>> +      <warn-import-hides-class>true</warn-import-hides-class>
>>>>> +
>>>>> +      <!-- Use of the instanceof operator. -->
>>>>> +      <warn-instance-of-changes>true</warn-instance-of-changes>
>>>>> +
>>>>> +      <!-- Internal error in compiler. -->
>>>>> +      <warn-internal-error>true</warn-internal-error>
>>>>> +
>>>>> +      <!-- _level is no longer supported. For more information, see the
>>>>> flash.display package. -->
>>>>> +      <warn-level-not-supported>true</warn-level-not-supported>
>>>>> +
>>>>> +      <!-- Missing namespace declaration (e.g. variable is not defined
>>>>> to be
>>>>> public, private, etc.). -->
>>>>> +      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
>>>>> +
>>>>> +      <!-- Negative value will become a large positive value when
>>>>> assigned
>>>>> to a uint data type. -->
>>>>> +      <warn-negative-uint-literal>true</warn-negative-uint-literal>
>>>>> +
>>>>> +      <!-- Missing constructor. -->
>>>>> +      <warn-no-constructor>false</warn-no-constructor>
>>>>> +
>>>>> +      <!-- The super() statement was not called within the constructor.
>>>>> -->
>>>>> +
>>>>>
>>>>> <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-cal
>>>>> l-in-constructor>
>>>>> +
>>>>> +      <!-- Missing type declaration. -->
>>>>> +      <warn-no-type-decl>true</warn-no-type-decl>
>>>>> +
>>>>> +      <!-- In ActionScript 3.0, white space is ignored and '' returns
>>>>> 0.
>>>>> Number() returns -->
>>>>> +      <!-- NaN in ActionScript 2.0 when the parameter is '' or contains
>>>>> white space.      -->
>>>>> +
>>>>> <warn-number-from-string-changes>false</warn-number-from-string-changes>
>>>>> +
>>>>> +      <!-- Change in scoping for the this keyword. Class methods
>>>>> extracted
>>>>> from an  -->
>>>>> +      <!-- instance of a class will always resolve this back to that
>>>>> instance. In   -->
>>>>> +      <!-- ActionScript 2.0 this is looked up dynamically based on
>>>>> where the
>>>>> method -->
>>>>> +      <!-- is invoked from.
>>>>> -->
>>>>> +      <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
>>>>> +
>>>>> +      <!-- Inefficient use of += on a TextField.-->
>>>>> +
>>>>> <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
>>>>> +
>>>>> +      <!-- Possible missing parentheses. -->
>>>>> +      <warn-unlikely-function-value>true</warn-unlikely-function-value>
>>>>> +
>>>>> +      <!-- Possible usage of the ActionScript 2.0 XML class. -->
>>>>> +      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
>>>>> +
>>>>> +   </compiler>
>>>>> +
>>>>> +   <!-- compute-digest: writes a digest to the catalog.xml of a
>>>>> library. Use
>>>>> this when the library will be used as a
>>>>> +                        cross-domain rsl.-->
>>>>> +   <!-- compute-digest usage:
>>>>> +   <compute-digest>boolean</compute-digest>
>>>>> +   -->
>>>>> +
>>>>> +   <!-- remove-unused-rsls: remove RSLs that are not being used by the
>>>>> application-->
>>>>> +   <remove-unused-rsls>true</remove-unused-rsls>
>>>>> +
>>>>> +   <!-- A list of runtime shared library URLs to be loaded before
>>>>> applications start. -->
>>>>> +   <!-- not set -->
>>>>> +   <!--
>>>>> +   <runtime-shared-libraries>
>>>>> +      <url>string</url>
>>>>> +      <url>string</url>
>>>>> +   </runtime-shared-libraries>
>>>>> +   -->
>>>>> +
>>>>> +       <!-- runtime-shared-library-path: specifies a SWC or directory
>>>>> to
>>>>> link against and an RSL URL to load with optional failover URLs -->
>>>>> +      <!-- Framework SWC
>>>>> +       <runtime-shared-library-path>
>>>>> +               <path-element>libs/framework.swc</path-element>
>>>>> +               <rsl-url>framework_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +       -->
>>>>> +
>>>>> +
>>>>> +         <!-- TextLayout SWC -->
>>>>> +       <!--
>>>>> +           Even though there is no textLayout rsl leave this in so that
>>>>> in a
>>>>> FlashBuilder
>>>>> +           Flex Library project, FlashBuilder will allow "Link Type" to
>>>>> be
>>>>> external.
>>>>> +    <runtime-shared-library-path>
>>>>> +               <path-element>libs/textLayout.swc</path-element>
>>>>> +               <rsl-url>textLayout_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +    -->
>>>>> +
>>>>> +      <!-- Spark SWC
>>>>> +       <runtime-shared-library-path>
>>>>> +               <path-element>libs/spark.swc</path-element>
>>>>> +               <rsl-url>spark_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +    -->
>>>>> +      <!-- Sparkskins SWC
>>>>> +       <runtime-shared-library-path>
>>>>> +               <path-element>libs/sparkskins.swc</path-element>
>>>>> +               <rsl-url>sparkskins_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +        -->
>>>>> +         <!-- RPC SWC
>>>>> +       <runtime-shared-library-path>
>>>>> +               <path-element>libs/rpc.swc</path-element>
>>>>> +               <rsl-url>rpc_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +        -->
>>>>> +      <!-- Charts SWC
>>>>> +       <runtime-shared-library-path>
>>>>> +               <path-element>libs/charts.swc</path-element>
>>>>> +               <rsl-url>charts_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +     -->
>>>>> +      <!-- Spark_dmv SWC
>>>>> +       <runtime-shared-library-path>
>>>>> +               <path-element>libs/spark_dmv.swc</path-element>
>>>>> +               <rsl-url>spark_dmv_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +    -->
>>>>> +      <!-- OSMF SWC -->
>>>>> +       <!--
>>>>> +           Even though there is no OSMF rsl leave this in so that in a
>>>>> FlashBuilder
>>>>> +           Flex Library project, FlashBuilder will allow "Link Type" to
>>>>> be
>>>>> external.
>>>>> +    <runtime-shared-library-path>
>>>>> +               <path-element>libs/osmf.swc</path-element>
>>>>> +               <rsl-url>osmf_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +    -->
>>>>> +
>>>>> +      <!-- MX SWC
>>>>> +       <runtime-shared-library-path>
>>>>> +               <path-element>libs/mx/mx.swc</path-element>
>>>>> +               <rsl-url>mx_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +   -->
>>>>> +      <!-- Advancedgrids SWC
>>>>> +       <runtime-shared-library-path>
>>>>> +               <path-element>libs/advancedgrids.swc</path-element>
>>>>> +               <rsl-url>advancedgrids_4.9.0.1425567.swf</rsl-url>
>>>>> +       </runtime-shared-library-path>
>>>>> +       -->
>>>>> +       <!-- static-link-runtime-shared-libraries: statically link the
>>>>> libraries specified by the -runtime-shared-libraries-path option.-->
>>>>> +
>>>>>
>>>>> <static-link-runtime-shared-libraries>true</static-link-runtime-shared-librar
>>>>> ies>
>>>>> +
>>>>> +   <!-- target-player: specifies the version of the player the
>>>>> application
>>>>> is targeting.
>>>>> +                       Features requiring a later version will not be
>>>>> compiled into the application.
>>>>> +                       The minimum value supported is "9.0.0".-->
>>>>> +   <!-- target-player usage:
>>>>> +   <target-player>version</target-player>
>>>>> +   -->
>>>>> +
>>>>> +   <!-- Enables SWFs to access the network. -->
>>>>> +   <use-network>true</use-network>
>>>>> +
>>>>> +   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
>>>>> +   <metadata>
>>>>> +      <title>Apache FlexJS Application</title>
>>>>> +      <description>http://flex.apache.org/</description>
>>>>> +      <publisher>Apache Software Foundation</publisher>
>>>>> +      <creator>unknown</creator>
>>>>> +      <language>EN</language>
>>>>> +   </metadata>
>>>>> +
>>>>> +</flex-config>
>>>>>
>>>>> Added: flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-sd
>>>>> k-description.xml?rev=1454452&view=auto
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> --- flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>> (added)
>>>>> +++ flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>> Fri Mar
>>>>> 8 16:37:12 2013
>>>>> @@ -0,0 +1,25 @@
>>>>> +<?xml version="1.0"?>
>>>>> +<!--
>>>>> +
>>>>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>>>>> +  contributor license agreements.  See the NOTICE file distributed with
>>>>> +  this work for additional information regarding copyright ownership.
>>>>> +  The ASF licenses this file to You under the Apache License, Version
>>>>> 2.0
>>>>> +  (the "License"); you may not use this file except in compliance with
>>>>> +  the License.  You may obtain a copy of the License at
>>>>> +
>>>>> +      http://www.apache.org/licenses/LICENSE-2.0
>>>>> +
>>>>> +  Unless required by applicable law or agreed to in writing, software
>>>>> +  distributed under the License is distributed on an "AS IS" BASIS,
>>>>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>> implied.
>>>>> +  See the License for the specific language governing permissions and
>>>>> +  limitations under the License.
>>>>> +
>>>>> +-->
>>>>> +<flex-sdk-description>
>>>>> +<name>Apache FlexJS Prototype</name>
>>>>> +<version>4.9.0</version>
>>>>> +<build>1425567</build>
>>>>> +</flex-sdk-description>
>>>>> +
>>>>> \ No newline at end of file
>>>>>
>>>>> Propchange:
>>>>> flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>>
>>>
>>> ----------------------------------------------------------------------------->>
>>> -
>>>>>
>>>>>     svn:eol-style = native
>>>>>
>>>>> Modified:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>>> .as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>
>>>>> /apache/flex/core/Application.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>>> .as (original)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>>> .as Fri Mar  8 16:37:12 2013
>>>>> @@ -34,7 +34,7 @@ package org.apache.flex.core
>>>>>       */
>>>>>      [Event(name="initialize", type="flash.events.Event")]
>>>>>
>>>>> -    public class Application extends Sprite implements IStrand
>>>>> +    public class Application extends Sprite implements IStrand,
>>>>> IFlexInfo
>>>>>      {
>>>>>          public function Application()
>>>>>          {
>>>>> @@ -53,6 +53,7 @@ package org.apache.flex.core
>>>>>                 MXMLDataInterpreter.generateMXMLProperties(this,
>>>>> MXMLProperties);
>>>>>
>>>>>              ValuesManager.valuesImpl = valuesImpl;
>>>>> +            ValuesManager.valuesImpl.init(this);
>>>>>
>>>>>              dispatchEvent(new Event("initialize"));
>>>>>
>>>>> @@ -116,5 +117,10 @@ package org.apache.flex.core
>>>>>              }
>>>>>              return null;
>>>>>          }
>>>>> +
>>>>> +        public function get info():Object
>>>>> +        {
>>>>> +            return {};
>>>>> +        }
>>>>>      }
>>>>>  }
>>>>> \ No newline at end of file
>>>>>
>>>>> Added:
>>>>>
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
>>> s
>>>>>
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>> /apache/flex/core/IFlexInfo.as?rev=1454452&view=auto
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>>>> s (added)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>>>> s Fri Mar  8 16:37:12 2013
>>>>> @@ -0,0 +1,29 @@
>>>>>
>>>>> +////////////////////////////////////////////////////////////////////////////
>>>>> ////
>>>>> +//
>>>>> +//  Licensed to the Apache Software Foundation (ASF) under one or more
>>>>> +//  contributor license agreements.  See the NOTICE file distributed
>>>>> with
>>>>> +//  this work for additional information regarding copyright ownership.
>>>>> +//  The ASF licenses this file to You under the Apache License, Version
>>>>> 2.0
>>>>> +//  (the "License"); you may not use this file except in compliance
>>>>> with
>>>>> +//  the License.  You may obtain a copy of the License at
>>>>> +//
>>>>> +//      http://www.apache.org/licenses/LICENSE-2.0
>>>>> +//
>>>>> +//  Unless required by applicable law or agreed to in writing, software
>>>>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>>>>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>> implied.
>>>>> +//  See the License for the specific language governing permissions and
>>>>> +//  limitations under the License.
>>>>> +//
>>>>>
>>>>> +////////////////////////////////////////////////////////////////////////////
>>>>> ////
>>>>> +package org.apache.flex.core
>>>>> +{
>>>>> +    /**
>>>>> +     * An object of various properties and values that are not
>>>>> otherwise
>>>>> +     * linked in by hard class references, like styles, rsls, mixins.
>>>>> +     */
>>>>> +       public interface IFlexInfo
>>>>> +       {
>>>>> +               function get info():Object
>>>>> +       }
>>>>> +}
>>>>> \ No newline at end of file
>>>>>
>>>>> Propchange:
>>>>>
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
>>> s
>>>>>
>>>>>
>>>
>>> ----------------------------------------------------------------------------->>
>>> -
>>>>>
>>>>>     svn:eol-style = native
>>>>>
>>>>> Modified:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>>> .as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>
>>>>> /apache/flex/core/IValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>>> .as (original)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>>> .as Fri Mar  8 16:37:12 2013
>>>>> @@ -20,7 +20,8 @@ package org.apache.flex.core
>>>>>  {
>>>>>         public interface IValuesImpl
>>>>>         {
>>>>> -               function getValue(valueName:String):Object;
>>>>> -               function setValue(valueName:String, value:Object):void;
>>>>> +               function getValue(thisObject:Object,
>>>>> valueName:String):Object;
>>>>> +
>>>>> +        function init(mainClass:Object):void;
>>>>>         }
>>>>>  }
>>>>> \ No newline at end of file
>>>>>
>>>>> Added:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>> luesImpl.as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>> /apache/flex/core/SimpleCSSValuesImpl.as?rev=1454452&view=auto
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>> luesImpl.as (added)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>> luesImpl.as Fri Mar  8 16:37:12 2013
>>>>> @@ -0,0 +1,180 @@
>>>>>
>>>>> +////////////////////////////////////////////////////////////////////////////
>>>>> ////
>>>>> +//
>>>>> +//  Licensed to the Apache Software Foundation (ASF) under one or more
>>>>> +//  contributor license agreements.  See the NOTICE file distributed
>>>>> with
>>>>> +//  this work for additional information regarding copyright ownership.
>>>>> +//  The ASF licenses this file to You under the Apache License, Version
>>>>> 2.0
>>>>> +//  (the "License"); you may not use this file except in compliance
>>>>> with
>>>>> +//  the License.  You may obtain a copy of the License at
>>>>> +//
>>>>> +//      http://www.apache.org/licenses/LICENSE-2.0
>>>>> +//
>>>>> +//  Unless required by applicable law or agreed to in writing, software
>>>>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>>>>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>>> implied.
>>>>> +//  See the License for the specific language governing permissions and
>>>>> +//  limitations under the License.
>>>>> +//
>>>>>
>>>>> +////////////////////////////////////////////////////////////////////////////
>>>>> ////
>>>>> +package org.apache.flex.core
>>>>> +{
>>>>> +       import flash.events.EventDispatcher;
>>>>> +       import flash.events.IEventDispatcher;
>>>>> +       import flash.system.ApplicationDomain;
>>>>> +       import flash.utils.getQualifiedClassName;
>>>>> +
>>>>> +       import org.apache.flex.events.ValueChangeEvent;
>>>>> +
>>>>> +       public class SimpleCSSValuesImpl extends EventDispatcher
>>>>> implements
>>>>> IValuesImpl
>>>>> +       {
>>>>> +               public function SimpleCSSValuesImpl()
>>>>> +               {
>>>>> +                       super();
>>>>> +               }
>>>>> +
>>>>> +        public function init(mainClass:Object):void
>>>>> +        {
>>>>> +            var mainClassName:String =
>>>>> getQualifiedClassName(mainClass);
>>>>> +            var styleClassName:String = "_" + mainClassName +
>>>>> "_Styles";
>>>>> +            var c:Class =
>>>>> ApplicationDomain.currentDomain.getDefinition(styleClassName) as Class;
>>>>> +            values = {};
>>>>> +            generateCSSStyleDeclarations(c["factoryFunctions"],
>>>>> c["data"]);
>>>>> +        }
>>>>> +
>>>>> +        public function
>>>>> generateCSSStyleDeclarations(factoryFunctions:Object, arr:Array):void
>>>>> +        {
>>>>> +            var declarationName:String = "";
>>>>> +            var segmentName:String = "";
>>>>> +            var n:int = arr.length;
>>>>> +            for (var i:int = 0; i < n; i++)
>>>>> +            {
>>>>> +                var className:int = arr[i];
>>>>> +                if (className == CSSClass.CSSSelector)
>>>>> +                {
>>>>> +                    var selectorName:String = arr[++i];
>>>>> +                    segmentName = selectorName + segmentName;
>>>>> +                    if (declarationName != "")
>>>>> +                        declarationName += " ";
>>>>> +                    declarationName += segmentName;
>>>>> +                    segmentName = "";
>>>>> +                }
>>>>> +                else if (className == CSSClass.CSSCondition)
>>>>> +                {
>>>>> +                    // not supported
>>>>> +                }
>>>>> +                else if (className == CSSClass.CSSStyleDeclaration)
>>>>> +                {
>>>>> +                    var factoryName:int = arr[++i]; // defaultFactory
>>>>> or
>>>>> factory
>>>>> +                    var defaultFactory:Boolean = factoryName ==
>>>>> CSSFactory.DefaultFactory;
>>>>> +                    /*
>>>>> +                    if (defaultFactory)
>>>>> +                    {
>>>>> +                        mergedStyle =
>>>>> styleManager.getMergedStyleDeclaration(declarationName);
>>>>> +                        style = new CSSStyleDeclaration(selector,
>>>>> styleManager, mergedStyle == null);
>>>>> +                    }
>>>>> +                    else
>>>>> +                    {
>>>>> +                        style =
>>>>> styleManager.getStyleDeclaration(declarationName);
>>>>> +                        if (!style)
>>>>> +                        {
>>>>> +                            style = new CSSStyleDeclaration(selector,
>>>>> styleManager, mergedStyle == null);
>>>>> +                            if (factoryName == CSSFactory.Override)
>>>>> +                                newSelectors.push(style);
>>>>> +                        }
>>>>> +                    }
>>>>> +                    */
>>>>> +                    var finalName:String;
>>>>> +                    var valuesFunction:Function;
>>>>> +                    var valuesObject:Object;
>>>>> +                    if (defaultFactory)
>>>>> +                    {
>>>>> +                        valuesFunction =
>>>>> factoryFunctions[declarationName];
>>>>> +                        valuesObject = new valuesFunction();
>>>>> +                        finalName = fixNames(declarationName);
>>>>> +                        values[finalName] = valuesObject;
>>>>> +                    }
>>>>> +                    else
>>>>> +                    {
>>>>> +                        valuesFunction =
>>>>> factoryFunctions[declarationName];
>>>>> +                        valuesObject = new valuesFunction();
>>>>> +                        var o:Object = values[declarationName];
>>>>> +                        finalName = fixNames(declarationName);
>>>>> +                        if (o == null)
>>>>> +                            values[finalName] = valuesObject;
>>>>> +                        else
>>>>> +                        {
>>>>> +                            valuesFunction.prototype = o;
>>>>> +                            values[finalName] = new valuesFunction();
>>>>> +                        }
>>>>> +                    }
>>>>> +                    declarationName = "";
>>>>> +                }
>>>>> +            }
>>>>> +
>>>>> +        }
>>>>> +
>>>>> +        private function fixNames(s:String):String
>>>>> +        {
>>>>> +            var arr:Array = s.split(" ");
>>>>> +            var n:int = arr.length;
>>>>> +            for (var i:int = 0; i < n; i++)
>>>>> +            {
>>>>> +                var segmentName:String = arr[i];
>>>>> +                var c:int = segmentName.lastIndexOf(".");
>>>>> +                if (c != -1)
>>>>> +                {
>>>>> +                    segmentName = segmentName.substr(0, c) + "::" +
>>>>> segmentName.substr(c + 1);
>>>>> +                    arr[i] = segmentName;
>>>>> +                }
>>>>> +            }
>>>>> +            return arr.join(" ");
>>>>> +        }
>>>>> +
>>>>> +        public var values:Object;
>>>>> +
>>>>> +               public function getValue(thisObject:Object,
>>>>> valueName:String):Object
>>>>> +               {
>>>>> +            var className:String = getQualifiedClassName(thisObject);
>>>>> +            var o:Object = values[className];
>>>>> +            var value:*;
>>>>> +            if (o)
>>>>> +            {
>>>>> +                value = o[valueName];
>>>>> +                if (value !== undefined)
>>>>> +                    return value;
>>>>> +            }
>>>>> +            o = values["global"];
>>>>> +                       return o[valueName];
>>>>> +               }
>>>>> +
>>>>> +               public function setValue(thisObject:Object,
>>>>> valueName:String,
>>>>> value:Object):void
>>>>> +               {
>>>>> +                       var oldValue:Object = values[valueName];
>>>>> +                       if (oldValue != value)
>>>>> +                       {
>>>>> +                               values[valueName] = value;
>>>>> +                               dispatchEvent(new
>>>>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false, oldValue,
>>>>> value));
>>>>> +                       }
>>>>> +               }
>>>>> +       }
>>>>> +}
>>>>> +
>>>>> +class CSSClass
>>>>> +{
>>>>> +    public static const CSSSelector:int = 0;
>>>>> +    public static const CSSCondition:int = 1;
>>>>> +    public static const CSSStyleDeclaration:int = 2;
>>>>> +}
>>>>> +
>>>>> +class CSSFactory
>>>>> +{
>>>>> +    public static const DefaultFactory:int = 0;
>>>>> +    public static const Factory:int = 1;
>>>>> +    public static const Override:int = 2;
>>>>> +}
>>>>> +
>>>>> +class CSSDataType
>>>>> +{
>>>>> +    public static const Native:int = 0;
>>>>> +    public static const Definition:int = 1;
>>>>> +}
>>>>>
>>>>> Propchange:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>>> luesImpl.as
>>>>>
>>>
>>> ----------------------------------------------------------------------------->>
>>> -
>>>>>
>>>>>     svn:eol-style = native
>>>>>
>>>>> Modified:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>>> sImpl.as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>
>>>>> /apache/flex/core/SimpleValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=
>>>>> diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>>> sImpl.as (original)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>>> sImpl.as Fri Mar  8 16:37:12 2013
>>>>> @@ -32,12 +32,12 @@ package org.apache.flex.core
>>>>>
>>>>>                 public var values:Object;
>>>>>
>>>>> -               public function getValue(valueName:String):Object
>>>>> +               public function getValue(thisObject:Object,
>>>>> valueName:String):Object
>>>>>                 {
>>>>>                         return values[valueName];
>>>>>                 }
>>>>>
>>>>> -               public function setValue(valueName:String,
>>>>> value:Object):void
>>>>> +               public function setValue(thisObject:Object,
>>>>> valueName:String,
>>>>> value:Object):void
>>>>>                 {
>>>>>                         var oldValue:Object = values[valueName];
>>>>>                         if (oldValue != value)
>>>>> @@ -46,5 +46,10 @@ package org.apache.flex.core
>>>>>                                 dispatchEvent(new
>>>>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false, oldValue,
>>>>> value));
>>>>>                         }
>>>>>                 }
>>>>> +
>>>>> +        public function init(mainClass:Object):void
>>>>> +        {
>>>>> +            // do nothing
>>>>> +        }
>>>>>         }
>>>>>  }
>>>>> \ No newline at end of file
>>>>>
>>>>> Modified:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/CheckBox.as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>
>>>>> /apache/flex/html/staticControls/CheckBox.as?rev=1454452&r1=1454451&r2=145445
>>>>> 2&view=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/CheckBox.as (original)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/CheckBox.as Fri Mar  8 16:37:12 2013
>>>>> @@ -63,13 +63,13 @@ package org.apache.flex.html.staticContr
>>>>>                 public function initModel():void
>>>>>                 {
>>>>>                         if (getBeadByType(IToggleButtonModel) == null)
>>>>> -                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue("IToggleButtonModel")) as IBead);
>>>>> +                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue(this, "iToggleButtonModel")) as
>>>>> IBead);
>>>>>                 }
>>>>>
>>>>>                 public function initSkin():void
>>>>>                 {
>>>>>                         if (getBeadByType(ICheckBoxBead) == null)
>>>>> -                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue("ICheckBoxBead")) as IBead);
>>>>> +                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue(this, "iCheckBoxBead")) as IBead);
>>>>>
>>>>>                         _width = $width;
>>>>>                         _height = $height;
>>>>>
>>>>> Modified:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/Label.as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>
>>>>> /apache/flex/html/staticControls/Label.as?rev=1454452&r1=1454451&r2=1454452&v
>>>>> iew=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/Label.as (original)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/Label.as Fri Mar  8 16:37:12 2013
>>>>> @@ -60,13 +60,13 @@ package org.apache.flex.html.staticContr
>>>>>                 override public function initModel():void
>>>>>                 {
>>>>>                         if (getBeadByType(ITextModel) == null)
>>>>> -                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>>>>> +                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>>>>                 }
>>>>>
>>>>>                 public function initSkin():void
>>>>>                 {
>>>>>                         if (getBeadByType(ITextBead) == null)
>>>>> -                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue("ITextBead")) as IBead);
>>>>> +                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue(this, "iTextBead")) as IBead);
>>>>>                 }
>>>>>         }
>>>>>  }
>>>>> \ No newline at end of file
>>>>>
>>>>> Modified:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/List.as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>
>>>>> /apache/flex/html/staticControls/List.as?rev=1454452&r1=1454451&r2=1454452&vi
>>>>> ew=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/List.as (original)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/List.as Fri Mar  8 16:37:12 2013
>>>>> @@ -82,7 +82,7 @@ package org.apache.flex.html.staticContr
>>>>>                 override public function initModel():void
>>>>>                 {
>>>>>              if (getBeadByType(ISelectionModel) == null)
>>>>> -                addBead(new
>>>>> (ValuesManager.valuesImpl.getValue("ISelectionModel")) as IBead);
>>>>> +                addBead(new (ValuesManager.valuesImpl.getValue(this,
>>>>> "iSelectionModel")) as IBead);
>>>>>                 }
>>>>>
>>>>>                 public function initSkin():void
>>>>>
>>>>> Modified:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/RadioButton.as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>
>>>>> /apache/flex/html/staticControls/RadioButton.as?rev=1454452&r1=1454451&r2=145
>>>>> 4452&view=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/RadioButton.as (original)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/RadioButton.as Fri Mar  8 16:37:12 2013
>>>>> @@ -112,13 +112,13 @@ package org.apache.flex.html.staticContr
>>>>>                 public function initModel():void
>>>>>                 {
>>>>>                         if (getBeadByType(IValueToggleButtonModel) ==
>>>>> null)
>>>>> -                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue("IValueToggleButtonModel")) as
>>>>> IBead);
>>>>> +                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue(this, "iValueToggleButtonModel")) as
>>>>> IBead);
>>>>>                 }
>>>>>
>>>>>                 public function initSkin():void
>>>>>                 {
>>>>>                         if (getBeadByType(IRadioButtonBead) == null)
>>>>> -                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue("IRadioButtonBead")) as IBead);
>>>>> +                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue(this, "iRadioButtonBead")) as IBead);
>>>>>
>>>>>                         _width = $width;
>>>>>                         _height = $height;
>>>>>
>>>>> Modified:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/TextArea.as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>
>>>>> /apache/flex/html/staticControls/TextArea.as?rev=1454452&r1=1454451&r2=145445
>>>>> 2&view=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/TextArea.as (original)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/TextArea.as Fri Mar  8 16:37:12 2013
>>>>> @@ -54,7 +54,7 @@ package org.apache.flex.html.staticContr
>>>>>                 override public function initModel():void
>>>>>                 {
>>>>>                         if (getBeadByType(ITextModel) == null)
>>>>> -                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>>>>> +                               addBead(new
>>>>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>>>>                 }
>>>>>
>>>>>                 public function initSkin():void
>>>>>
>>>>> Modified:
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/TextButton.as
>>>>> URL:
>>>>>
>>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>>
>>>>> /apache/flex/html/staticControls/TextButton.as?rev=1454452&r1=1454451&r2=1454
>>>>> 452&view=diff
>>>>>
>>>
>>> =============================================================================>>
>>> =
>>>>>
>>>>> ---
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/TextButton.as (original)
>>>>> +++
>>>>>
>>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>>> ols/TextButton.as Fri Mar  8 16:37:12 2013
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>

-- 
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com


Re: svn commit: r1454452 - in /flex/asjs/branches/develop: examples/FlexJSTest_again/ frameworks/as/ frameworks/as/fb/ frameworks/as/src/org/apache/flex/core/ frameworks/as/src/org/apache/flex/html/staticControls/ frameworks/js/FlexJS/src/org/apache/fl...

Posted by Erik de Bruin <er...@ixsoftware.nl>.
Mike,

I actually do a sort of 2 pass system. First I walk the MXML and build
an intermediate model that is much easier to manipulate into FlexJS
output. I used some ideas from AMD, like the 'stringifyNode' method,
which I lifted up a bit to make it visible from outside an emitter (or
rather, from inside another emitter), but that isn't major.

Right now I want to make FlexJS work, and while I'm trying to make the
code as generic as possible, it's not my priority right now.

EdB



On Fri, Mar 8, 2013 at 6:20 PM, Michael Schmalle
<ap...@teotigraphix.com> wrote:
> I will add my 2 cents here;
>
> If multiple tree walks are necessary, then there will need to be an
> intermediate model created when Erik is walking the tree. As it stands, I
> "think" Erik is generating the source code on the traverse. To allow a 2
> pass system, there needs to be an intermediary model that can be updated,
> then the source code emitter uses pieces of that model to actually generate
> the code.
>
> What do you think Erik? You are generating the code in one shot correct?
>
> I had to do something along these lines with the AMD emitter to get
> dependencies but, I use place holders so I didn't do a double traverse.
>
> Quoting Alex Harui <ah...@adobe.com>:
>
>> As soon as you're done and FalconJX can compile and run the
>> FlexJSTest_again
>> example, I will cut over to FalconJX.  I had to keep working in FalconJS
>> because I couldn't wait for FalconJX.  There are some immediate
>> opportunities for me to promote the FlexJS work internally that can help
>> ensure I get to continue on with Apache Flex and I need a kit that folks
>> can
>> play with now.
>>
>> I don't have any work scheduled for FalconJS for a while (other than bug
>> fixes).  This checkin was for the AS-side where the primary goal was to
>> use
>> CSS to manage the configuration of the beads.  I'm not quite sure how
>> we're
>> going to handle CSS on the JS-side.   The JS side has no beads right now
>> because we're just thinly wrapping existing HTML controls. The AS side is
>> using beads to maximize code-reuse when building up the AS emulations of
>> these HTML controls.  So, I'm not going to be doing any work in
>> compiler.js
>> to try to support CSS on the JS side right now.  Neither side currently
>> supports CSS for other visual styling (font-family, etc).  I can wait for
>> FalconJX for that.
>>
>> Next week I plan to look into how data-binding syntax is handled.  Right
>> now
>> {} syntax is not supported in FlexJS on either the AS or JS side.  There
>> are
>> databinding beads you can use for now, but I think folks still love the
>> curly braces so I need to muck with that codegen on the AS side first.  It
>> will be enlightening to see how databinding codegen works in regular
>> Falcon
>> so we can think about how it will work in FalconJX.  In MXMLC it was a
>> multiple-pass process.  I want to understand it better so we know if we
>> need
>> to support multiple tree walks and tree mucking in FalconJX.
>>
>> -Alex
>>
>> On 3/8/13 8:50 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>>
>>> Alex,
>>>
>>> I'm nearly done with MXML support for FlexJS in FalconJx. As it seems
>>> to be the consensus that we'll move FlexJS to FalconJx, isn't it maybe
>>> an idea not to do too much work on FalconJS, as we will have to
>>> duplicate that effort in FalconJx?
>>>
>>> EdB
>>>
>>>
>>>
>>> On Fri, Mar 8, 2013 at 5:37 PM,  <ah...@apache.org> wrote:
>>>>
>>>> Author: aharui
>>>> Date: Fri Mar  8 16:37:12 2013
>>>> New Revision: 1454452
>>>>
>>>> URL: http://svn.apache.org/r1454452
>>>> Log:
>>>> Add defaults.css handling
>>>>
>>>> Added:
>>>>     flex/asjs/branches/develop/frameworks/as/defaults.css   (with props)
>>>>     flex/asjs/branches/develop/frameworks/as/fb/
>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>> Build).launch
>>>> (with props)
>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>>> Build).launch   (with props)
>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>>> Build).launch   (with props)
>>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>> Build).launch
>>>> (with props)
>>>>     flex/asjs/branches/develop/frameworks/as/flex-config.xml
>>>>     flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>> (with
>>>> props)
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>>> s   (with props)
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>> luesImpl.as   (with props)
>>>> Removed:
>>>>
>>>>
>>>> flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/js/FlexJS/src/org/apache/flex/html/stat
>>>> icControls/beads/
>>>> Modified:
>>>>     flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>>     flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>>     flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>> .as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>> .as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>> sImpl.as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/CheckBox.as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/Label.as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/List.as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/RadioButton.as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/TextArea.as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/TextButton.as
>>>>
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/TextInput.as
>>>>
>>>> Modified:
>>>> flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/examples/FlexJSTest_a
>>>> gain/FlexJSTest.mxml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>> (original)
>>>> +++ flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>> Fri
>>>> Mar  8 16:37:12 2013
>>>> @@ -25,7 +25,7 @@ limitations under the License.
>>>>
>>>> initialize="MyModel(model).labelText='Hello World'"
>>>>>
>>>>>
>>>>         <basic:valuesImpl>
>>>> -               <local:MySimpleValuesImpl />
>>>> +               <basic:SimpleCSSValuesImpl />
>>>>         </basic:valuesImpl>
>>>>         <basic:initialView>
>>>>                 <local:MyInitialView />
>>>>
>>>> Modified: flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/basic-m
>>>> anifest.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>> (original)
>>>> +++ flex/asjs/branches/develop/frameworks/as/basic-manifest.xml Fri Mar
>>>> 8
>>>> 16:37:12 2013
>>>> @@ -23,6 +23,7 @@
>>>>
>>>>      <component id="Application"
>>>> class="org.apache.flex.core.Application"/>
>>>>      <component id="SimpleValuesImpl"
>>>> class="org.apache.flex.core.SimpleValuesImpl"/>
>>>> +    <component id="SimpleCSSValuesImpl"
>>>> class="org.apache.flex.core.SimpleCSSValuesImpl"/>
>>>>      <component id="ViewBase" class="org.apache.flex.core.ViewBase"/>
>>>>      <component id="ConstantBinding"
>>>> class="org.apache.flex.binding.ConstantBinding"/>
>>>>      <component id="SimpleBinding"
>>>> class="org.apache.flex.binding.SimpleBinding"/>
>>>>
>>>> Modified: flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/compile
>>>> -config.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>> (original)
>>>> +++ flex/asjs/branches/develop/frameworks/as/compile-config.xml Fri Mar
>>>> 8
>>>> 16:37:12 2013
>>>> @@ -43,6 +43,11 @@
>>>>          <warn-no-constructor>false</warn-no-constructor>
>>>>      </compiler>
>>>>
>>>> +    <include-file>
>>>> +        <name>defaults.css</name>
>>>> +        <path>defaults.css</path>
>>>> +    </include-file>
>>>> +
>>>>      <include-classes>
>>>>          <class>FlexJSUIClasses</class>
>>>>      </include-classes>
>>>>
>>>> Added: flex/asjs/branches/develop/frameworks/as/defaults.css
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/default
>>>> s.css?rev=1454452&view=auto
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/frameworks/as/defaults.css (added)
>>>> +++ flex/asjs/branches/develop/frameworks/as/defaults.css Fri Mar  8
>>>> 16:37:12
>>>> 2013
>>>> @@ -0,0 +1,55 @@
>>>> +/*
>>>> + *
>>>> + *  Licensed to the Apache Software Foundation (ASF) under one or more
>>>> + *  contributor license agreements.  See the NOTICE file distributed
>>>> with
>>>> + *  this work for additional information regarding copyright ownership.
>>>> + *  The ASF licenses this file to You under the Apache License, Version
>>>> 2.0
>>>> + *  (the "License"); you may not use this file except in compliance
>>>> with
>>>> + *  the License.  You may obtain a copy of the License at
>>>> + *
>>>> + *      http://www.apache.org/licenses/LICENSE-2.0
>>>> + *
>>>> + *  Unless required by applicable law or agreed to in writing, software
>>>> + *  distributed under the License is distributed on an "AS IS" BASIS,
>>>> + *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>> implied.
>>>> + *  See the License for the specific language governing permissions and
>>>> + *  limitations under the License.
>>>> + *
>>>> + */
>>>> +
>>>> +@namespace "library://ns.apache.org/flexjs/basic";
>>>> +
>>>> +/* Global style declaration */
>>>> +global
>>>> +{
>>>> +    ITextBead:
>>>>
>>>> ClassReference("org.apache.flex.html.staticControls.beads.TextFieldBead");
>>>> +    ITextModel:
>>>>
>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
>>>> +
>>>> +}
>>>> +
>>>> +CheckBox
>>>> +{
>>>> +    IToggleButtonModel:
>>>>
>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>>>> Model");
>>>> +    ICheckBoxBead:
>>>>
>>>> ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
>>>> +}
>>>> +
>>>> +List
>>>> +{
>>>> +    ISelectionModel:
>>>>
>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelecti
>>>> onModel");
>>>> +}
>>>> +
>>>> +RadioButton
>>>> +{
>>>> +    IToggleButtonModel:
>>>>
>>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>>>> Model");
>>>> +    IRadioButtonBead:
>>>>
>>>> ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
>>>> +}
>>>> +
>>>> +TextButton
>>>> +{
>>>> +       ITextButtonBead:
>>>>
>>>> ClassReference("org.apache.flex.html.staticControls.beads.TextButtonBead");
>>>> +}
>>>> +
>>>> +TextInput
>>>> +{
>>>> +    ITextInputBead:
>>>>
>>>> ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorder
>>>> Bead");
>>>> +}
>>>>
>>>> Propchange: flex/asjs/branches/develop/frameworks/as/defaults.css
>>>>
>>
>> ----------------------------------------------------------------------------->>
>> -
>>>>
>>>>     svn:eol-style = native
>>>>
>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>> Build).launch
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>> JS%20%28Debug%20Build%29.launch?rev=1454452&view=auto
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>> Build).launch
>>>> (added)
>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>> Build).launch
>>>> Fri Mar  8 16:37:12 2013
>>>> @@ -0,0 +1,10 @@
>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>> +<launchConfiguration
>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>> +<booleanAttribute
>>>> key="org.eclipse.debug.core.appendEnvironmentVariables"
>>>> value="false"/>
>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>> +</listAttribute>
>>>> +<stringAttribute
>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>> value="${project}"/>
>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>
>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>> ava"/>
>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data -debug
>>>> -output=&quot;${project_loc}/bin-debug/${project_name}.swf&quot;
>>>> &quot;${resource_loc}&quot;"/>
>>>> +</launchConfiguration>
>>>>
>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>>> Build).launch
>>>>
>>
>> ----------------------------------------------------------------------------->>
>> -
>>>>
>>>>     svn:eol-style = native
>>>>
>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>> Debug
>>>> Build).launch
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>> JS%20%28FalconJS%20Debug%20Build%29.launch?rev=1454452&view=auto
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>>> Build).launch (added)
>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>>> Build).launch Fri Mar  8 16:37:12 2013
>>>> @@ -0,0 +1,13 @@
>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>> +<launchConfiguration
>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>>>> +<mapEntry key="FLEXJS_HOME"
>>>>
>>>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>>>> rc"/>
>>>> +<mapEntry key="GOOG_HOME"
>>>> value="/Applications/GoogleClosure/library/closure/goog"/>
>>>> +</mapAttribute>
>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>> +</listAttribute>
>>>> +<stringAttribute
>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>> value="${project}"/>
>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>
>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>> ava"/>
>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data -debug
>>>> -output=&quot;${project_loc}/binjs-debug/${project_name}.js&quot;
>>>> &quot;${resource_loc}&quot;"/>
>>>> +</launchConfiguration>
>>>>
>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>> Debug Build).launch
>>>>
>>
>> ----------------------------------------------------------------------------->>
>> -
>>>>
>>>>     svn:eol-style = native
>>>>
>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>> Release
>>>> Build).launch
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>> JS%20%28FalconJS%20Release%20Build%29.launch?rev=1454452&view=auto
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>>> Build).launch (added)
>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>>> Build).launch Fri Mar  8 16:37:12 2013
>>>> @@ -0,0 +1,13 @@
>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>> +<launchConfiguration
>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>>>> +<mapEntry key="FLEXJS_HOME"
>>>>
>>>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>>>> rc"/>
>>>> +<mapEntry key="GOOG_HOME"
>>>> value="/Applications/GoogleClosure/library/closure/goog"/>
>>>> +</mapAttribute>
>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>> +</listAttribute>
>>>> +<stringAttribute
>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>> value="${project}"/>
>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>
>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>> ava"/>
>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data
>>>> -output=&quot;${project_loc}/binjs-release/${project_name}.js&quot;
>>>> &quot;${resource_loc}&quot;"/>
>>>> +</launchConfiguration>
>>>>
>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>>> Release Build).launch
>>>>
>>
>> ----------------------------------------------------------------------------->>
>> -
>>>>
>>>>     svn:eol-style = native
>>>>
>>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>> Build).launch
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>>> JS%20%28Release%20Build%29.launch?rev=1454452&view=auto
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>> Build).launch
>>>> (added)
>>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>> Build).launch
>>>> Fri Mar  8 16:37:12 2013
>>>> @@ -0,0 +1,9 @@
>>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>>> +<launchConfiguration
>>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>>> +</listAttribute>
>>>> +<stringAttribute
>>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>>> value="${project}"/>
>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>>>
>>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>>> ava"/>
>>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data
>>>> -output=&quot;${project_loc}/bin-release/${project_name}.swf&quot;
>>>> &quot;${resource_loc}&quot;"/>
>>>> +</launchConfiguration>
>>>>
>>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>>> Build).launch
>>>>
>>
>> ----------------------------------------------------------------------------->>
>> -
>>>>
>>>>     svn:eol-style = native
>>>>
>>>> Added: flex/asjs/branches/develop/frameworks/as/flex-config.xml
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-co
>>>> nfig.xml?rev=1454452&view=auto
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/frameworks/as/flex-config.xml (added)
>>>> +++ flex/asjs/branches/develop/frameworks/as/flex-config.xml Fri Mar  8
>>>> 16:37:12 2013
>>>> @@ -0,0 +1,426 @@
>>>> +<?xml version="1.0"?>
>>>> +
>>>> +<!--
>>>> +
>>>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>>>> +  contributor license agreements.  See the NOTICE file distributed with
>>>> +  this work for additional information regarding copyright ownership.
>>>> +  The ASF licenses this file to You under the Apache License, Version
>>>> 2.0
>>>> +  (the "License"); you may not use this file except in compliance with
>>>> +  the License.  You may obtain a copy of the License at
>>>> +
>>>> +      http://www.apache.org/licenses/LICENSE-2.0
>>>> +
>>>> +  Unless required by applicable law or agreed to in writing, software
>>>> +  distributed under the License is distributed on an "AS IS" BASIS,
>>>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>> implied.
>>>> +  See the License for the specific language governing permissions and
>>>> +  limitations under the License.
>>>> +
>>>> +-->
>>>> +
>>>> +
>>>> +<flex-config>
>>>> +    <!-- Specifies the minimum player version that will run the
>>>> compiled
>>>> SWF. -->
>>>> +   <target-player>11.1</target-player>
>>>> +
>>>> +    <!-- Specifies the version of the compiled SWF -->
>>>> +   <swf-version>14</swf-version>
>>>> +
>>>> +   <compiler>
>>>> +
>>>> +      <!-- Turn on generation of accessible SWFs. -->
>>>> +      <accessible>true</accessible>
>>>> +
>>>> +      <!-- Specifies the locales for internationalization. -->
>>>> +      <locale>
>>>> +          <locale-element>en_US</locale-element>
>>>> +      </locale>
>>>> +
>>>> +      <!-- List of path elements that form the roots of ActionScript
>>>> class
>>>> hierarchies. -->
>>>> +      <!-- not set -->
>>>> +      <!--
>>>> +      <source-path>
>>>> +         <path-element>string</path-element>
>>>> +      </source-path>
>>>> +      -->
>>>> +
>>>> +     <!-- Allow the source-path to have path-elements which contain
>>>> other
>>>> path-elements -->
>>>> +     <allow-source-path-overlap>false</allow-source-path-overlap>
>>>> +
>>>> +      <!-- Run the AS3 compiler in a mode that detects legal but
>>>> potentially
>>>> incorrect -->
>>>> +      <!-- code.
>>>> -->
>>>> +      <show-actionscript-warnings>true</show-actionscript-warnings>
>>>> +
>>>> +      <!-- Turn on generation of debuggable SWFs. False by default for
>>>> mxmlc, -->
>>>> +      <!-- but true by default for compc. -->
>>>> +      <!--
>>>> +      <debug>true</debug>
>>>> +      -->
>>>> +
>>>> +      <!-- List of SWC files or directories to compile against but to
>>>> omit
>>>> from -->
>>>> +      <!-- linking.
>>>> -->
>>>> +      <external-library-path>
>>>> +
>>>>
>>>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>>>> n}/playerglobal.swc</path-element>
>>>> +      </external-library-path>
>>>> +
>>>> +      <!-- Turn on writing of generated/*.as files to disk. These files
>>>> are
>>>> generated by -->
>>>> +      <!-- the compiler during mxml translation and are helpful with
>>>> understanding and   -->
>>>> +      <!-- debugging Flex applications.
>>>> -->
>>>> +      <keep-generated-actionscript>false</keep-generated-actionscript>
>>>> +
>>>> +      <!-- not set -->
>>>> +      <!--
>>>> +      <include-libraries>
>>>> +         <library>string</library>
>>>> +      </include-libraries>
>>>> +      -->
>>>> +
>>>> +      <!-- List of SWC files or directories that contain SWC files. -->
>>>> +      <library-path>
>>>> +         <path-element>libs</path-element>
>>>> +         <path-element>locale/en_US</path-element>
>>>> +
>>>>
>>>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>>>> n}</path-element>
>>>> +      </library-path>
>>>> +
>>>> +      <namespaces>
>>>> +      <!-- Specify a URI to associate with a manifest of components for
>>>> use
>>>> as MXML -->
>>>> +      <!-- elements.
>>>> -->
>>>> +         <namespace>
>>>> +            <uri>library://ns.apache.org/flexjs/basic</uri>
>>>> +            <manifest>basic-manifest.xml</manifest>
>>>> +         </namespace>
>>>> +      </namespaces>
>>>> +
>>>> +      <!-- Enable post-link SWF optimization. -->
>>>> +      <optimize>true</optimize>
>>>> +
>>>> +      <!-- Enable trace statement omission. -->
>>>> +      <omit-trace-statements>true</omit-trace-statements>
>>>> +
>>>> +      <!-- Keep the following AS3 metadata in the bytecodes.
>>>> -->
>>>> +      <!-- Warning: For the data binding feature in the Flex framework
>>>> to
>>>> work properly,                 -->
>>>> +      <!--          the following metadata must be kept:
>>>> -->
>>>> +      <!--          1. Bindable
>>>> -->
>>>> +      <!--          2. Managed
>>>> -->
>>>> +      <!--          3. ChangeEvent
>>>> -->
>>>> +      <!--          4. NonCommittingChangeEvent
>>>> -->
>>>> +      <!--          5. Transient
>>>> -->
>>>> +      <!--
>>>> +      <keep-as3-metadata>
>>>> +          <name>Bindable</name>
>>>> +          <name>Managed</name>
>>>> +          <name>ChangeEvent</name>
>>>> +          <name>NonCommittingChangeEvent</name>
>>>> +          <name>Transient</name>
>>>> +      </keep-as3-metadata>
>>>> +      -->
>>>> +
>>>> +      <!-- Turn on reporting of data binding warnings. For example:
>>>> Warning:
>>>> Data binding -->
>>>> +      <!-- will not be able to detect assignments to "foo".
>>>> -->
>>>> +      <show-binding-warnings>true</show-binding-warnings>
>>>> +
>>>> +      <!-- toggle whether warnings generated from unused type selectors
>>>> are
>>>> displayed -->
>>>> +
>>>>
>>>> <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
>>>> +
>>>> +      <!-- Run the AS3 compiler in strict error checking mode. -->
>>>> +      <strict>true</strict>
>>>> +
>>>> +      <!-- Use the ActionScript 3 class based object model for greater
>>>> performance and better error reporting. -->
>>>> +      <!-- In the class based object model most built-in functions are
>>>> implemented as fixed methods of classes -->
>>>> +      <!-- (-strict is recommended, but not required, for earlier
>>>> errors)
>>>> -->
>>>> +      <as3>true</as3>
>>>> +
>>>> +      <!-- Use the ECMAScript edition 3 prototype based object model to
>>>> allow dynamic overriding of prototype -->
>>>> +      <!-- properties. In the prototype based object model built-in
>>>> functions are implemented as dynamic      -->
>>>> +      <!-- properties of prototype objects (-strict is allowed, but may
>>>> result in compiler errors for         -->
>>>> +      <!-- references to dynamic properties) -->
>>>> +      <es>false</es>
>>>> +
>>>> +      <!-- List of CSS or SWC files to apply as a theme. -->
>>>> +      <theme>
>>>> +      </theme>
>>>> +
>>>> +      <!-- Turns on the display of stack traces for uncaught runtime
>>>> errors.
>>>> -->
>>>> +      <verbose-stacktraces>false</verbose-stacktraces>
>>>> +
>>>> +      <!-- Defines the AS3 file encoding. -->
>>>> +      <!-- not set -->
>>>> +      <!--
>>>> +      <actionscript-file-encoding></actionscript-file-encoding>
>>>> +      -->
>>>> +
>>>> +      <fonts>
>>>> +
>>>> +          <!-- Enables advanced anti-aliasing for embedded fonts, which
>>>> provides greater clarity for small -->
>>>> +          <!-- fonts. This setting can be overriden in CSS for specific
>>>> fonts. -->
>>>> +          <!-- NOTE: flash-type has been deprecated. Please use
>>>> advanced-anti-aliasing <flash-type>true</flash-type> -->
>>>> +          <advanced-anti-aliasing>true</advanced-anti-aliasing>
>>>> +
>>>> +          <!-- The number of embedded font faces that are cached. -->
>>>> +          <max-cached-fonts>20</max-cached-fonts>
>>>> +
>>>> +          <!-- The number of character glyph outlines to cache for each
>>>> font
>>>> face. -->
>>>> +          <max-glyphs-per-face>1000</max-glyphs-per-face>
>>>> +
>>>> +          <!-- Defines ranges that can be used across multiple
>>>> font-face
>>>> declarations. -->
>>>> +          <!-- See flash-unicode-table.xml for more examples. -->
>>>> +          <!-- not set -->
>>>> +          <!--
>>>> +          <languages>
>>>> +              <language-range>
>>>> +                  <lang>englishRange</lang>
>>>> +                  <range>U+0020-007E</range>
>>>> +              </language-range>
>>>> +          </languages>
>>>> +          -->
>>>> +
>>>> +          <!-- Compiler font manager classes, in policy resolution
>>>> order -->
>>>> +          <!-- NOTE: For Apache Flex -->
>>>> +          <!-- AFEFontManager and CFFFontManager both use proprietary
>>>> technology.  -->
>>>> +          <!-- You must install the optional font jars if you wish to
>>>> use
>>>> embedded fonts  -->
>>>> +          <!-- directly or you can use fontswf to precompile the font
>>>> as a
>>>> swf.  -->
>>>> +          <managers>
>>>> +              <manager-class>flash.fonts.JREFontManager</manager-class>
>>>> +
>>>> <manager-class>flash.fonts.BatikFontManager</manager-class>
>>>> +              <manager-class>flash.fonts.AFEFontManager</manager-class>
>>>> +              <manager-class>flash.fonts.CFFFontManager</manager-class>
>>>> +          </managers>
>>>> +
>>>> +          <!-- File containing cached system font licensing information
>>>> produced via
>>>> +               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
>>>> +               Will default to winFonts.ser on Windows XP and
>>>> +               macFonts.ser on Mac OS X, so is commented out by
>>>> default.
>>>> +
>>>> +          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
>>>> +          -->
>>>> +
>>>> +      </fonts>
>>>> +
>>>> +      <!-- Array.toString() format has changed. -->
>>>> +      <warn-array-tostring-changes>false</warn-array-tostring-changes>
>>>> +
>>>> +      <!-- Assignment within conditional. -->
>>>> +
>>>>
>>>> <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
>>>> +
>>>> +      <!-- Possibly invalid Array cast operation. -->
>>>> +      <warn-bad-array-cast>true</warn-bad-array-cast>
>>>> +
>>>> +      <!-- Non-Boolean value used where a Boolean value was expected.
>>>> -->
>>>> +      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
>>>> +
>>>> +      <!-- Invalid Date cast operation. -->
>>>> +      <warn-bad-date-cast>true</warn-bad-date-cast>
>>>> +
>>>> +      <!-- Unknown method. -->
>>>> +      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
>>>> +
>>>> +      <!-- Unknown property. -->
>>>> +      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
>>>> +
>>>> +      <!-- Illogical comparison with NaN. Any comparison operation
>>>> involving
>>>> NaN will evaluate to false because NaN != NaN. -->
>>>> +      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
>>>> +
>>>> +      <!-- Impossible assignment to null. -->
>>>> +      <warn-bad-null-assignment>true</warn-bad-null-assignment>
>>>> +
>>>> +      <!-- Illogical comparison with null. -->
>>>> +      <warn-bad-null-comparison>true</warn-bad-null-comparison>
>>>> +
>>>> +      <!-- Illogical comparison with undefined. Only untyped variables
>>>> (or
>>>> variables of type *) can be undefined. -->
>>>> +
>>>> <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
>>>> +
>>>> +      <!-- Boolean() with no arguments returns false in ActionScript
>>>> 3.0.
>>>> Boolean() returned undefined in ActionScript 2.0. -->
>>>> +
>>>>
>>>> <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-n
>>>> o-args>
>>>> +
>>>> +      <!-- __resolve is no longer supported. -->
>>>> +      <warn-changes-in-resolve>false</warn-changes-in-resolve>
>>>> +
>>>> +      <!-- Class is sealed. It cannot have members added to it
>>>> dynamically.
>>>> -->
>>>> +      <warn-class-is-sealed>true</warn-class-is-sealed>
>>>> +
>>>> +      <!-- Constant not initialized. -->
>>>> +      <warn-const-not-initialized>true</warn-const-not-initialized>
>>>> +
>>>> +      <!-- Function used in new expression returns a value. Result will
>>>> be
>>>> what the -->
>>>> +      <!-- function returns, rather than a new instance of that
>>>> function.
>>>> -->
>>>> +
>>>> <warn-constructor-returns-value>false</warn-constructor-returns-value>
>>>> +
>>>> +      <!-- EventHandler was not added as a listener. -->
>>>> +
>>>>
>>>> <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-err
>>>> or>
>>>> +
>>>> +      <!-- Unsupported ActionScript 2.0 function. -->
>>>> +
>>>> <warn-deprecated-function-error>true</warn-deprecated-function-error>
>>>> +
>>>> +      <!-- Unsupported ActionScript 2.0 property. -->
>>>> +
>>>> <warn-deprecated-property-error>true</warn-deprecated-property-error>
>>>> +
>>>> +      <!-- More than one argument by the same name. -->
>>>> +
>>>> <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
>>>> +
>>>> +      <!-- Duplicate variable definition -->
>>>> +      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
>>>> +
>>>> +      <!-- ActionScript 3.0 iterates over an object's properties within
>>>> a
>>>> "for x in target" statement in random order. -->
>>>> +      <warn-for-var-in-changes>false</warn-for-var-in-changes>
>>>> +
>>>> +      <!-- Importing a package by the same name as the current class
>>>> will
>>>> hide that class identifier in this scope. -->
>>>> +      <warn-import-hides-class>true</warn-import-hides-class>
>>>> +
>>>> +      <!-- Use of the instanceof operator. -->
>>>> +      <warn-instance-of-changes>true</warn-instance-of-changes>
>>>> +
>>>> +      <!-- Internal error in compiler. -->
>>>> +      <warn-internal-error>true</warn-internal-error>
>>>> +
>>>> +      <!-- _level is no longer supported. For more information, see the
>>>> flash.display package. -->
>>>> +      <warn-level-not-supported>true</warn-level-not-supported>
>>>> +
>>>> +      <!-- Missing namespace declaration (e.g. variable is not defined
>>>> to be
>>>> public, private, etc.). -->
>>>> +      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
>>>> +
>>>> +      <!-- Negative value will become a large positive value when
>>>> assigned
>>>> to a uint data type. -->
>>>> +      <warn-negative-uint-literal>true</warn-negative-uint-literal>
>>>> +
>>>> +      <!-- Missing constructor. -->
>>>> +      <warn-no-constructor>false</warn-no-constructor>
>>>> +
>>>> +      <!-- The super() statement was not called within the constructor.
>>>> -->
>>>> +
>>>>
>>>> <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-cal
>>>> l-in-constructor>
>>>> +
>>>> +      <!-- Missing type declaration. -->
>>>> +      <warn-no-type-decl>true</warn-no-type-decl>
>>>> +
>>>> +      <!-- In ActionScript 3.0, white space is ignored and '' returns
>>>> 0.
>>>> Number() returns -->
>>>> +      <!-- NaN in ActionScript 2.0 when the parameter is '' or contains
>>>> white space.      -->
>>>> +
>>>> <warn-number-from-string-changes>false</warn-number-from-string-changes>
>>>> +
>>>> +      <!-- Change in scoping for the this keyword. Class methods
>>>> extracted
>>>> from an  -->
>>>> +      <!-- instance of a class will always resolve this back to that
>>>> instance. In   -->
>>>> +      <!-- ActionScript 2.0 this is looked up dynamically based on
>>>> where the
>>>> method -->
>>>> +      <!-- is invoked from.
>>>> -->
>>>> +      <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
>>>> +
>>>> +      <!-- Inefficient use of += on a TextField.-->
>>>> +
>>>> <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
>>>> +
>>>> +      <!-- Possible missing parentheses. -->
>>>> +      <warn-unlikely-function-value>true</warn-unlikely-function-value>
>>>> +
>>>> +      <!-- Possible usage of the ActionScript 2.0 XML class. -->
>>>> +      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
>>>> +
>>>> +   </compiler>
>>>> +
>>>> +   <!-- compute-digest: writes a digest to the catalog.xml of a
>>>> library. Use
>>>> this when the library will be used as a
>>>> +                        cross-domain rsl.-->
>>>> +   <!-- compute-digest usage:
>>>> +   <compute-digest>boolean</compute-digest>
>>>> +   -->
>>>> +
>>>> +   <!-- remove-unused-rsls: remove RSLs that are not being used by the
>>>> application-->
>>>> +   <remove-unused-rsls>true</remove-unused-rsls>
>>>> +
>>>> +   <!-- A list of runtime shared library URLs to be loaded before
>>>> applications start. -->
>>>> +   <!-- not set -->
>>>> +   <!--
>>>> +   <runtime-shared-libraries>
>>>> +      <url>string</url>
>>>> +      <url>string</url>
>>>> +   </runtime-shared-libraries>
>>>> +   -->
>>>> +
>>>> +       <!-- runtime-shared-library-path: specifies a SWC or directory
>>>> to
>>>> link against and an RSL URL to load with optional failover URLs -->
>>>> +      <!-- Framework SWC
>>>> +       <runtime-shared-library-path>
>>>> +               <path-element>libs/framework.swc</path-element>
>>>> +               <rsl-url>framework_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +       -->
>>>> +
>>>> +
>>>> +         <!-- TextLayout SWC -->
>>>> +       <!--
>>>> +           Even though there is no textLayout rsl leave this in so that
>>>> in a
>>>> FlashBuilder
>>>> +           Flex Library project, FlashBuilder will allow "Link Type" to
>>>> be
>>>> external.
>>>> +    <runtime-shared-library-path>
>>>> +               <path-element>libs/textLayout.swc</path-element>
>>>> +               <rsl-url>textLayout_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +    -->
>>>> +
>>>> +      <!-- Spark SWC
>>>> +       <runtime-shared-library-path>
>>>> +               <path-element>libs/spark.swc</path-element>
>>>> +               <rsl-url>spark_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +    -->
>>>> +      <!-- Sparkskins SWC
>>>> +       <runtime-shared-library-path>
>>>> +               <path-element>libs/sparkskins.swc</path-element>
>>>> +               <rsl-url>sparkskins_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +        -->
>>>> +         <!-- RPC SWC
>>>> +       <runtime-shared-library-path>
>>>> +               <path-element>libs/rpc.swc</path-element>
>>>> +               <rsl-url>rpc_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +        -->
>>>> +      <!-- Charts SWC
>>>> +       <runtime-shared-library-path>
>>>> +               <path-element>libs/charts.swc</path-element>
>>>> +               <rsl-url>charts_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +     -->
>>>> +      <!-- Spark_dmv SWC
>>>> +       <runtime-shared-library-path>
>>>> +               <path-element>libs/spark_dmv.swc</path-element>
>>>> +               <rsl-url>spark_dmv_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +    -->
>>>> +      <!-- OSMF SWC -->
>>>> +       <!--
>>>> +           Even though there is no OSMF rsl leave this in so that in a
>>>> FlashBuilder
>>>> +           Flex Library project, FlashBuilder will allow "Link Type" to
>>>> be
>>>> external.
>>>> +    <runtime-shared-library-path>
>>>> +               <path-element>libs/osmf.swc</path-element>
>>>> +               <rsl-url>osmf_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +    -->
>>>> +
>>>> +      <!-- MX SWC
>>>> +       <runtime-shared-library-path>
>>>> +               <path-element>libs/mx/mx.swc</path-element>
>>>> +               <rsl-url>mx_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +   -->
>>>> +      <!-- Advancedgrids SWC
>>>> +       <runtime-shared-library-path>
>>>> +               <path-element>libs/advancedgrids.swc</path-element>
>>>> +               <rsl-url>advancedgrids_4.9.0.1425567.swf</rsl-url>
>>>> +       </runtime-shared-library-path>
>>>> +       -->
>>>> +       <!-- static-link-runtime-shared-libraries: statically link the
>>>> libraries specified by the -runtime-shared-libraries-path option.-->
>>>> +
>>>>
>>>> <static-link-runtime-shared-libraries>true</static-link-runtime-shared-librar
>>>> ies>
>>>> +
>>>> +   <!-- target-player: specifies the version of the player the
>>>> application
>>>> is targeting.
>>>> +                       Features requiring a later version will not be
>>>> compiled into the application.
>>>> +                       The minimum value supported is "9.0.0".-->
>>>> +   <!-- target-player usage:
>>>> +   <target-player>version</target-player>
>>>> +   -->
>>>> +
>>>> +   <!-- Enables SWFs to access the network. -->
>>>> +   <use-network>true</use-network>
>>>> +
>>>> +   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
>>>> +   <metadata>
>>>> +      <title>Apache FlexJS Application</title>
>>>> +      <description>http://flex.apache.org/</description>
>>>> +      <publisher>Apache Software Foundation</publisher>
>>>> +      <creator>unknown</creator>
>>>> +      <language>EN</language>
>>>> +   </metadata>
>>>> +
>>>> +</flex-config>
>>>>
>>>> Added: flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-sd
>>>> k-description.xml?rev=1454452&view=auto
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> --- flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>> (added)
>>>> +++ flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>> Fri Mar
>>>> 8 16:37:12 2013
>>>> @@ -0,0 +1,25 @@
>>>> +<?xml version="1.0"?>
>>>> +<!--
>>>> +
>>>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>>>> +  contributor license agreements.  See the NOTICE file distributed with
>>>> +  this work for additional information regarding copyright ownership.
>>>> +  The ASF licenses this file to You under the Apache License, Version
>>>> 2.0
>>>> +  (the "License"); you may not use this file except in compliance with
>>>> +  the License.  You may obtain a copy of the License at
>>>> +
>>>> +      http://www.apache.org/licenses/LICENSE-2.0
>>>> +
>>>> +  Unless required by applicable law or agreed to in writing, software
>>>> +  distributed under the License is distributed on an "AS IS" BASIS,
>>>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>> implied.
>>>> +  See the License for the specific language governing permissions and
>>>> +  limitations under the License.
>>>> +
>>>> +-->
>>>> +<flex-sdk-description>
>>>> +<name>Apache FlexJS Prototype</name>
>>>> +<version>4.9.0</version>
>>>> +<build>1425567</build>
>>>> +</flex-sdk-description>
>>>> +
>>>> \ No newline at end of file
>>>>
>>>> Propchange:
>>>> flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>>
>>
>> ----------------------------------------------------------------------------->>
>> -
>>>>
>>>>     svn:eol-style = native
>>>>
>>>> Modified:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>> .as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>
>>>> /apache/flex/core/Application.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>> .as (original)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>>> .as Fri Mar  8 16:37:12 2013
>>>> @@ -34,7 +34,7 @@ package org.apache.flex.core
>>>>       */
>>>>      [Event(name="initialize", type="flash.events.Event")]
>>>>
>>>> -    public class Application extends Sprite implements IStrand
>>>> +    public class Application extends Sprite implements IStrand,
>>>> IFlexInfo
>>>>      {
>>>>          public function Application()
>>>>          {
>>>> @@ -53,6 +53,7 @@ package org.apache.flex.core
>>>>                 MXMLDataInterpreter.generateMXMLProperties(this,
>>>> MXMLProperties);
>>>>
>>>>              ValuesManager.valuesImpl = valuesImpl;
>>>> +            ValuesManager.valuesImpl.init(this);
>>>>
>>>>              dispatchEvent(new Event("initialize"));
>>>>
>>>> @@ -116,5 +117,10 @@ package org.apache.flex.core
>>>>              }
>>>>              return null;
>>>>          }
>>>> +
>>>> +        public function get info():Object
>>>> +        {
>>>> +            return {};
>>>> +        }
>>>>      }
>>>>  }
>>>> \ No newline at end of file
>>>>
>>>> Added:
>>>>
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
>> s
>>>>
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>> /apache/flex/core/IFlexInfo.as?rev=1454452&view=auto
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>>> s (added)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>>> s Fri Mar  8 16:37:12 2013
>>>> @@ -0,0 +1,29 @@
>>>>
>>>> +////////////////////////////////////////////////////////////////////////////
>>>> ////
>>>> +//
>>>> +//  Licensed to the Apache Software Foundation (ASF) under one or more
>>>> +//  contributor license agreements.  See the NOTICE file distributed
>>>> with
>>>> +//  this work for additional information regarding copyright ownership.
>>>> +//  The ASF licenses this file to You under the Apache License, Version
>>>> 2.0
>>>> +//  (the "License"); you may not use this file except in compliance
>>>> with
>>>> +//  the License.  You may obtain a copy of the License at
>>>> +//
>>>> +//      http://www.apache.org/licenses/LICENSE-2.0
>>>> +//
>>>> +//  Unless required by applicable law or agreed to in writing, software
>>>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>>>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>> implied.
>>>> +//  See the License for the specific language governing permissions and
>>>> +//  limitations under the License.
>>>> +//
>>>>
>>>> +////////////////////////////////////////////////////////////////////////////
>>>> ////
>>>> +package org.apache.flex.core
>>>> +{
>>>> +    /**
>>>> +     * An object of various properties and values that are not
>>>> otherwise
>>>> +     * linked in by hard class references, like styles, rsls, mixins.
>>>> +     */
>>>> +       public interface IFlexInfo
>>>> +       {
>>>> +               function get info():Object
>>>> +       }
>>>> +}
>>>> \ No newline at end of file
>>>>
>>>> Propchange:
>>>>
>>
>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
>> s
>>>>
>>>>
>>
>> ----------------------------------------------------------------------------->>
>> -
>>>>
>>>>     svn:eol-style = native
>>>>
>>>> Modified:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>> .as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>
>>>> /apache/flex/core/IValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>> .as (original)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>>> .as Fri Mar  8 16:37:12 2013
>>>> @@ -20,7 +20,8 @@ package org.apache.flex.core
>>>>  {
>>>>         public interface IValuesImpl
>>>>         {
>>>> -               function getValue(valueName:String):Object;
>>>> -               function setValue(valueName:String, value:Object):void;
>>>> +               function getValue(thisObject:Object,
>>>> valueName:String):Object;
>>>> +
>>>> +        function init(mainClass:Object):void;
>>>>         }
>>>>  }
>>>> \ No newline at end of file
>>>>
>>>> Added:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>> luesImpl.as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>> /apache/flex/core/SimpleCSSValuesImpl.as?rev=1454452&view=auto
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>> luesImpl.as (added)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>> luesImpl.as Fri Mar  8 16:37:12 2013
>>>> @@ -0,0 +1,180 @@
>>>>
>>>> +////////////////////////////////////////////////////////////////////////////
>>>> ////
>>>> +//
>>>> +//  Licensed to the Apache Software Foundation (ASF) under one or more
>>>> +//  contributor license agreements.  See the NOTICE file distributed
>>>> with
>>>> +//  this work for additional information regarding copyright ownership.
>>>> +//  The ASF licenses this file to You under the Apache License, Version
>>>> 2.0
>>>> +//  (the "License"); you may not use this file except in compliance
>>>> with
>>>> +//  the License.  You may obtain a copy of the License at
>>>> +//
>>>> +//      http://www.apache.org/licenses/LICENSE-2.0
>>>> +//
>>>> +//  Unless required by applicable law or agreed to in writing, software
>>>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>>>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>>>> implied.
>>>> +//  See the License for the specific language governing permissions and
>>>> +//  limitations under the License.
>>>> +//
>>>>
>>>> +////////////////////////////////////////////////////////////////////////////
>>>> ////
>>>> +package org.apache.flex.core
>>>> +{
>>>> +       import flash.events.EventDispatcher;
>>>> +       import flash.events.IEventDispatcher;
>>>> +       import flash.system.ApplicationDomain;
>>>> +       import flash.utils.getQualifiedClassName;
>>>> +
>>>> +       import org.apache.flex.events.ValueChangeEvent;
>>>> +
>>>> +       public class SimpleCSSValuesImpl extends EventDispatcher
>>>> implements
>>>> IValuesImpl
>>>> +       {
>>>> +               public function SimpleCSSValuesImpl()
>>>> +               {
>>>> +                       super();
>>>> +               }
>>>> +
>>>> +        public function init(mainClass:Object):void
>>>> +        {
>>>> +            var mainClassName:String =
>>>> getQualifiedClassName(mainClass);
>>>> +            var styleClassName:String = "_" + mainClassName +
>>>> "_Styles";
>>>> +            var c:Class =
>>>> ApplicationDomain.currentDomain.getDefinition(styleClassName) as Class;
>>>> +            values = {};
>>>> +            generateCSSStyleDeclarations(c["factoryFunctions"],
>>>> c["data"]);
>>>> +        }
>>>> +
>>>> +        public function
>>>> generateCSSStyleDeclarations(factoryFunctions:Object, arr:Array):void
>>>> +        {
>>>> +            var declarationName:String = "";
>>>> +            var segmentName:String = "";
>>>> +            var n:int = arr.length;
>>>> +            for (var i:int = 0; i < n; i++)
>>>> +            {
>>>> +                var className:int = arr[i];
>>>> +                if (className == CSSClass.CSSSelector)
>>>> +                {
>>>> +                    var selectorName:String = arr[++i];
>>>> +                    segmentName = selectorName + segmentName;
>>>> +                    if (declarationName != "")
>>>> +                        declarationName += " ";
>>>> +                    declarationName += segmentName;
>>>> +                    segmentName = "";
>>>> +                }
>>>> +                else if (className == CSSClass.CSSCondition)
>>>> +                {
>>>> +                    // not supported
>>>> +                }
>>>> +                else if (className == CSSClass.CSSStyleDeclaration)
>>>> +                {
>>>> +                    var factoryName:int = arr[++i]; // defaultFactory
>>>> or
>>>> factory
>>>> +                    var defaultFactory:Boolean = factoryName ==
>>>> CSSFactory.DefaultFactory;
>>>> +                    /*
>>>> +                    if (defaultFactory)
>>>> +                    {
>>>> +                        mergedStyle =
>>>> styleManager.getMergedStyleDeclaration(declarationName);
>>>> +                        style = new CSSStyleDeclaration(selector,
>>>> styleManager, mergedStyle == null);
>>>> +                    }
>>>> +                    else
>>>> +                    {
>>>> +                        style =
>>>> styleManager.getStyleDeclaration(declarationName);
>>>> +                        if (!style)
>>>> +                        {
>>>> +                            style = new CSSStyleDeclaration(selector,
>>>> styleManager, mergedStyle == null);
>>>> +                            if (factoryName == CSSFactory.Override)
>>>> +                                newSelectors.push(style);
>>>> +                        }
>>>> +                    }
>>>> +                    */
>>>> +                    var finalName:String;
>>>> +                    var valuesFunction:Function;
>>>> +                    var valuesObject:Object;
>>>> +                    if (defaultFactory)
>>>> +                    {
>>>> +                        valuesFunction =
>>>> factoryFunctions[declarationName];
>>>> +                        valuesObject = new valuesFunction();
>>>> +                        finalName = fixNames(declarationName);
>>>> +                        values[finalName] = valuesObject;
>>>> +                    }
>>>> +                    else
>>>> +                    {
>>>> +                        valuesFunction =
>>>> factoryFunctions[declarationName];
>>>> +                        valuesObject = new valuesFunction();
>>>> +                        var o:Object = values[declarationName];
>>>> +                        finalName = fixNames(declarationName);
>>>> +                        if (o == null)
>>>> +                            values[finalName] = valuesObject;
>>>> +                        else
>>>> +                        {
>>>> +                            valuesFunction.prototype = o;
>>>> +                            values[finalName] = new valuesFunction();
>>>> +                        }
>>>> +                    }
>>>> +                    declarationName = "";
>>>> +                }
>>>> +            }
>>>> +
>>>> +        }
>>>> +
>>>> +        private function fixNames(s:String):String
>>>> +        {
>>>> +            var arr:Array = s.split(" ");
>>>> +            var n:int = arr.length;
>>>> +            for (var i:int = 0; i < n; i++)
>>>> +            {
>>>> +                var segmentName:String = arr[i];
>>>> +                var c:int = segmentName.lastIndexOf(".");
>>>> +                if (c != -1)
>>>> +                {
>>>> +                    segmentName = segmentName.substr(0, c) + "::" +
>>>> segmentName.substr(c + 1);
>>>> +                    arr[i] = segmentName;
>>>> +                }
>>>> +            }
>>>> +            return arr.join(" ");
>>>> +        }
>>>> +
>>>> +        public var values:Object;
>>>> +
>>>> +               public function getValue(thisObject:Object,
>>>> valueName:String):Object
>>>> +               {
>>>> +            var className:String = getQualifiedClassName(thisObject);
>>>> +            var o:Object = values[className];
>>>> +            var value:*;
>>>> +            if (o)
>>>> +            {
>>>> +                value = o[valueName];
>>>> +                if (value !== undefined)
>>>> +                    return value;
>>>> +            }
>>>> +            o = values["global"];
>>>> +                       return o[valueName];
>>>> +               }
>>>> +
>>>> +               public function setValue(thisObject:Object,
>>>> valueName:String,
>>>> value:Object):void
>>>> +               {
>>>> +                       var oldValue:Object = values[valueName];
>>>> +                       if (oldValue != value)
>>>> +                       {
>>>> +                               values[valueName] = value;
>>>> +                               dispatchEvent(new
>>>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false, oldValue,
>>>> value));
>>>> +                       }
>>>> +               }
>>>> +       }
>>>> +}
>>>> +
>>>> +class CSSClass
>>>> +{
>>>> +    public static const CSSSelector:int = 0;
>>>> +    public static const CSSCondition:int = 1;
>>>> +    public static const CSSStyleDeclaration:int = 2;
>>>> +}
>>>> +
>>>> +class CSSFactory
>>>> +{
>>>> +    public static const DefaultFactory:int = 0;
>>>> +    public static const Factory:int = 1;
>>>> +    public static const Override:int = 2;
>>>> +}
>>>> +
>>>> +class CSSDataType
>>>> +{
>>>> +    public static const Native:int = 0;
>>>> +    public static const Definition:int = 1;
>>>> +}
>>>>
>>>> Propchange:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>>> luesImpl.as
>>>>
>>
>> ----------------------------------------------------------------------------->>
>> -
>>>>
>>>>     svn:eol-style = native
>>>>
>>>> Modified:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>> sImpl.as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>
>>>> /apache/flex/core/SimpleValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=
>>>> diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>> sImpl.as (original)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>>> sImpl.as Fri Mar  8 16:37:12 2013
>>>> @@ -32,12 +32,12 @@ package org.apache.flex.core
>>>>
>>>>                 public var values:Object;
>>>>
>>>> -               public function getValue(valueName:String):Object
>>>> +               public function getValue(thisObject:Object,
>>>> valueName:String):Object
>>>>                 {
>>>>                         return values[valueName];
>>>>                 }
>>>>
>>>> -               public function setValue(valueName:String,
>>>> value:Object):void
>>>> +               public function setValue(thisObject:Object,
>>>> valueName:String,
>>>> value:Object):void
>>>>                 {
>>>>                         var oldValue:Object = values[valueName];
>>>>                         if (oldValue != value)
>>>> @@ -46,5 +46,10 @@ package org.apache.flex.core
>>>>                                 dispatchEvent(new
>>>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false, oldValue,
>>>> value));
>>>>                         }
>>>>                 }
>>>> +
>>>> +        public function init(mainClass:Object):void
>>>> +        {
>>>> +            // do nothing
>>>> +        }
>>>>         }
>>>>  }
>>>> \ No newline at end of file
>>>>
>>>> Modified:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/CheckBox.as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>
>>>> /apache/flex/html/staticControls/CheckBox.as?rev=1454452&r1=1454451&r2=145445
>>>> 2&view=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/CheckBox.as (original)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/CheckBox.as Fri Mar  8 16:37:12 2013
>>>> @@ -63,13 +63,13 @@ package org.apache.flex.html.staticContr
>>>>                 public function initModel():void
>>>>                 {
>>>>                         if (getBeadByType(IToggleButtonModel) == null)
>>>> -                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue("IToggleButtonModel")) as IBead);
>>>> +                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue(this, "iToggleButtonModel")) as
>>>> IBead);
>>>>                 }
>>>>
>>>>                 public function initSkin():void
>>>>                 {
>>>>                         if (getBeadByType(ICheckBoxBead) == null)
>>>> -                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue("ICheckBoxBead")) as IBead);
>>>> +                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue(this, "iCheckBoxBead")) as IBead);
>>>>
>>>>                         _width = $width;
>>>>                         _height = $height;
>>>>
>>>> Modified:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/Label.as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>
>>>> /apache/flex/html/staticControls/Label.as?rev=1454452&r1=1454451&r2=1454452&v
>>>> iew=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/Label.as (original)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/Label.as Fri Mar  8 16:37:12 2013
>>>> @@ -60,13 +60,13 @@ package org.apache.flex.html.staticContr
>>>>                 override public function initModel():void
>>>>                 {
>>>>                         if (getBeadByType(ITextModel) == null)
>>>> -                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>>>> +                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>>>                 }
>>>>
>>>>                 public function initSkin():void
>>>>                 {
>>>>                         if (getBeadByType(ITextBead) == null)
>>>> -                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue("ITextBead")) as IBead);
>>>> +                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue(this, "iTextBead")) as IBead);
>>>>                 }
>>>>         }
>>>>  }
>>>> \ No newline at end of file
>>>>
>>>> Modified:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/List.as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>
>>>> /apache/flex/html/staticControls/List.as?rev=1454452&r1=1454451&r2=1454452&vi
>>>> ew=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/List.as (original)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/List.as Fri Mar  8 16:37:12 2013
>>>> @@ -82,7 +82,7 @@ package org.apache.flex.html.staticContr
>>>>                 override public function initModel():void
>>>>                 {
>>>>              if (getBeadByType(ISelectionModel) == null)
>>>> -                addBead(new
>>>> (ValuesManager.valuesImpl.getValue("ISelectionModel")) as IBead);
>>>> +                addBead(new (ValuesManager.valuesImpl.getValue(this,
>>>> "iSelectionModel")) as IBead);
>>>>                 }
>>>>
>>>>                 public function initSkin():void
>>>>
>>>> Modified:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/RadioButton.as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>
>>>> /apache/flex/html/staticControls/RadioButton.as?rev=1454452&r1=1454451&r2=145
>>>> 4452&view=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/RadioButton.as (original)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/RadioButton.as Fri Mar  8 16:37:12 2013
>>>> @@ -112,13 +112,13 @@ package org.apache.flex.html.staticContr
>>>>                 public function initModel():void
>>>>                 {
>>>>                         if (getBeadByType(IValueToggleButtonModel) ==
>>>> null)
>>>> -                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue("IValueToggleButtonModel")) as
>>>> IBead);
>>>> +                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue(this, "iValueToggleButtonModel")) as
>>>> IBead);
>>>>                 }
>>>>
>>>>                 public function initSkin():void
>>>>                 {
>>>>                         if (getBeadByType(IRadioButtonBead) == null)
>>>> -                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue("IRadioButtonBead")) as IBead);
>>>> +                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue(this, "iRadioButtonBead")) as IBead);
>>>>
>>>>                         _width = $width;
>>>>                         _height = $height;
>>>>
>>>> Modified:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/TextArea.as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>
>>>> /apache/flex/html/staticControls/TextArea.as?rev=1454452&r1=1454451&r2=145445
>>>> 2&view=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/TextArea.as (original)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/TextArea.as Fri Mar  8 16:37:12 2013
>>>> @@ -54,7 +54,7 @@ package org.apache.flex.html.staticContr
>>>>                 override public function initModel():void
>>>>                 {
>>>>                         if (getBeadByType(ITextModel) == null)
>>>> -                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>>>> +                               addBead(new
>>>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>>>                 }
>>>>
>>>>                 public function initSkin():void
>>>>
>>>> Modified:
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/TextButton.as
>>>> URL:
>>>>
>>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>>>
>>>> /apache/flex/html/staticControls/TextButton.as?rev=1454452&r1=1454451&r2=1454
>>>> 452&view=diff
>>>>
>>
>> =============================================================================>>
>> =
>>>>
>>>> ---
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/TextButton.as (original)
>>>> +++
>>>>
>>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>>> ols/TextButton.as Fri Mar  8 16:37:12 2013



--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Re: svn commit: r1454452 - in /flex/asjs/branches/develop: examples/FlexJSTest_again/ frameworks/as/ frameworks/as/fb/ frameworks/as/src/org/apache/flex/core/ frameworks/as/src/org/apache/flex/html/staticControls/ frameworks/js/FlexJS/src/org/apache/fl...

Posted by Michael Schmalle <ap...@teotigraphix.com>.
I will add my 2 cents here;

If multiple tree walks are necessary, then there will need to be an  
intermediate model created when Erik is walking the tree. As it  
stands, I "think" Erik is generating the source code on the traverse.  
To allow a 2 pass system, there needs to be an intermediary model that  
can be updated, then the source code emitter uses pieces of that model  
to actually generate the code.

What do you think Erik? You are generating the code in one shot correct?

I had to do something along these lines with the AMD emitter to get  
dependencies but, I use place holders so I didn't do a double traverse.

Quoting Alex Harui <ah...@adobe.com>:

> As soon as you're done and FalconJX can compile and run the FlexJSTest_again
> example, I will cut over to FalconJX.  I had to keep working in FalconJS
> because I couldn't wait for FalconJX.  There are some immediate
> opportunities for me to promote the FlexJS work internally that can help
> ensure I get to continue on with Apache Flex and I need a kit that folks can
> play with now.
>
> I don't have any work scheduled for FalconJS for a while (other than bug
> fixes).  This checkin was for the AS-side where the primary goal was to use
> CSS to manage the configuration of the beads.  I'm not quite sure how we're
> going to handle CSS on the JS-side.   The JS side has no beads right now
> because we're just thinly wrapping existing HTML controls. The AS side is
> using beads to maximize code-reuse when building up the AS emulations of
> these HTML controls.  So, I'm not going to be doing any work in compiler.js
> to try to support CSS on the JS side right now.  Neither side currently
> supports CSS for other visual styling (font-family, etc).  I can wait for
> FalconJX for that.
>
> Next week I plan to look into how data-binding syntax is handled.  Right now
> {} syntax is not supported in FlexJS on either the AS or JS side.  There are
> databinding beads you can use for now, but I think folks still love the
> curly braces so I need to muck with that codegen on the AS side first.  It
> will be enlightening to see how databinding codegen works in regular Falcon
> so we can think about how it will work in FalconJX.  In MXMLC it was a
> multiple-pass process.  I want to understand it better so we know if we need
> to support multiple tree walks and tree mucking in FalconJX.
>
> -Alex
>
> On 3/8/13 8:50 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>
>> Alex,
>>
>> I'm nearly done with MXML support for FlexJS in FalconJx. As it seems
>> to be the consensus that we'll move FlexJS to FalconJx, isn't it maybe
>> an idea not to do too much work on FalconJS, as we will have to
>> duplicate that effort in FalconJx?
>>
>> EdB
>>
>>
>>
>> On Fri, Mar 8, 2013 at 5:37 PM,  <ah...@apache.org> wrote:
>>> Author: aharui
>>> Date: Fri Mar  8 16:37:12 2013
>>> New Revision: 1454452
>>>
>>> URL: http://svn.apache.org/r1454452
>>> Log:
>>> Add defaults.css handling
>>>
>>> Added:
>>>     flex/asjs/branches/develop/frameworks/as/defaults.css   (with props)
>>>     flex/asjs/branches/develop/frameworks/as/fb/
>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug Build).launch
>>> (with props)
>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>> Build).launch   (with props)
>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>> Build).launch   (with props)
>>>     flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release  
>>> Build).launch
>>> (with props)
>>>     flex/asjs/branches/develop/frameworks/as/flex-config.xml
>>>      
>>> flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml   
>>>  (with
>>> props)
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>> s   (with props)
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>> luesImpl.as   (with props)
>>> Removed:
>>>
>>> flex/asjs/branches/develop/examples/FlexJSTest_again/MySimpleValuesImpl.as
>>>
>>> flex/asjs/branches/develop/frameworks/js/FlexJS/src/org/apache/flex/html/stat
>>> icControls/beads/
>>> Modified:
>>>     flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>>     flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>>     flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>> .as
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>> .as
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>> sImpl.as
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/CheckBox.as
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/Label.as
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/List.as
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/RadioButton.as
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextArea.as
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextButton.as
>>>
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextInput.as
>>>
>>> Modified:
>>> flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/examples/FlexJSTest_a
>>> gain/FlexJSTest.mxml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>
> =============================================================================>>
> =
>>> --- flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml
>>> (original)
>>> +++  
>>> flex/asjs/branches/develop/examples/FlexJSTest_again/FlexJSTest.mxml  
>>> Fri
>>> Mar  8 16:37:12 2013
>>> @@ -25,7 +25,7 @@ limitations under the License.
>>>
>>> initialize="MyModel(model).labelText='Hello World'"
>>>>
>>>         <basic:valuesImpl>
>>> -               <local:MySimpleValuesImpl />
>>> +               <basic:SimpleCSSValuesImpl />
>>>         </basic:valuesImpl>
>>>         <basic:initialView>
>>>                 <local:MyInitialView />
>>>
>>> Modified: flex/asjs/branches/develop/frameworks/as/basic-manifest.xml
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/basic-m
>>> anifest.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>
> =============================================================================>>
> =
>>> --- flex/asjs/branches/develop/frameworks/as/basic-manifest.xml (original)
>>> +++ flex/asjs/branches/develop/frameworks/as/basic-manifest.xml Fri Mar  8
>>> 16:37:12 2013
>>> @@ -23,6 +23,7 @@
>>>
>>>      <component id="Application" class="org.apache.flex.core.Application"/>
>>>      <component id="SimpleValuesImpl"
>>> class="org.apache.flex.core.SimpleValuesImpl"/>
>>> +    <component id="SimpleCSSValuesImpl"
>>> class="org.apache.flex.core.SimpleCSSValuesImpl"/>
>>>      <component id="ViewBase" class="org.apache.flex.core.ViewBase"/>
>>>      <component id="ConstantBinding"
>>> class="org.apache.flex.binding.ConstantBinding"/>
>>>      <component id="SimpleBinding"
>>> class="org.apache.flex.binding.SimpleBinding"/>
>>>
>>> Modified: flex/asjs/branches/develop/frameworks/as/compile-config.xml
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/compile
>>> -config.xml?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>
> =============================================================================>>
> =
>>> --- flex/asjs/branches/develop/frameworks/as/compile-config.xml (original)
>>> +++ flex/asjs/branches/develop/frameworks/as/compile-config.xml Fri Mar  8
>>> 16:37:12 2013
>>> @@ -43,6 +43,11 @@
>>>          <warn-no-constructor>false</warn-no-constructor>
>>>      </compiler>
>>>
>>> +    <include-file>
>>> +        <name>defaults.css</name>
>>> +        <path>defaults.css</path>
>>> +    </include-file>
>>> +
>>>      <include-classes>
>>>          <class>FlexJSUIClasses</class>
>>>      </include-classes>
>>>
>>> Added: flex/asjs/branches/develop/frameworks/as/defaults.css
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/default
>>> s.css?rev=1454452&view=auto
>>>
> =============================================================================>>
> =
>>> --- flex/asjs/branches/develop/frameworks/as/defaults.css (added)
>>> +++ flex/asjs/branches/develop/frameworks/as/defaults.css Fri Mar   
>>> 8 16:37:12
>>> 2013
>>> @@ -0,0 +1,55 @@
>>> +/*
>>> + *
>>> + *  Licensed to the Apache Software Foundation (ASF) under one or more
>>> + *  contributor license agreements.  See the NOTICE file distributed with
>>> + *  this work for additional information regarding copyright ownership.
>>> + *  The ASF licenses this file to You under the Apache License,  
>>> Version 2.0
>>> + *  (the "License"); you may not use this file except in compliance with
>>> + *  the License.  You may obtain a copy of the License at
>>> + *
>>> + *      http://www.apache.org/licenses/LICENSE-2.0
>>> + *
>>> + *  Unless required by applicable law or agreed to in writing, software
>>> + *  distributed under the License is distributed on an "AS IS" BASIS,
>>> + *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express  
>>> or implied.
>>> + *  See the License for the specific language governing permissions and
>>> + *  limitations under the License.
>>> + *
>>> + */
>>> +
>>> +@namespace "library://ns.apache.org/flexjs/basic";
>>> +
>>> +/* Global style declaration */
>>> +global
>>> +{
>>> +    ITextBead:
>>> ClassReference("org.apache.flex.html.staticControls.beads.TextFieldBead");
>>> +    ITextModel:
>>> ClassReference("org.apache.flex.html.staticControls.beads.models.TextModel");
>>> +
>>> +}
>>> +
>>> +CheckBox
>>> +{
>>> +    IToggleButtonModel:
>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>>> Model");
>>> +    ICheckBoxBead:
>>> ClassReference("org.apache.flex.html.staticControls.beads.CheckBoxBead");
>>> +}
>>> +
>>> +List
>>> +{
>>> +    ISelectionModel:
>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ArraySelecti
>>> onModel");
>>> +}
>>> +
>>> +RadioButton
>>> +{
>>> +    IToggleButtonModel:
>>> ClassReference("org.apache.flex.html.staticControls.beads.models.ToggleButton
>>> Model");
>>> +    IRadioButtonBead:
>>> ClassReference("org.apache.flex.html.staticControls.beads.RadioButtonBead");
>>> +}
>>> +
>>> +TextButton
>>> +{
>>> +       ITextButtonBead:
>>> ClassReference("org.apache.flex.html.staticControls.beads.TextButtonBead");
>>> +}
>>> +
>>> +TextInput
>>> +{
>>> +    ITextInputBead:
>>> ClassReference("org.apache.flex.html.staticControls.beads.TextInputWithBorder
>>> Bead");
>>> +}
>>>
>>> Propchange: flex/asjs/branches/develop/frameworks/as/defaults.css
>>>
> ----------------------------------------------------------------------------->>
> -
>>>     svn:eol-style = native
>>>
>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>> Build).launch
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>> JS%20%28Debug%20Build%29.launch?rev=1454452&view=auto
>>>
> =============================================================================>>
> =
>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug Build).launch
>>> (added)
>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug Build).launch
>>> Fri Mar  8 16:37:12 2013
>>> @@ -0,0 +1,10 @@
>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>> +<launchConfiguration
>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>> +<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables"
>>> value="false"/>
>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>> +</listAttribute>
>>> +<stringAttribute
>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>> value="${project}"/>
>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>> ava"/>
>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data -debug
>>> -output=&quot;${project_loc}/bin-debug/${project_name}.swf&quot;
>>> &quot;${resource_loc}&quot;"/>
>>> +</launchConfiguration>
>>>
>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Debug
>>> Build).launch
>>>
> ----------------------------------------------------------------------------->>
> -
>>>     svn:eol-style = native
>>>
>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>> Build).launch
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>> JS%20%28FalconJS%20Debug%20Build%29.launch?rev=1454452&view=auto
>>>
> =============================================================================>>
> =
>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>> Build).launch (added)
>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Debug
>>> Build).launch Fri Mar  8 16:37:12 2013
>>> @@ -0,0 +1,13 @@
>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>> +<launchConfiguration
>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>>> +<mapEntry key="FLEXJS_HOME"
>>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>>> rc"/>
>>> +<mapEntry key="GOOG_HOME"
>>> value="/Applications/GoogleClosure/library/closure/goog"/>
>>> +</mapAttribute>
>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>> +</listAttribute>
>>> +<stringAttribute
>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>> value="${project}"/>
>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>> ava"/>
>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data -debug
>>> -output=&quot;${project_loc}/binjs-debug/${project_name}.js&quot;
>>> &quot;${resource_loc}&quot;"/>
>>> +</launchConfiguration>
>>>
>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>> Debug Build).launch
>>>
> ----------------------------------------------------------------------------->>
> -
>>>     svn:eol-style = native
>>>
>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>> Build).launch
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>> JS%20%28FalconJS%20Release%20Build%29.launch?rev=1454452&view=auto
>>>
> =============================================================================>>
> =
>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>> Build).launch (added)
>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS Release
>>> Build).launch Fri Mar  8 16:37:12 2013
>>> @@ -0,0 +1,13 @@
>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>> +<launchConfiguration
>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>> +<mapAttribute key="org.eclipse.debug.core.environmentVariables">
>>> +<mapEntry key="FLEXJS_HOME"
>>> value="/Users/aharui/Work/apache/asjs/branches/develop/frameworks/js/FlexJS/s
>>> rc"/>
>>> +<mapEntry key="GOOG_HOME"
>>> value="/Applications/GoogleClosure/library/closure/goog"/>
>>> +</mapAttribute>
>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>> +</listAttribute>
>>> +<stringAttribute
>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>> value="${project}"/>
>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>> ava"/>
>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>> ${FLEX_HOME}/js/lib/mxmlc.jar -compiler.mxml.children-as-data
>>> -output=&quot;${project_loc}/binjs-release/${project_name}.js&quot;
>>> &quot;${resource_loc}&quot;"/>
>>> +</launchConfiguration>
>>>
>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (FalconJS
>>> Release Build).launch
>>>
> ----------------------------------------------------------------------------->>
> -
>>>     svn:eol-style = native
>>>
>>> Added: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>> Build).launch
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/fb/Flex
>>> JS%20%28Release%20Build%29.launch?rev=1454452&view=auto
>>>
> =============================================================================>>
> =
>>> --- flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release  
>>> Build).launch
>>> (added)
>>> +++ flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release  
>>> Build).launch
>>> Fri Mar  8 16:37:12 2013
>>> @@ -0,0 +1,9 @@
>>> +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>> +<launchConfiguration
>>> type="org.eclipse.ui.externaltools.ProgramLaunchConfigurationType">
>>> +<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
>>> +<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
>>> +</listAttribute>
>>> +<stringAttribute
>>> key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE"
>>> value="${project}"/>
>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION"
>>> value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/j
>>> ava"/>
>>> +<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"
>>> value="-Xmx384m -Dsun.io.useCanonCaches=false
>>> -Dflexcompiler=&quot;${FLEX_HOME}&quot;
>>> -Dflexlib=&quot;${FLEX_HOME}/frameworks&quot; -jar
>>> ${FLEX_HOME}/lib/falcon-mxmlc.jar -compiler.mxml.children-as-data
>>> -output=&quot;${project_loc}/bin-release/${project_name}.swf&quot;
>>> &quot;${resource_loc}&quot;"/>
>>> +</launchConfiguration>
>>>
>>> Propchange: flex/asjs/branches/develop/frameworks/as/fb/FlexJS (Release
>>> Build).launch
>>>
> ----------------------------------------------------------------------------->>
> -
>>>     svn:eol-style = native
>>>
>>> Added: flex/asjs/branches/develop/frameworks/as/flex-config.xml
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-co
>>> nfig.xml?rev=1454452&view=auto
>>>
> =============================================================================>>
> =
>>> --- flex/asjs/branches/develop/frameworks/as/flex-config.xml (added)
>>> +++ flex/asjs/branches/develop/frameworks/as/flex-config.xml Fri Mar  8
>>> 16:37:12 2013
>>> @@ -0,0 +1,426 @@
>>> +<?xml version="1.0"?>
>>> +
>>> +<!--
>>> +
>>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>>> +  contributor license agreements.  See the NOTICE file distributed with
>>> +  this work for additional information regarding copyright ownership.
>>> +  The ASF licenses this file to You under the Apache License, Version 2.0
>>> +  (the "License"); you may not use this file except in compliance with
>>> +  the License.  You may obtain a copy of the License at
>>> +
>>> +      http://www.apache.org/licenses/LICENSE-2.0
>>> +
>>> +  Unless required by applicable law or agreed to in writing, software
>>> +  distributed under the License is distributed on an "AS IS" BASIS,
>>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>>> +  See the License for the specific language governing permissions and
>>> +  limitations under the License.
>>> +
>>> +-->
>>> +
>>> +
>>> +<flex-config>
>>> +    <!-- Specifies the minimum player version that will run the compiled
>>> SWF. -->
>>> +   <target-player>11.1</target-player>
>>> +
>>> +    <!-- Specifies the version of the compiled SWF -->
>>> +   <swf-version>14</swf-version>
>>> +
>>> +   <compiler>
>>> +
>>> +      <!-- Turn on generation of accessible SWFs. -->
>>> +      <accessible>true</accessible>
>>> +
>>> +      <!-- Specifies the locales for internationalization. -->
>>> +      <locale>
>>> +          <locale-element>en_US</locale-element>
>>> +      </locale>
>>> +
>>> +      <!-- List of path elements that form the roots of ActionScript class
>>> hierarchies. -->
>>> +      <!-- not set -->
>>> +      <!--
>>> +      <source-path>
>>> +         <path-element>string</path-element>
>>> +      </source-path>
>>> +      -->
>>> +
>>> +     <!-- Allow the source-path to have path-elements which contain other
>>> path-elements -->
>>> +     <allow-source-path-overlap>false</allow-source-path-overlap>
>>> +
>>> +      <!-- Run the AS3 compiler in a mode that detects legal but  
>>> potentially
>>> incorrect -->
>>> +      <!-- code.
>>> -->
>>> +      <show-actionscript-warnings>true</show-actionscript-warnings>
>>> +
>>> +      <!-- Turn on generation of debuggable SWFs. False by default for
>>> mxmlc, -->
>>> +      <!-- but true by default for compc. -->
>>> +      <!--
>>> +      <debug>true</debug>
>>> +      -->
>>> +
>>> +      <!-- List of SWC files or directories to compile against but to omit
>>> from -->
>>> +      <!-- linking.
>>> -->
>>> +      <external-library-path>
>>> +
>>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>>> n}/playerglobal.swc</path-element>
>>> +      </external-library-path>
>>> +
>>> +      <!-- Turn on writing of generated/*.as files to disk. These  
>>> files are
>>> generated by -->
>>> +      <!-- the compiler during mxml translation and are helpful with
>>> understanding and   -->
>>> +      <!-- debugging Flex applications.
>>> -->
>>> +      <keep-generated-actionscript>false</keep-generated-actionscript>
>>> +
>>> +      <!-- not set -->
>>> +      <!--
>>> +      <include-libraries>
>>> +         <library>string</library>
>>> +      </include-libraries>
>>> +      -->
>>> +
>>> +      <!-- List of SWC files or directories that contain SWC files. -->
>>> +      <library-path>
>>> +         <path-element>libs</path-element>
>>> +         <path-element>locale/en_US</path-element>
>>> +
>>> <path-element>libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersio
>>> n}</path-element>
>>> +      </library-path>
>>> +
>>> +      <namespaces>
>>> +      <!-- Specify a URI to associate with a manifest of  
>>> components for use
>>> as MXML -->
>>> +      <!-- elements.
>>> -->
>>> +         <namespace>
>>> +            <uri>library://ns.apache.org/flexjs/basic</uri>
>>> +            <manifest>basic-manifest.xml</manifest>
>>> +         </namespace>
>>> +      </namespaces>
>>> +
>>> +      <!-- Enable post-link SWF optimization. -->
>>> +      <optimize>true</optimize>
>>> +
>>> +      <!-- Enable trace statement omission. -->
>>> +      <omit-trace-statements>true</omit-trace-statements>
>>> +
>>> +      <!-- Keep the following AS3 metadata in the bytecodes.
>>> -->
>>> +      <!-- Warning: For the data binding feature in the Flex framework to
>>> work properly,                 -->
>>> +      <!--          the following metadata must be kept:
>>> -->
>>> +      <!--          1. Bindable
>>> -->
>>> +      <!--          2. Managed
>>> -->
>>> +      <!--          3. ChangeEvent
>>> -->
>>> +      <!--          4. NonCommittingChangeEvent
>>> -->
>>> +      <!--          5. Transient
>>> -->
>>> +      <!--
>>> +      <keep-as3-metadata>
>>> +          <name>Bindable</name>
>>> +          <name>Managed</name>
>>> +          <name>ChangeEvent</name>
>>> +          <name>NonCommittingChangeEvent</name>
>>> +          <name>Transient</name>
>>> +      </keep-as3-metadata>
>>> +      -->
>>> +
>>> +      <!-- Turn on reporting of data binding warnings. For  
>>> example: Warning:
>>> Data binding -->
>>> +      <!-- will not be able to detect assignments to "foo".
>>> -->
>>> +      <show-binding-warnings>true</show-binding-warnings>
>>> +
>>> +      <!-- toggle whether warnings generated from unused type  
>>> selectors are
>>> displayed -->
>>> +
>>> <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
>>> +
>>> +      <!-- Run the AS3 compiler in strict error checking mode. -->
>>> +      <strict>true</strict>
>>> +
>>> +      <!-- Use the ActionScript 3 class based object model for greater
>>> performance and better error reporting. -->
>>> +      <!-- In the class based object model most built-in functions are
>>> implemented as fixed methods of classes -->
>>> +      <!-- (-strict is recommended, but not required, for earlier errors)
>>> -->
>>> +      <as3>true</as3>
>>> +
>>> +      <!-- Use the ECMAScript edition 3 prototype based object model to
>>> allow dynamic overriding of prototype -->
>>> +      <!-- properties. In the prototype based object model built-in
>>> functions are implemented as dynamic      -->
>>> +      <!-- properties of prototype objects (-strict is allowed, but may
>>> result in compiler errors for         -->
>>> +      <!-- references to dynamic properties) -->
>>> +      <es>false</es>
>>> +
>>> +      <!-- List of CSS or SWC files to apply as a theme. -->
>>> +      <theme>
>>> +      </theme>
>>> +
>>> +      <!-- Turns on the display of stack traces for uncaught  
>>> runtime errors.
>>> -->
>>> +      <verbose-stacktraces>false</verbose-stacktraces>
>>> +
>>> +      <!-- Defines the AS3 file encoding. -->
>>> +      <!-- not set -->
>>> +      <!--
>>> +      <actionscript-file-encoding></actionscript-file-encoding>
>>> +      -->
>>> +
>>> +      <fonts>
>>> +
>>> +          <!-- Enables advanced anti-aliasing for embedded fonts, which
>>> provides greater clarity for small -->
>>> +          <!-- fonts. This setting can be overriden in CSS for specific
>>> fonts. -->
>>> +          <!-- NOTE: flash-type has been deprecated. Please use
>>> advanced-anti-aliasing <flash-type>true</flash-type> -->
>>> +          <advanced-anti-aliasing>true</advanced-anti-aliasing>
>>> +
>>> +          <!-- The number of embedded font faces that are cached. -->
>>> +          <max-cached-fonts>20</max-cached-fonts>
>>> +
>>> +          <!-- The number of character glyph outlines to cache  
>>> for each font
>>> face. -->
>>> +          <max-glyphs-per-face>1000</max-glyphs-per-face>
>>> +
>>> +          <!-- Defines ranges that can be used across multiple font-face
>>> declarations. -->
>>> +          <!-- See flash-unicode-table.xml for more examples. -->
>>> +          <!-- not set -->
>>> +          <!--
>>> +          <languages>
>>> +              <language-range>
>>> +                  <lang>englishRange</lang>
>>> +                  <range>U+0020-007E</range>
>>> +              </language-range>
>>> +          </languages>
>>> +          -->
>>> +
>>> +          <!-- Compiler font manager classes, in policy  
>>> resolution order -->
>>> +          <!-- NOTE: For Apache Flex -->
>>> +          <!-- AFEFontManager and CFFFontManager both use proprietary
>>> technology.  -->
>>> +          <!-- You must install the optional font jars if you wish to use
>>> embedded fonts  -->
>>> +          <!-- directly or you can use fontswf to precompile the font as a
>>> swf.  -->
>>> +          <managers>
>>> +              <manager-class>flash.fonts.JREFontManager</manager-class>
>>> +              <manager-class>flash.fonts.BatikFontManager</manager-class>
>>> +              <manager-class>flash.fonts.AFEFontManager</manager-class>
>>> +              <manager-class>flash.fonts.CFFFontManager</manager-class>
>>> +          </managers>
>>> +
>>> +          <!-- File containing cached system font licensing information
>>> produced via
>>> +               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
>>> +               Will default to winFonts.ser on Windows XP and
>>> +               macFonts.ser on Mac OS X, so is commented out by default.
>>> +
>>> +          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
>>> +          -->
>>> +
>>> +      </fonts>
>>> +
>>> +      <!-- Array.toString() format has changed. -->
>>> +      <warn-array-tostring-changes>false</warn-array-tostring-changes>
>>> +
>>> +      <!-- Assignment within conditional. -->
>>> +
>>> <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
>>> +
>>> +      <!-- Possibly invalid Array cast operation. -->
>>> +      <warn-bad-array-cast>true</warn-bad-array-cast>
>>> +
>>> +      <!-- Non-Boolean value used where a Boolean value was expected. -->
>>> +      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
>>> +
>>> +      <!-- Invalid Date cast operation. -->
>>> +      <warn-bad-date-cast>true</warn-bad-date-cast>
>>> +
>>> +      <!-- Unknown method. -->
>>> +      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
>>> +
>>> +      <!-- Unknown property. -->
>>> +      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
>>> +
>>> +      <!-- Illogical comparison with NaN. Any comparison  
>>> operation involving
>>> NaN will evaluate to false because NaN != NaN. -->
>>> +      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
>>> +
>>> +      <!-- Impossible assignment to null. -->
>>> +      <warn-bad-null-assignment>true</warn-bad-null-assignment>
>>> +
>>> +      <!-- Illogical comparison with null. -->
>>> +      <warn-bad-null-comparison>true</warn-bad-null-comparison>
>>> +
>>> +      <!-- Illogical comparison with undefined. Only untyped variables (or
>>> variables of type *) can be undefined. -->
>>> +      <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
>>> +
>>> +      <!-- Boolean() with no arguments returns false in ActionScript 3.0.
>>> Boolean() returned undefined in ActionScript 2.0. -->
>>> +
>>> <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-n
>>> o-args>
>>> +
>>> +      <!-- __resolve is no longer supported. -->
>>> +      <warn-changes-in-resolve>false</warn-changes-in-resolve>
>>> +
>>> +      <!-- Class is sealed. It cannot have members added to it  
>>> dynamically.
>>> -->
>>> +      <warn-class-is-sealed>true</warn-class-is-sealed>
>>> +
>>> +      <!-- Constant not initialized. -->
>>> +      <warn-const-not-initialized>true</warn-const-not-initialized>
>>> +
>>> +      <!-- Function used in new expression returns a value. Result will be
>>> what the -->
>>> +      <!-- function returns, rather than a new instance of that function.
>>> -->
>>> +       
>>> <warn-constructor-returns-value>false</warn-constructor-returns-value>
>>> +
>>> +      <!-- EventHandler was not added as a listener. -->
>>> +
>>> <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-err
>>> or>
>>> +
>>> +      <!-- Unsupported ActionScript 2.0 function. -->
>>> +       
>>> <warn-deprecated-function-error>true</warn-deprecated-function-error>
>>> +
>>> +      <!-- Unsupported ActionScript 2.0 property. -->
>>> +       
>>> <warn-deprecated-property-error>true</warn-deprecated-property-error>
>>> +
>>> +      <!-- More than one argument by the same name. -->
>>> +      <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
>>> +
>>> +      <!-- Duplicate variable definition -->
>>> +      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
>>> +
>>> +      <!-- ActionScript 3.0 iterates over an object's properties within a
>>> "for x in target" statement in random order. -->
>>> +      <warn-for-var-in-changes>false</warn-for-var-in-changes>
>>> +
>>> +      <!-- Importing a package by the same name as the current class will
>>> hide that class identifier in this scope. -->
>>> +      <warn-import-hides-class>true</warn-import-hides-class>
>>> +
>>> +      <!-- Use of the instanceof operator. -->
>>> +      <warn-instance-of-changes>true</warn-instance-of-changes>
>>> +
>>> +      <!-- Internal error in compiler. -->
>>> +      <warn-internal-error>true</warn-internal-error>
>>> +
>>> +      <!-- _level is no longer supported. For more information, see the
>>> flash.display package. -->
>>> +      <warn-level-not-supported>true</warn-level-not-supported>
>>> +
>>> +      <!-- Missing namespace declaration (e.g. variable is not  
>>> defined to be
>>> public, private, etc.). -->
>>> +      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
>>> +
>>> +      <!-- Negative value will become a large positive value when assigned
>>> to a uint data type. -->
>>> +      <warn-negative-uint-literal>true</warn-negative-uint-literal>
>>> +
>>> +      <!-- Missing constructor. -->
>>> +      <warn-no-constructor>false</warn-no-constructor>
>>> +
>>> +      <!-- The super() statement was not called within the  
>>> constructor. -->
>>> +
>>> <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-cal
>>> l-in-constructor>
>>> +
>>> +      <!-- Missing type declaration. -->
>>> +      <warn-no-type-decl>true</warn-no-type-decl>
>>> +
>>> +      <!-- In ActionScript 3.0, white space is ignored and '' returns 0.
>>> Number() returns -->
>>> +      <!-- NaN in ActionScript 2.0 when the parameter is '' or contains
>>> white space.      -->
>>> +
>>> <warn-number-from-string-changes>false</warn-number-from-string-changes>
>>> +
>>> +      <!-- Change in scoping for the this keyword. Class methods extracted
>>> from an  -->
>>> +      <!-- instance of a class will always resolve this back to that
>>> instance. In   -->
>>> +      <!-- ActionScript 2.0 this is looked up dynamically based  
>>> on where the
>>> method -->
>>> +      <!-- is invoked from.
>>> -->
>>> +      <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
>>> +
>>> +      <!-- Inefficient use of += on a TextField.-->
>>> +      <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
>>> +
>>> +      <!-- Possible missing parentheses. -->
>>> +      <warn-unlikely-function-value>true</warn-unlikely-function-value>
>>> +
>>> +      <!-- Possible usage of the ActionScript 2.0 XML class. -->
>>> +      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
>>> +
>>> +   </compiler>
>>> +
>>> +   <!-- compute-digest: writes a digest to the catalog.xml of a  
>>> library. Use
>>> this when the library will be used as a
>>> +                        cross-domain rsl.-->
>>> +   <!-- compute-digest usage:
>>> +   <compute-digest>boolean</compute-digest>
>>> +   -->
>>> +
>>> +   <!-- remove-unused-rsls: remove RSLs that are not being used by the
>>> application-->
>>> +   <remove-unused-rsls>true</remove-unused-rsls>
>>> +
>>> +   <!-- A list of runtime shared library URLs to be loaded before
>>> applications start. -->
>>> +   <!-- not set -->
>>> +   <!--
>>> +   <runtime-shared-libraries>
>>> +      <url>string</url>
>>> +      <url>string</url>
>>> +   </runtime-shared-libraries>
>>> +   -->
>>> +
>>> +       <!-- runtime-shared-library-path: specifies a SWC or directory to
>>> link against and an RSL URL to load with optional failover URLs -->
>>> +      <!-- Framework SWC
>>> +       <runtime-shared-library-path>
>>> +               <path-element>libs/framework.swc</path-element>
>>> +               <rsl-url>framework_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +       -->
>>> +
>>> +
>>> +         <!-- TextLayout SWC -->
>>> +       <!--
>>> +           Even though there is no textLayout rsl leave this in  
>>> so that in a
>>> FlashBuilder
>>> +           Flex Library project, FlashBuilder will allow "Link Type" to be
>>> external.
>>> +    <runtime-shared-library-path>
>>> +               <path-element>libs/textLayout.swc</path-element>
>>> +               <rsl-url>textLayout_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +    -->
>>> +
>>> +      <!-- Spark SWC
>>> +       <runtime-shared-library-path>
>>> +               <path-element>libs/spark.swc</path-element>
>>> +               <rsl-url>spark_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +    -->
>>> +      <!-- Sparkskins SWC
>>> +       <runtime-shared-library-path>
>>> +               <path-element>libs/sparkskins.swc</path-element>
>>> +               <rsl-url>sparkskins_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +        -->
>>> +         <!-- RPC SWC
>>> +       <runtime-shared-library-path>
>>> +               <path-element>libs/rpc.swc</path-element>
>>> +               <rsl-url>rpc_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +        -->
>>> +      <!-- Charts SWC
>>> +       <runtime-shared-library-path>
>>> +               <path-element>libs/charts.swc</path-element>
>>> +               <rsl-url>charts_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +     -->
>>> +      <!-- Spark_dmv SWC
>>> +       <runtime-shared-library-path>
>>> +               <path-element>libs/spark_dmv.swc</path-element>
>>> +               <rsl-url>spark_dmv_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +    -->
>>> +      <!-- OSMF SWC -->
>>> +       <!--
>>> +           Even though there is no OSMF rsl leave this in so that in a
>>> FlashBuilder
>>> +           Flex Library project, FlashBuilder will allow "Link Type" to be
>>> external.
>>> +    <runtime-shared-library-path>
>>> +               <path-element>libs/osmf.swc</path-element>
>>> +               <rsl-url>osmf_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +    -->
>>> +
>>> +      <!-- MX SWC
>>> +       <runtime-shared-library-path>
>>> +               <path-element>libs/mx/mx.swc</path-element>
>>> +               <rsl-url>mx_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +   -->
>>> +      <!-- Advancedgrids SWC
>>> +       <runtime-shared-library-path>
>>> +               <path-element>libs/advancedgrids.swc</path-element>
>>> +               <rsl-url>advancedgrids_4.9.0.1425567.swf</rsl-url>
>>> +       </runtime-shared-library-path>
>>> +       -->
>>> +       <!-- static-link-runtime-shared-libraries: statically link the
>>> libraries specified by the -runtime-shared-libraries-path option.-->
>>> +
>>> <static-link-runtime-shared-libraries>true</static-link-runtime-shared-librar
>>> ies>
>>> +
>>> +   <!-- target-player: specifies the version of the player the application
>>> is targeting.
>>> +                       Features requiring a later version will not be
>>> compiled into the application.
>>> +                       The minimum value supported is "9.0.0".-->
>>> +   <!-- target-player usage:
>>> +   <target-player>version</target-player>
>>> +   -->
>>> +
>>> +   <!-- Enables SWFs to access the network. -->
>>> +   <use-network>true</use-network>
>>> +
>>> +   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
>>> +   <metadata>
>>> +      <title>Apache FlexJS Application</title>
>>> +      <description>http://flex.apache.org/</description>
>>> +      <publisher>Apache Software Foundation</publisher>
>>> +      <creator>unknown</creator>
>>> +      <language>EN</language>
>>> +   </metadata>
>>> +
>>> +</flex-config>
>>>
>>> Added: flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/flex-sd
>>> k-description.xml?rev=1454452&view=auto
>>>
> =============================================================================>>
> =
>>> ---  
>>> flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml  
>>> (added)
>>> +++  
>>> flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml  
>>> Fri Mar
>>> 8 16:37:12 2013
>>> @@ -0,0 +1,25 @@
>>> +<?xml version="1.0"?>
>>> +<!--
>>> +
>>> +  Licensed to the Apache Software Foundation (ASF) under one or more
>>> +  contributor license agreements.  See the NOTICE file distributed with
>>> +  this work for additional information regarding copyright ownership.
>>> +  The ASF licenses this file to You under the Apache License, Version 2.0
>>> +  (the "License"); you may not use this file except in compliance with
>>> +  the License.  You may obtain a copy of the License at
>>> +
>>> +      http://www.apache.org/licenses/LICENSE-2.0
>>> +
>>> +  Unless required by applicable law or agreed to in writing, software
>>> +  distributed under the License is distributed on an "AS IS" BASIS,
>>> +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>>> +  See the License for the specific language governing permissions and
>>> +  limitations under the License.
>>> +
>>> +-->
>>> +<flex-sdk-description>
>>> +<name>Apache FlexJS Prototype</name>
>>> +<version>4.9.0</version>
>>> +<build>1425567</build>
>>> +</flex-sdk-description>
>>> +
>>> \ No newline at end of file
>>>
>>> Propchange:  
>>> flex/asjs/branches/develop/frameworks/as/flex-sdk-description.xml
>>>
> ----------------------------------------------------------------------------->>
> -
>>>     svn:eol-style = native
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>> .as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/core/Application.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>> .as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/Application
>>> .as Fri Mar  8 16:37:12 2013
>>> @@ -34,7 +34,7 @@ package org.apache.flex.core
>>>       */
>>>      [Event(name="initialize", type="flash.events.Event")]
>>>
>>> -    public class Application extends Sprite implements IStrand
>>> +    public class Application extends Sprite implements IStrand, IFlexInfo
>>>      {
>>>          public function Application()
>>>          {
>>> @@ -53,6 +53,7 @@ package org.apache.flex.core
>>>                 MXMLDataInterpreter.generateMXMLProperties(this,
>>> MXMLProperties);
>>>
>>>              ValuesManager.valuesImpl = valuesImpl;
>>> +            ValuesManager.valuesImpl.init(this);
>>>
>>>              dispatchEvent(new Event("initialize"));
>>>
>>> @@ -116,5 +117,10 @@ package org.apache.flex.core
>>>              }
>>>              return null;
>>>          }
>>> +
>>> +        public function get info():Object
>>> +        {
>>> +            return {};
>>> +        }
>>>      }
>>>  }
>>> \ No newline at end of file
>>>
>>> Added:
>>>
> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
> s
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/core/IFlexInfo.as?rev=1454452&view=auto
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>> s (added)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a
>>> s Fri Mar  8 16:37:12 2013
>>> @@ -0,0 +1,29 @@
>>> +////////////////////////////////////////////////////////////////////////////
>>> ////
>>> +//
>>> +//  Licensed to the Apache Software Foundation (ASF) under one or more
>>> +//  contributor license agreements.  See the NOTICE file distributed with
>>> +//  this work for additional information regarding copyright ownership.
>>> +//  The ASF licenses this file to You under the Apache License,  
>>> Version 2.0
>>> +//  (the "License"); you may not use this file except in compliance with
>>> +//  the License.  You may obtain a copy of the License at
>>> +//
>>> +//      http://www.apache.org/licenses/LICENSE-2.0
>>> +//
>>> +//  Unless required by applicable law or agreed to in writing, software
>>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express  
>>> or implied.
>>> +//  See the License for the specific language governing permissions and
>>> +//  limitations under the License.
>>> +//
>>> +////////////////////////////////////////////////////////////////////////////
>>> ////
>>> +package org.apache.flex.core
>>> +{
>>> +    /**
>>> +     * An object of various properties and values that are not otherwise
>>> +     * linked in by hard class references, like styles, rsls, mixins.
>>> +     */
>>> +       public interface IFlexInfo
>>> +       {
>>> +               function get info():Object
>>> +       }
>>> +}
>>> \ No newline at end of file
>>>
>>> Propchange:
>>>
> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IFlexInfo.a>>
> s
>>>
> ----------------------------------------------------------------------------->>
> -
>>>     svn:eol-style = native
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>> .as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/core/IValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>> .as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/IValuesImpl
>>> .as Fri Mar  8 16:37:12 2013
>>> @@ -20,7 +20,8 @@ package org.apache.flex.core
>>>  {
>>>         public interface IValuesImpl
>>>         {
>>> -               function getValue(valueName:String):Object;
>>> -               function setValue(valueName:String, value:Object):void;
>>> +               function getValue(thisObject:Object,
>>> valueName:String):Object;
>>> +
>>> +        function init(mainClass:Object):void;
>>>         }
>>>  }
>>> \ No newline at end of file
>>>
>>> Added:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>> luesImpl.as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/core/SimpleCSSValuesImpl.as?rev=1454452&view=auto
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>> luesImpl.as (added)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>> luesImpl.as Fri Mar  8 16:37:12 2013
>>> @@ -0,0 +1,180 @@
>>> +////////////////////////////////////////////////////////////////////////////
>>> ////
>>> +//
>>> +//  Licensed to the Apache Software Foundation (ASF) under one or more
>>> +//  contributor license agreements.  See the NOTICE file distributed with
>>> +//  this work for additional information regarding copyright ownership.
>>> +//  The ASF licenses this file to You under the Apache License,  
>>> Version 2.0
>>> +//  (the "License"); you may not use this file except in compliance with
>>> +//  the License.  You may obtain a copy of the License at
>>> +//
>>> +//      http://www.apache.org/licenses/LICENSE-2.0
>>> +//
>>> +//  Unless required by applicable law or agreed to in writing, software
>>> +//  distributed under the License is distributed on an "AS IS" BASIS,
>>> +//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express  
>>> or implied.
>>> +//  See the License for the specific language governing permissions and
>>> +//  limitations under the License.
>>> +//
>>> +////////////////////////////////////////////////////////////////////////////
>>> ////
>>> +package org.apache.flex.core
>>> +{
>>> +       import flash.events.EventDispatcher;
>>> +       import flash.events.IEventDispatcher;
>>> +       import flash.system.ApplicationDomain;
>>> +       import flash.utils.getQualifiedClassName;
>>> +
>>> +       import org.apache.flex.events.ValueChangeEvent;
>>> +
>>> +       public class SimpleCSSValuesImpl extends EventDispatcher implements
>>> IValuesImpl
>>> +       {
>>> +               public function SimpleCSSValuesImpl()
>>> +               {
>>> +                       super();
>>> +               }
>>> +
>>> +        public function init(mainClass:Object):void
>>> +        {
>>> +            var mainClassName:String = getQualifiedClassName(mainClass);
>>> +            var styleClassName:String = "_" + mainClassName + "_Styles";
>>> +            var c:Class =
>>> ApplicationDomain.currentDomain.getDefinition(styleClassName) as Class;
>>> +            values = {};
>>> +            generateCSSStyleDeclarations(c["factoryFunctions"],  
>>> c["data"]);
>>> +        }
>>> +
>>> +        public function
>>> generateCSSStyleDeclarations(factoryFunctions:Object, arr:Array):void
>>> +        {
>>> +            var declarationName:String = "";
>>> +            var segmentName:String = "";
>>> +            var n:int = arr.length;
>>> +            for (var i:int = 0; i < n; i++)
>>> +            {
>>> +                var className:int = arr[i];
>>> +                if (className == CSSClass.CSSSelector)
>>> +                {
>>> +                    var selectorName:String = arr[++i];
>>> +                    segmentName = selectorName + segmentName;
>>> +                    if (declarationName != "")
>>> +                        declarationName += " ";
>>> +                    declarationName += segmentName;
>>> +                    segmentName = "";
>>> +                }
>>> +                else if (className == CSSClass.CSSCondition)
>>> +                {
>>> +                    // not supported
>>> +                }
>>> +                else if (className == CSSClass.CSSStyleDeclaration)
>>> +                {
>>> +                    var factoryName:int = arr[++i]; // defaultFactory or
>>> factory
>>> +                    var defaultFactory:Boolean = factoryName ==
>>> CSSFactory.DefaultFactory;
>>> +                    /*
>>> +                    if (defaultFactory)
>>> +                    {
>>> +                        mergedStyle =
>>> styleManager.getMergedStyleDeclaration(declarationName);
>>> +                        style = new CSSStyleDeclaration(selector,
>>> styleManager, mergedStyle == null);
>>> +                    }
>>> +                    else
>>> +                    {
>>> +                        style =
>>> styleManager.getStyleDeclaration(declarationName);
>>> +                        if (!style)
>>> +                        {
>>> +                            style = new CSSStyleDeclaration(selector,
>>> styleManager, mergedStyle == null);
>>> +                            if (factoryName == CSSFactory.Override)
>>> +                                newSelectors.push(style);
>>> +                        }
>>> +                    }
>>> +                    */
>>> +                    var finalName:String;
>>> +                    var valuesFunction:Function;
>>> +                    var valuesObject:Object;
>>> +                    if (defaultFactory)
>>> +                    {
>>> +                        valuesFunction =  
>>> factoryFunctions[declarationName];
>>> +                        valuesObject = new valuesFunction();
>>> +                        finalName = fixNames(declarationName);
>>> +                        values[finalName] = valuesObject;
>>> +                    }
>>> +                    else
>>> +                    {
>>> +                        valuesFunction =  
>>> factoryFunctions[declarationName];
>>> +                        valuesObject = new valuesFunction();
>>> +                        var o:Object = values[declarationName];
>>> +                        finalName = fixNames(declarationName);
>>> +                        if (o == null)
>>> +                            values[finalName] = valuesObject;
>>> +                        else
>>> +                        {
>>> +                            valuesFunction.prototype = o;
>>> +                            values[finalName] = new valuesFunction();
>>> +                        }
>>> +                    }
>>> +                    declarationName = "";
>>> +                }
>>> +            }
>>> +
>>> +        }
>>> +
>>> +        private function fixNames(s:String):String
>>> +        {
>>> +            var arr:Array = s.split(" ");
>>> +            var n:int = arr.length;
>>> +            for (var i:int = 0; i < n; i++)
>>> +            {
>>> +                var segmentName:String = arr[i];
>>> +                var c:int = segmentName.lastIndexOf(".");
>>> +                if (c != -1)
>>> +                {
>>> +                    segmentName = segmentName.substr(0, c) + "::" +
>>> segmentName.substr(c + 1);
>>> +                    arr[i] = segmentName;
>>> +                }
>>> +            }
>>> +            return arr.join(" ");
>>> +        }
>>> +
>>> +        public var values:Object;
>>> +
>>> +               public function getValue(thisObject:Object,
>>> valueName:String):Object
>>> +               {
>>> +            var className:String = getQualifiedClassName(thisObject);
>>> +            var o:Object = values[className];
>>> +            var value:*;
>>> +            if (o)
>>> +            {
>>> +                value = o[valueName];
>>> +                if (value !== undefined)
>>> +                    return value;
>>> +            }
>>> +            o = values["global"];
>>> +                       return o[valueName];
>>> +               }
>>> +
>>> +               public function setValue(thisObject:Object,  
>>> valueName:String,
>>> value:Object):void
>>> +               {
>>> +                       var oldValue:Object = values[valueName];
>>> +                       if (oldValue != value)
>>> +                       {
>>> +                               values[valueName] = value;
>>> +                               dispatchEvent(new
>>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false, oldValue,
>>> value));
>>> +                       }
>>> +               }
>>> +       }
>>> +}
>>> +
>>> +class CSSClass
>>> +{
>>> +    public static const CSSSelector:int = 0;
>>> +    public static const CSSCondition:int = 1;
>>> +    public static const CSSStyleDeclaration:int = 2;
>>> +}
>>> +
>>> +class CSSFactory
>>> +{
>>> +    public static const DefaultFactory:int = 0;
>>> +    public static const Factory:int = 1;
>>> +    public static const Override:int = 2;
>>> +}
>>> +
>>> +class CSSDataType
>>> +{
>>> +    public static const Native:int = 0;
>>> +    public static const Definition:int = 1;
>>> +}
>>>
>>> Propchange:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleCSSVa
>>> luesImpl.as
>>>
> ----------------------------------------------------------------------------->>
> -
>>>     svn:eol-style = native
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>> sImpl.as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/core/SimpleValuesImpl.as?rev=1454452&r1=1454451&r2=1454452&view=
>>> diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>> sImpl.as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/core/SimpleValue
>>> sImpl.as Fri Mar  8 16:37:12 2013
>>> @@ -32,12 +32,12 @@ package org.apache.flex.core
>>>
>>>                 public var values:Object;
>>>
>>> -               public function getValue(valueName:String):Object
>>> +               public function getValue(thisObject:Object,
>>> valueName:String):Object
>>>                 {
>>>                         return values[valueName];
>>>                 }
>>>
>>> -               public function setValue(valueName:String,  
>>> value:Object):void
>>> +               public function setValue(thisObject:Object,  
>>> valueName:String,
>>> value:Object):void
>>>                 {
>>>                         var oldValue:Object = values[valueName];
>>>                         if (oldValue != value)
>>> @@ -46,5 +46,10 @@ package org.apache.flex.core
>>>                                 dispatchEvent(new
>>> ValueChangeEvent(ValueChangeEvent.VALUE_CHANGE, false, false, oldValue,
>>> value));
>>>                         }
>>>                 }
>>> +
>>> +        public function init(mainClass:Object):void
>>> +        {
>>> +            // do nothing
>>> +        }
>>>         }
>>>  }
>>> \ No newline at end of file
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/CheckBox.as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/html/staticControls/CheckBox.as?rev=1454452&r1=1454451&r2=145445
>>> 2&view=diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/CheckBox.as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/CheckBox.as Fri Mar  8 16:37:12 2013
>>> @@ -63,13 +63,13 @@ package org.apache.flex.html.staticContr
>>>                 public function initModel():void
>>>                 {
>>>                         if (getBeadByType(IToggleButtonModel) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("IToggleButtonModel")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iToggleButtonModel")) as IBead);
>>>                 }
>>>
>>>                 public function initSkin():void
>>>                 {
>>>                         if (getBeadByType(ICheckBoxBead) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("ICheckBoxBead")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iCheckBoxBead")) as IBead);
>>>
>>>                         _width = $width;
>>>                         _height = $height;
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/Label.as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/html/staticControls/Label.as?rev=1454452&r1=1454451&r2=1454452&v
>>> iew=diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/Label.as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/Label.as Fri Mar  8 16:37:12 2013
>>> @@ -60,13 +60,13 @@ package org.apache.flex.html.staticContr
>>>                 override public function initModel():void
>>>                 {
>>>                         if (getBeadByType(ITextModel) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>>                 }
>>>
>>>                 public function initSkin():void
>>>                 {
>>>                         if (getBeadByType(ITextBead) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("ITextBead")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iTextBead")) as IBead);
>>>                 }
>>>         }
>>>  }
>>> \ No newline at end of file
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/List.as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/html/staticControls/List.as?rev=1454452&r1=1454451&r2=1454452&vi
>>> ew=diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/List.as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/List.as Fri Mar  8 16:37:12 2013
>>> @@ -82,7 +82,7 @@ package org.apache.flex.html.staticContr
>>>                 override public function initModel():void
>>>                 {
>>>              if (getBeadByType(ISelectionModel) == null)
>>> -                addBead(new
>>> (ValuesManager.valuesImpl.getValue("ISelectionModel")) as IBead);
>>> +                addBead(new (ValuesManager.valuesImpl.getValue(this,
>>> "iSelectionModel")) as IBead);
>>>                 }
>>>
>>>                 public function initSkin():void
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/RadioButton.as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/html/staticControls/RadioButton.as?rev=1454452&r1=1454451&r2=145
>>> 4452&view=diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/RadioButton.as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/RadioButton.as Fri Mar  8 16:37:12 2013
>>> @@ -112,13 +112,13 @@ package org.apache.flex.html.staticContr
>>>                 public function initModel():void
>>>                 {
>>>                         if (getBeadByType(IValueToggleButtonModel) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("IValueToggleButtonModel")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iValueToggleButtonModel")) as
>>> IBead);
>>>                 }
>>>
>>>                 public function initSkin():void
>>>                 {
>>>                         if (getBeadByType(IRadioButtonBead) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("IRadioButtonBead")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iRadioButtonBead")) as IBead);
>>>
>>>                         _width = $width;
>>>                         _height = $height;
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextArea.as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/html/staticControls/TextArea.as?rev=1454452&r1=1454451&r2=145445
>>> 2&view=diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextArea.as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextArea.as Fri Mar  8 16:37:12 2013
>>> @@ -54,7 +54,7 @@ package org.apache.flex.html.staticContr
>>>                 override public function initModel():void
>>>                 {
>>>                         if (getBeadByType(ITextModel) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>>                 }
>>>
>>>                 public function initSkin():void
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextButton.as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/html/staticControls/TextButton.as?rev=1454452&r1=1454451&r2=1454
>>> 452&view=diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextButton.as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextButton.as Fri Mar  8 16:37:12 2013
>>> @@ -55,13 +55,13 @@ package org.apache.flex.html.staticContr
>>>                 override public function initModel():void
>>>                 {
>>>                         if (getBeadByType(ITextModel) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>>                 }
>>>
>>>                 override public function initSkin():void
>>>                 {
>>>                         if (getBeadByType(ITextButtonBead) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("ITextButtonBead")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iTextButtonBead")) as IBead);
>>>                 }
>>>         }
>>>  }
>>> \ No newline at end of file
>>>
>>> Modified:
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextInput.as
>>> URL:
>>> http://svn.apache.org/viewvc/flex/asjs/branches/develop/frameworks/as/src/org
>>> /apache/flex/html/staticControls/TextInput.as?rev=1454452&r1=1454451&r2=14544
>>> 52&view=diff
>>>
> =============================================================================>>
> =
>>> ---
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextInput.as (original)
>>> +++
>>> flex/asjs/branches/develop/frameworks/as/src/org/apache/flex/html/staticContr
>>> ols/TextInput.as Fri Mar  8 16:37:12 2013
>>> @@ -52,13 +52,13 @@ package org.apache.flex.html.staticContr
>>>                 override public function initModel():void
>>>                 {
>>>                         if (getBeadByType(ITextModel) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("ITextModel")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iTextModel")) as IBead);
>>>                 }
>>>
>>>                 public function initSkin():void
>>>                 {
>>>                         if (getBeadByType(ITextInputBead) == null)
>>> -                               addBead(new
>>> (ValuesManager.valuesImpl.getValue("ITextInputBead")) as IBead);
>>> +                               addBead(new
>>> (ValuesManager.valuesImpl.getValue(this, "iTextInputBead")) as IBead);
>>>                 }
>>>         }
>>>  }
>>> \ No newline at end of file
>>>
>>>
>>
>>
>>
>> --
>> Ix Multimedia Software
>>
>> Jan Luykenstraat 27
>> 3521 VB Utrecht
>>
>> T. 06-51952295
>> I. www.ixsoftware.nl
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>

-- 
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com