You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/01/11 06:49:21 UTC

[royale-asjs] branch develop updated (eb14fa8 -> b12e342)

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git.


    from eb14fa8  all themes updated
     new 319ed73  swap out for an interface
     new 969353f  fix up EventUtils now that compiler will catch passing a plain object in as an interface.  Use a factory function for Event and a conversion function for MouseEvent
     new 7f43600  factor out EventUtil's MouseEvents handling to the MouseEvent so it is more PAYG
     new 97a6d0c  suppress warning
     new 12aa536  fix warnings in MXRoyale/SparkRoyale.  The principle applied was to suppress warnings if the class was not going to be used from MXML or in RemoteObject.  The RemoteObject classes still emit warnings and will be fixed in a later commit.  If the class was used from MXML then the public vars were changed to getter/setter
     new fa75016  fix warnings in JQuery build
     new c6c6258  get rid of warnings in messaging classes
     new 1450934  eliminate warnings from Closure Compiler
     new 8b0631b  don't cache bogus values
     new b12e342  clean up warnings from Closure

The 10 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../royale/org/apache/royale/core/GroupBase.as     |   4 +-
 .../projects/Core/src/main/royale/CoreClasses.as   |   1 +
 .../apache/royale/conversions/MouseEventInit.as}   |  20 ++--
 .../createEventInit.as}                            |  19 ++--
 .../royale/core/{IContentViewHost.as => IState.as} |  11 +-
 .../org/apache/royale/events/KeyboardEvent.as      |  10 ++
 .../royale/org/apache/royale/events/MouseEvent.as  |  39 ++++++-
 .../org/apache/royale/events/utils/EventUtils.as   |  42 ++-----
 .../main/royale/org/apache/royale/states/State.as  |   4 +-
 frameworks/projects/JQuery/build.xml               |   2 +-
 .../main/royale/mx/binding/utils/ChangeWatcher.as  |   2 +
 .../src/main/royale/mx/charts/AxisLabel.as         |   2 +
 .../src/main/royale/mx/charts/ChartItem.as         |   2 +
 .../MXRoyale/src/main/royale/mx/charts/HitData.as  |   2 +
 .../MXRoyale/src/main/royale/mx/charts/Legend.as   |   3 +
 .../src/main/royale/mx/charts/LegendItem.as        |   2 +
 .../royale/mx/charts/chartClasses/AxisLabelSet.as  |   2 +
 .../royale/mx/charts/chartClasses/BoundedValue.as  |   2 +
 .../mx/charts/chartClasses/CartesianChart.as       |  22 +++-
 .../royale/mx/charts/chartClasses/ChartBase.as     |  26 ++++-
 .../mx/charts/chartClasses/DataDescription.as      |   2 +
 .../main/royale/mx/charts/chartClasses/DataTip.as  |   2 +
 .../royale/mx/charts/chartClasses/InstanceCache.as |   2 +
 .../royale/mx/charts/chartClasses/LegendData.as    |   2 +
 .../royale/mx/charts/chartClasses/NumericAxis.as   |   4 +
 .../royale/mx/charts/chartClasses/RenderData.as    |   2 +
 .../main/royale/mx/charts/effects/SeriesEffect.as  |  44 +++++++-
 .../main/royale/mx/charts/effects/SeriesSlide.as   |  11 +-
 .../main/royale/mx/charts/effects/SeriesZoom.as    |  33 +++++-
 .../effects/effectClasses/SeriesEffectInstance.as  |   2 +
 .../effects/effectClasses/SeriesSlideInstance.as   |   2 +
 .../effects/effectClasses/SeriesZoomInstance.as    |   2 +
 .../main/royale/mx/charts/events/ChartItemEvent.as |   2 +
 .../royale/mx/charts/events/LegendMouseEvent.as    |   2 +
 .../mx/charts/renderers/CrossItemRenderer.as       |  11 +-
 .../main/royale/mx/charts/series/BubbleSeries.as   |  22 +++-
 .../src/main/royale/mx/charts/series/PieSeries.as  |  11 +-
 .../mx/charts/series/items/AreaSeriesItem.as       |   2 +
 .../royale/mx/charts/series/items/BarSeriesItem.as |   2 +
 .../mx/charts/series/items/BubbleSeriesItem.as     |   2 +
 .../mx/charts/series/items/ColumnSeriesItem.as     |   2 +
 .../mx/charts/series/items/HLOCSeriesItem.as       |   2 +
 .../mx/charts/series/items/LineSeriesItem.as       |   2 +
 .../mx/charts/series/items/LineSeriesSegment.as    |   2 +
 .../royale/mx/charts/series/items/PieSeriesItem.as |   2 +
 .../mx/charts/series/items/PlotSeriesItem.as       |   2 +
 .../series/renderData/AreaSeriesRenderData.as      |   2 +
 .../series/renderData/BarSeriesRenderData.as       |   2 +
 .../series/renderData/ColumnSeriesRenderData.as    |   2 +
 .../series/renderData/HLOCSeriesRenderData.as      |   2 +
 .../series/renderData/LineSeriesRenderData.as      |   2 +
 .../series/renderData/PieSeriesRenderData.as       |   2 +
 .../series/renderData/PlotSeriesRenderData.as      |   2 +
 .../MXRoyale/src/main/royale/mx/containers/Form.as |   2 +-
 .../mx/containers/beads/models/PanelModel.as       |  44 +++++++-
 .../mx/containers/gridClasses/GridColumnInfo.as    |   2 +
 .../mx/containers/gridClasses/GridRowInfo.as       |   2 +
 .../main/royale/mx/controls/AdvancedDataGrid.as    |  22 +++-
 .../MXRoyale/src/main/royale/mx/controls/Alert.as  |   2 +
 .../main/royale/mx/controls/RichTextEditor.mxml    |  17 +++
 .../src/main/royale/mx/controls/ToggleButtonBar.as |   2 +-
 .../treeClasses/HierarchicalCollectionView.as      |  10 +-
 .../MXRoyale/src/main/royale/mx/core/Container.as  |   2 +
 .../src/main/royale/mx/core/FlexCSSStyles.as       |   2 +
 .../src/main/royale/mx/core/UITextFormat.as        |   2 +
 .../royale/mx/events/CalendarLayoutChangeEvent.as  |   2 +
 .../src/main/royale/mx/events/DragEvent.as         |   2 +
 .../src/main/royale/mx/events/MenuEvent.as         |   2 +
 .../main/royale/mx/events/NumericStepperEvent.as   |   2 +
 .../src/main/royale/mx/events/ToolTipEvent.as      |   2 +
 .../src/main/royale/mx/events/TreeEvent.as         |   2 +
 .../src/main/royale/mx/events/TweenEvent.as        |   2 +
 .../src/main/royale/mx/formatters/Formatter.as     |   2 +
 .../src/main/royale/mx/formatters/NumberBase.as    |  55 ++++++++-
 .../src/main/royale/mx/logging/LogEvent.as         |   2 +
 .../mx/logging/targets/LineFormattedTarget.as      |   2 +
 .../royale/mx/managers/SystemManagerGlobals.as     |   2 +
 .../src/main/royale/mx/messaging/Channel.as        |   4 +-
 .../mx/messaging/channels/NetConnectionChannel.as  |   6 +-
 .../royale/mx/messaging/config/ServerConfig.as     |  10 +-
 .../messaging/errors/MessageSerializationError.as  |  11 +-
 .../royale/mx/messaging/events/ChannelEvent.as     |   2 +
 .../mx/messaging/events/ChannelFaultEvent.as       |   2 +
 .../royale/mx/messaging/events/MessageAckEvent.as  |   2 +
 .../royale/mx/messaging/events/MessageEvent.as     |   2 +
 .../mx/messaging/events/MessageFaultEvent.as       |   2 +
 .../royale/mx/messaging/messages/CommandMessage.as |  11 +-
 .../royale/mx/messaging/messages/ErrorMessage.as   |  55 ++++++++-
 .../mx/messaging/messages/HTTPRequestMessage.as    |  44 +++++++-
 .../messaging/messages/MessagePerformanceInfo.as   | 123 +++++++++++++++++++--
 .../messaging/messages/MessagePerformanceUtils.as  |   1 +
 .../mx/messaging/messages/RemotingMessage.as       |  22 +++-
 .../src/main/royale/mx/net/NetConnection.as        |   2 +
 .../MXRoyale/src/main/royale/mx/net/Responder.as   |   2 +
 .../src/main/royale/mx/netmon/NetworkMonitor.as    |   2 +
 .../src/main/royale/mx/rpc/AbstractInvoker.as      |   6 +
 .../src/main/royale/mx/rpc/AbstractOperation.as    |   4 +
 .../MXRoyale/src/main/royale/mx/rpc/Fault.as       |   2 +
 .../main/royale/mx/rpc/http/AbstractOperation.as   |  98 ++++++++++++----
 .../main/royale/mx/rpc/http/HTTPMultiService.as    |  71 ++++++++++--
 .../src/main/royale/mx/rpc/remoting/Operation.as   |  11 +-
 .../main/royale/mx/rpc/remoting/RemoteObject.as    |   4 +
 .../src/main/royale/mx/states/Transition.as        |  11 +-
 .../MXRoyale/src/main/royale/mx/text/TextFormat.as |   2 +
 .../src/main/royale/mx/utils/ObjectUtil.as         |  11 +-
 .../royale/mx/validators/RegExpValidationResult.as |   2 +
 .../main/royale/mx/validators/ValidationResult.as  |   2 +
 .../src/main/royale/spark/components/ButtonBar.as  |   2 +
 .../src/main/royale/spark/components/DataGrid.as   |   2 +
 .../src/main/royale/spark/components/Form.as       |   3 +
 .../src/main/royale/spark/components/FormItem.as   |   2 +
 .../src/main/royale/spark/components/RichText.as   |  10 +-
 .../src/main/royale/spark/components/TextArea.as   |   2 +
 .../spark/components/beads/DropDownListView.as     |   5 +-
 .../spark/components/gridClasses/DataGridEditor.as |   2 +
 .../components/gridClasses/GridDimensionsView.as   |   2 +
 .../royale/spark/events/GridItemEditorEvent.as     |   2 +
 .../main/royale/spark/events/GridSelectionEvent.as |   2 +
 .../src/main/royale/spark/events/GridSortEvent.as  |   2 +
 .../src/main/royale/spark/events/PopUpEvent.as     |   2 +
 .../main/royale/spark/layouts/VerticalLayout.as    |   6 +-
 .../spark/layouts/supportClasses/DropLocation.as   |   2 +
 .../royale/textLayout/compose/TextFlowLine.as      |   1 +
 .../textLayout/container/ContainerController.as    |   6 +-
 .../conversion/BaseTextLayoutExporter.as           |   4 +-
 .../textLayout/conversion/TextLayoutImporter.as    |   4 +-
 .../royale/textLayout/elements/LeadingUtils.as     |   2 +
 .../royale/textLayout/elements/TableElement.as     |   4 +-
 .../royale/textLayout/elements/TableLeafElement.as |   5 +-
 .../events/FlowElementMouseEventManager.as         |  28 ++---
 130 files changed, 1009 insertions(+), 209 deletions(-)
 copy frameworks/projects/{Network/src/main/royale/org/apache/royale/net/utils/IDataInput.as => Core/src/main/royale/org/apache/royale/conversions/MouseEventInit.as} (78%)
 copy frameworks/projects/Core/src/main/royale/org/apache/royale/{events/IBrowserEvent.as => conversions/createEventInit.as} (75%)
 copy frameworks/projects/Core/src/main/royale/org/apache/royale/core/{IContentViewHost.as => IState.as} (80%)


[royale-asjs] 01/10: swap out for an interface

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 319ed73356a0cbdbaa0da7745fc2eba8aec81b6b
Author: Alex Harui <ah...@apache.org>
AuthorDate: Fri Jan 4 14:43:07 2019 -0800

    swap out for an interface
---
 .../royale/org/apache/royale/core/GroupBase.as     |  4 +--
 .../projects/Core/src/main/royale/CoreClasses.as   |  1 +
 .../main/royale/org/apache/royale/core/IState.as   | 36 ++++++++++++++++++++++
 .../main/royale/org/apache/royale/states/State.as  |  4 ++-
 4 files changed, 42 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/GroupBase.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/GroupBase.as
index ae77414..0156152 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/GroupBase.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/GroupBase.as
@@ -22,12 +22,12 @@ package org.apache.royale.core
 	import org.apache.royale.core.ILayoutParent;
 	import org.apache.royale.core.ILayoutHost;
 	import org.apache.royale.core.ILayoutView;
+    import org.apache.royale.core.IState;
 	import org.apache.royale.core.UIBase;
 	import org.apache.royale.core.ValuesManager;
 	import org.apache.royale.events.Event;
 	import org.apache.royale.events.ValueChangeEvent;
     import org.apache.royale.events.ValueEvent;
-	import org.apache.royale.states.State;
 	import org.apache.royale.utils.loadBeadFromValuesManager;
 
     COMPILE::JS
@@ -225,7 +225,7 @@ package org.apache.royale.core
          */
         public function hasState(state:String):Boolean
         {
-            for each (var s:State in _states)
+            for each (var s:IState in _states)
             {
                 if (s.name == state)
                     return true;
diff --git a/frameworks/projects/Core/src/main/royale/CoreClasses.as b/frameworks/projects/Core/src/main/royale/CoreClasses.as
index e28bbda..7110fa4 100644
--- a/frameworks/projects/Core/src/main/royale/CoreClasses.as
+++ b/frameworks/projects/Core/src/main/royale/CoreClasses.as
@@ -119,6 +119,7 @@ import org.apache.royale.events.ItemRemovedEvent; ItemRemovedEvent;
     import org.apache.royale.core.IParentIUIBase; IParentIUIBase;
     import org.apache.royale.core.IPopUp; IPopUp;
     import org.apache.royale.core.IRangeModel; IRangeModel;
+    import org.apache.royale.core.IState; IState;
     import org.apache.royale.core.ISWFApplication; ISWFApplication;
 	import org.apache.royale.core.ITransformModel; ITransformModel;
 	import org.apache.royale.core.ITransformHost; ITransformHost;
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IState.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IState.as
new file mode 100644
index 0000000..675eb29
--- /dev/null
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/IState.as
@@ -0,0 +1,36 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.royale.core
+{
+
+    /**
+     *  The IState interface is a basic interface for States that are 
+     *  handled by various IStatesImpls.  IStatesImpls watche for the currentState property to
+     *  change and executes changes accordingly.
+     * 
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion Royale 0.0
+     */
+	public interface IState
+	{
+        function get name():String;
+	}
+}
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/states/State.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/states/State.as
index 30719d9..74a858c 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/states/State.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/states/State.as
@@ -20,6 +20,8 @@
 // shim the mx classes for states
 package org.apache.royale.states
 {
+    import org.apache.royale.core.IState;
+    
     /**
      *  The State class is one of the classes in the
      *  view states subsystem.  It is used to declare a 
@@ -30,7 +32,7 @@ package org.apache.royale.states
      *  @playerversion AIR 2.6
      *  @productversion Royale 0.0
      */
-	public class State
+	public class State implements IState
 	{
         /**
          *  Constructor.


[royale-asjs] 09/10: don't cache bogus values

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 8b0631b145bdce4c538daceb95530be349a08f29
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Jan 10 21:33:55 2019 -0800

    don't cache bogus values
---
 frameworks/projects/MXRoyale/src/main/royale/mx/containers/Form.as | 2 +-
 frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/Form.as b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/Form.as
index 56789d6..babeca7 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/Form.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/Form.as
@@ -529,7 +529,7 @@ public class Form extends Container
             }
         }
 
-		if (labelWidthSet)
+		if (labelWidthSet && labelWidth > 0)
         	measuredLabelWidth = labelWidth;
 
         return labelWidth;
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
index 2b8b571..6606c86 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Container.as
@@ -991,6 +991,8 @@ public class Container extends UIComponent
 		o.top = vm.top + pd.top;
 		o.bottom = vm.bottom + pd.bottom;
 		
+        if (isNaN(o.left) || isNaN(o.top))
+            _viewMetricsAndPadding = null; // don't cache invalid entry
 		return o;
 	}
 	


[royale-asjs] 08/10: eliminate warnings from Closure Compiler

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 14509349f5b466df8591a9729793b8aa7ed9fb7a
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Jan 10 13:34:36 2019 -0800

    eliminate warnings from Closure Compiler
---
 .../src/main/royale/spark/components/RichText.as   | 10 ++++----
 .../royale/textLayout/compose/TextFlowLine.as      |  1 +
 .../textLayout/container/ContainerController.as    |  6 +++--
 .../conversion/BaseTextLayoutExporter.as           |  4 +++-
 .../textLayout/conversion/TextLayoutImporter.as    |  4 +++-
 .../royale/textLayout/elements/LeadingUtils.as     |  2 ++
 .../royale/textLayout/elements/TableElement.as     |  4 +++-
 .../royale/textLayout/elements/TableLeafElement.as |  5 +++-
 .../events/FlowElementMouseEventManager.as         | 28 +++++++++++-----------
 9 files changed, 39 insertions(+), 25 deletions(-)

diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RichText.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RichText.as
index c3a982c..21974ab 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RichText.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/RichText.as
@@ -960,17 +960,17 @@ public class RichText extends TextBase implements IStyleClient
         // We might not have a valid _textFlow for two reasons:
         // either because the 'text' was set (which is the state
         // after construction) or because the 'content' was set.
+        /*
         if (!_textFlow)
         {
-            /*
             if (_content != null)
                 _textFlow = createTextFlowFromContent(_content);
             else
                 _textFlow = staticPlainTextImporter.importToFlow(_text);
             
             lastGeneration = _textFlow ? _textFlow.generation : 0;
-            */
         }
+        */
         /*
         _textFlow.addEventListener(DamageEvent.DAMAGE,
                                    textFlow_damageHandler);
@@ -1347,11 +1347,11 @@ public class RichText extends TextBase implements IStyleClient
         }
         else if (factory is TextFlowTextLineFactory)
         {
-            if (_textFlow && _textFlow.flowComposer)
-            {
+            // if (_textFlow && _textFlow.flowComposer)
+            // {
                 //_textFlow.flowComposer.swfContext = 
                 //    ISWFContext(embeddedFontContext);
-            }
+            // }
             
             //staticTextFlowFactory.swfContext = ISWFContext(embeddedFontContext);
             staticTextFlowFactory.createTextLines(addTextLine, _textFlow);
diff --git a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/compose/TextFlowLine.as b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/compose/TextFlowLine.as
index d9c78b1..c9caa77 100644
--- a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/compose/TextFlowLine.as
+++ b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/compose/TextFlowLine.as
@@ -1749,6 +1749,7 @@ package org.apache.royale.textLayout.compose
 		}
 
 		/** @private 
+         * @suppress {uselessCode}
 		 * 
 		 * ? Get a list of rects of the characters in the given textline? Used to show selection? JF 
 		 */
diff --git a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/container/ContainerController.as b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/container/ContainerController.as
index 88ab9ff..11451b7 100644
--- a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/container/ContainerController.as
+++ b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/container/ContainerController.as
@@ -4589,12 +4589,14 @@ package org.apache.royale.textLayout.container
 				var xpos:int = horizontalScrollPosition + xOrigin;
 				var ypos:int = verticalScrollPosition;
 				//Fix bug 2869747 textFlow.flowComposer.getControllerAt(0)
-				if(!_hasScrollRect)
+                CONFIG::debug { 
+                if(!_hasScrollRect)
 				{
 //TODO scrollRect
 //						_container.scrollRect = null;
-						CONFIG::debug { Debugging.traceFTECall(null,_container,"clearContainerScrollRect()"); }
+						Debugging.traceFTECall(null,_container,"clearContainerScrollRect()");
 				}
+                }
 				
 				if (textLength == 0 || xpos == 0 && ypos == 0 && _contentLeft >= xOrigin && _contentTop >= 0 && contentRight <= compositionRight && contentBottom <= compositionBottom)
 				{
diff --git a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/conversion/BaseTextLayoutExporter.as b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/conversion/BaseTextLayoutExporter.as
index 0af6da1..78979d0 100644
--- a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/conversion/BaseTextLayoutExporter.as
+++ b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/conversion/BaseTextLayoutExporter.as
@@ -465,12 +465,14 @@ package org.apache.royale.textLayout.conversion
 		{
 			var output:XMLList = exportContainerFormattedElement(exporter, textFlow);
 			
+            /*
 			if (exporter.config.whiteSpaceCollapse) {
 				// TextLayout will use PRESERVE on output
 //TODO @
 				// output.@[TextLayoutFormat.whiteSpaceCollapseProperty.name] = exporter.config.whiteSpaceCollapse;
 			}
-			
+			*/
+            
 			// TextLayout adds version information
 			output.@version = TextLayoutVersion.getVersionString(TextLayoutVersion.CURRENT_VERSION);
 						
diff --git a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/conversion/TextLayoutImporter.as b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/conversion/TextLayoutImporter.as
index c43b0b3..78013da 100644
--- a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/conversion/TextLayoutImporter.as
+++ b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/conversion/TextLayoutImporter.as
@@ -733,13 +733,15 @@ package org.apache.royale.textLayout.conversion
 			paragraph.backgroundColor = 0xFF0000;
 			paragraph.addChild(span);
 			
+            /*
 			if (editable) {
 				//textFlowContent.interactionManager = new EditManager(new UndoManager);
 			}
 			else if (selectable) {
 				//textFlowContent.interactionManager = new SelectionManager();
 			}
-			
+			*/
+            
 			textFlowContent.addChild(paragraph);
 			
 			return textFlowContent;
diff --git a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/LeadingUtils.as b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/LeadingUtils.as
index b640bbb..51e586f 100644
--- a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/LeadingUtils.as
+++ b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/LeadingUtils.as
@@ -45,6 +45,7 @@ package org.apache.royale.textLayout.elements
 				case LeadingModel.IDEOGRAPHIC_CENTER_DOWN:
 					return org.apache.royale.text.engine.TextBaseline.IDEOGRAPHIC_CENTER;
 			}
+            return null; // makes closure compiler 20181210 happy
 		}
 
 		/** @private */
@@ -67,6 +68,7 @@ package org.apache.royale.textLayout.elements
 				case LeadingModel.IDEOGRAPHIC_CENTER_DOWN:
 					return false;
 			}
+            return true; // makes closure compiler 20181210 happy
 		}
 	}
 }
diff --git a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/TableElement.as b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/TableElement.as
index 0c9b240..374fbc5 100644
--- a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/TableElement.as
+++ b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/TableElement.as
@@ -93,6 +93,7 @@ package org.apache.royale.textLayout.elements {
 		/** @private if its in a numbered list expand the damage to all list items - causes the numbers to be regenerated */
 		public override function modelChanged(changeType:String, elem:IFlowElement, changeStart:int, changeLen:int, needNormalize:Boolean = true, bumpGeneration:Boolean = true):void
 		{
+            /*
 			if (changeType==ModelChange.ELEMENT_ADDED) {
 				
 			}
@@ -101,7 +102,7 @@ package org.apache.royale.textLayout.elements {
 					
 				}
 			}
-			
+			*/
 			super.modelChanged(changeType,elem,changeStart,changeLen,needNormalize,bumpGeneration);
 		}
 		
@@ -750,6 +751,7 @@ package org.apache.royale.textLayout.elements {
 		}
 		
 		/**
+         * @suppress {uselessCode}
 		 * Sets the row and column indices of the cells in the table to match their logical position as described by the table columns and rows
 		 * @royaleignorecoercion org.apache.royale.textLayout.elements.ITableCellElement
 		 **/
diff --git a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/TableLeafElement.as b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/TableLeafElement.as
index 0e661d1..2f2d983 100644
--- a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/TableLeafElement.as
+++ b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/elements/TableLeafElement.as
@@ -39,7 +39,10 @@ package org.apache.royale.textLayout.elements {
 			return "TableLeafElement";
 		}
 
-		/** @private */
+		/** 
+         * @suppress {uselessCode}
+         * @private 
+         */
 		override public function createContentElement():void
 		{
 			// not sure if this makes sense...
diff --git a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/events/FlowElementMouseEventManager.as b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/events/FlowElementMouseEventManager.as
index 21f715f..9d4b4cd 100644
--- a/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/events/FlowElementMouseEventManager.as
+++ b/frameworks/projects/TLF/src/main/royale/org/apache/royale/textLayout/events/FlowElementMouseEventManager.as
@@ -223,8 +223,8 @@ package org.apache.royale.textLayout.events
 			var obj:Object;
 			
 			var elements:Array = [];
-			if (textFlow.interactiveObjectCount != 0 && startPos != endPos)	// check for empty container
-			{
+			// if (textFlow.interactiveObjectCount != 0 && startPos != endPos)	// check for empty container
+			// {
 //TODO commenting this out until we figure out what to do with interactive objects
 				// //New algorithm here to improve performance when there are link elements 
 				// var uniqueDictionary:ObjectMap = container.interactiveObjects;
@@ -249,19 +249,19 @@ package org.apache.royale.textLayout.events
 					
 				// }
 				
-				CONFIG::debug
-				{
-					if (elements.length)
-					{
-						for each (var elem:IFlowElement in elements)
-						{
+				// CONFIG::debug
+				// {
+					// if (elements.length)
+					// {
+						// for each (var elem:IFlowElement in elements)
+						// {
 							// trace(startPos,endPos,elem.defaultTypeName,elem.getAbsoluteStart(),elem.textLength);
-							assert(elem.getAbsoluteStart() < endPos,"updateHitTests bad absoluteStart");
-							assert(elem.getAbsoluteStart()+elem.textLength >= startPos,"updateHitTests bad absoluteEnd"); 
-						}
-					}
-				}
-			}
+							// assert(elem.getAbsoluteStart() < endPos,"updateHitTests bad absoluteStart");
+							// assert(elem.getAbsoluteStart()+elem.textLength >= startPos,"updateHitTests bad absoluteEnd"); 
+						// }
+					// }
+				// }
+			// }
 			
 			var newHitRects:Object;
 			var rectCount:int = 0;


[royale-asjs] 06/10: fix warnings in JQuery build

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit fa7501680b367146a71bcaadf703b9065a12b64f
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Jan 8 19:15:24 2019 -0800

    fix warnings in JQuery build
---
 frameworks/projects/JQuery/build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/JQuery/build.xml b/frameworks/projects/JQuery/build.xml
index f2da31d..0c2f3b8 100644
--- a/frameworks/projects/JQuery/build.xml
+++ b/frameworks/projects/JQuery/build.xml
@@ -91,7 +91,7 @@
             <arg value="-compiler.targets=SWF,JSRoyale" />
             <arg value="-output=${basedir}/target/${target.name}" />
             <arg value="-load-config=${basedir}/src/main/config/compile-swf-config.xml" />
-            <arg value="-js-load-config=${ROYALE_HOME}/frameworks/js-config.xml" />
+            <arg value="-js-load-config=${ROYALE_HOME}/frameworks/jquery-config.xml" />
             <arg value="-js-load-config+=${basedir}/../../js/projects/${ant.project.name}JS/src/main/config/compile-js-config.xml" />
         </java>
     </target>


[royale-asjs] 05/10: fix warnings in MXRoyale/SparkRoyale. The principle applied was to suppress warnings if the class was not going to be used from MXML or in RemoteObject. The RemoteObject classes still emit warnings and will be fixed in a later commit. If the class was used from MXML then the public vars were changed to getter/setter

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 12aa536f9f59d1746eb81cefc9dd1eed42653648
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Jan 8 19:12:52 2019 -0800

    fix warnings in MXRoyale/SparkRoyale.  The principle applied was to suppress warnings if the class was not going to be used from MXML or in RemoteObject.  The RemoteObject classes still emit warnings and will be fixed in a later commit.  If the class was used from MXML then the public vars were changed to getter/setter
---
 .../main/royale/mx/binding/utils/ChangeWatcher.as  |  2 +
 .../src/main/royale/mx/charts/AxisLabel.as         |  2 +
 .../src/main/royale/mx/charts/ChartItem.as         |  2 +
 .../MXRoyale/src/main/royale/mx/charts/HitData.as  |  2 +
 .../MXRoyale/src/main/royale/mx/charts/Legend.as   |  3 +
 .../src/main/royale/mx/charts/LegendItem.as        |  2 +
 .../royale/mx/charts/chartClasses/AxisLabelSet.as  |  2 +
 .../royale/mx/charts/chartClasses/BoundedValue.as  |  2 +
 .../mx/charts/chartClasses/CartesianChart.as       | 22 +++++-
 .../royale/mx/charts/chartClasses/ChartBase.as     | 26 +++++--
 .../mx/charts/chartClasses/DataDescription.as      |  2 +
 .../main/royale/mx/charts/chartClasses/DataTip.as  |  2 +
 .../royale/mx/charts/chartClasses/InstanceCache.as |  2 +
 .../royale/mx/charts/chartClasses/LegendData.as    |  2 +
 .../royale/mx/charts/chartClasses/NumericAxis.as   |  4 ++
 .../royale/mx/charts/chartClasses/RenderData.as    |  2 +
 .../main/royale/mx/charts/effects/SeriesEffect.as  | 44 ++++++++++--
 .../main/royale/mx/charts/effects/SeriesSlide.as   | 11 ++-
 .../main/royale/mx/charts/effects/SeriesZoom.as    | 33 ++++++++-
 .../effects/effectClasses/SeriesEffectInstance.as  |  2 +
 .../effects/effectClasses/SeriesSlideInstance.as   |  2 +
 .../effects/effectClasses/SeriesZoomInstance.as    |  2 +
 .../main/royale/mx/charts/events/ChartItemEvent.as |  2 +
 .../royale/mx/charts/events/LegendMouseEvent.as    |  2 +
 .../mx/charts/renderers/CrossItemRenderer.as       | 11 ++-
 .../main/royale/mx/charts/series/BubbleSeries.as   | 22 +++++-
 .../src/main/royale/mx/charts/series/PieSeries.as  | 11 ++-
 .../mx/charts/series/items/AreaSeriesItem.as       |  2 +
 .../royale/mx/charts/series/items/BarSeriesItem.as |  2 +
 .../mx/charts/series/items/BubbleSeriesItem.as     |  2 +
 .../mx/charts/series/items/ColumnSeriesItem.as     |  2 +
 .../mx/charts/series/items/HLOCSeriesItem.as       |  2 +
 .../mx/charts/series/items/LineSeriesItem.as       |  2 +
 .../mx/charts/series/items/LineSeriesSegment.as    |  2 +
 .../royale/mx/charts/series/items/PieSeriesItem.as |  2 +
 .../mx/charts/series/items/PlotSeriesItem.as       |  2 +
 .../series/renderData/AreaSeriesRenderData.as      |  2 +
 .../series/renderData/BarSeriesRenderData.as       |  2 +
 .../series/renderData/ColumnSeriesRenderData.as    |  2 +
 .../series/renderData/HLOCSeriesRenderData.as      |  2 +
 .../series/renderData/LineSeriesRenderData.as      |  2 +
 .../series/renderData/PieSeriesRenderData.as       |  2 +
 .../series/renderData/PlotSeriesRenderData.as      |  2 +
 .../mx/containers/beads/models/PanelModel.as       | 44 ++++++++++--
 .../mx/containers/gridClasses/GridColumnInfo.as    |  2 +
 .../mx/containers/gridClasses/GridRowInfo.as       |  2 +
 .../main/royale/mx/controls/AdvancedDataGrid.as    | 22 +++++-
 .../MXRoyale/src/main/royale/mx/controls/Alert.as  |  2 +
 .../main/royale/mx/controls/RichTextEditor.mxml    | 17 +++++
 .../treeClasses/HierarchicalCollectionView.as      |  8 ++-
 .../src/main/royale/mx/core/FlexCSSStyles.as       |  2 +
 .../src/main/royale/mx/core/UITextFormat.as        |  2 +
 .../royale/mx/events/CalendarLayoutChangeEvent.as  |  2 +
 .../src/main/royale/mx/events/DragEvent.as         |  2 +
 .../src/main/royale/mx/events/MenuEvent.as         |  2 +
 .../main/royale/mx/events/NumericStepperEvent.as   |  2 +
 .../src/main/royale/mx/events/ToolTipEvent.as      |  2 +
 .../src/main/royale/mx/events/TreeEvent.as         |  2 +
 .../src/main/royale/mx/events/TweenEvent.as        |  2 +
 .../src/main/royale/mx/formatters/Formatter.as     |  2 +
 .../src/main/royale/mx/formatters/NumberBase.as    | 55 +++++++++++++--
 .../src/main/royale/mx/logging/LogEvent.as         |  2 +
 .../mx/logging/targets/LineFormattedTarget.as      |  2 +
 .../royale/mx/managers/SystemManagerGlobals.as     |  2 +
 .../src/main/royale/mx/messaging/Channel.as        |  2 +
 .../royale/mx/messaging/config/ServerConfig.as     |  2 +
 .../royale/mx/messaging/events/ChannelEvent.as     |  2 +
 .../mx/messaging/events/ChannelFaultEvent.as       |  2 +
 .../royale/mx/messaging/events/MessageAckEvent.as  |  2 +
 .../royale/mx/messaging/events/MessageEvent.as     |  2 +
 .../mx/messaging/events/MessageFaultEvent.as       |  2 +
 .../messaging/messages/MessagePerformanceUtils.as  |  1 +
 .../src/main/royale/mx/net/NetConnection.as        |  2 +
 .../MXRoyale/src/main/royale/mx/net/Responder.as   |  2 +
 .../src/main/royale/mx/netmon/NetworkMonitor.as    |  2 +
 .../src/main/royale/mx/rpc/AbstractInvoker.as      |  6 ++
 .../src/main/royale/mx/rpc/AbstractOperation.as    |  4 ++
 .../MXRoyale/src/main/royale/mx/rpc/Fault.as       |  2 +
 .../main/royale/mx/rpc/http/AbstractOperation.as   | 80 ++++++++++++++++++----
 .../main/royale/mx/rpc/http/HTTPMultiService.as    | 71 ++++++++++++++++---
 .../src/main/royale/mx/rpc/remoting/Operation.as   | 11 ++-
 .../main/royale/mx/rpc/remoting/RemoteObject.as    |  4 ++
 .../src/main/royale/mx/states/Transition.as        | 11 ++-
 .../MXRoyale/src/main/royale/mx/text/TextFormat.as |  2 +
 .../royale/mx/validators/RegExpValidationResult.as |  2 +
 .../main/royale/mx/validators/ValidationResult.as  |  2 +
 .../src/main/royale/spark/components/ButtonBar.as  |  2 +
 .../src/main/royale/spark/components/DataGrid.as   |  2 +
 .../src/main/royale/spark/components/Form.as       |  3 +
 .../src/main/royale/spark/components/FormItem.as   |  2 +
 .../src/main/royale/spark/components/TextArea.as   |  2 +
 .../spark/components/beads/DropDownListView.as     |  5 +-
 .../spark/components/gridClasses/DataGridEditor.as |  2 +
 .../components/gridClasses/GridDimensionsView.as   |  2 +
 .../royale/spark/events/GridItemEditorEvent.as     |  2 +
 .../main/royale/spark/events/GridSelectionEvent.as |  2 +
 .../src/main/royale/spark/events/GridSortEvent.as  |  2 +
 .../src/main/royale/spark/events/PopUpEvent.as     |  2 +
 .../main/royale/spark/layouts/VerticalLayout.as    |  6 +-
 .../spark/layouts/supportClasses/DropLocation.as   |  2 +
 100 files changed, 622 insertions(+), 61 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/binding/utils/ChangeWatcher.as b/frameworks/projects/MXRoyale/src/main/royale/mx/binding/utils/ChangeWatcher.as
index 5337070..e5805d6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/binding/utils/ChangeWatcher.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/binding/utils/ChangeWatcher.as
@@ -415,6 +415,8 @@ public class ChangeWatcher
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var useWeakReference:Boolean;
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/AxisLabel.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/AxisLabel.as
index 2b24ab0..88e588a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/AxisLabel.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/AxisLabel.as
@@ -33,6 +33,8 @@ package mx.charts
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class AxisLabel 
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/ChartItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/ChartItem.as
index 8f72978..666feda 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/ChartItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/ChartItem.as
@@ -41,6 +41,8 @@ import mx.core.IUIComponent;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class ChartItem extends EventDispatcher
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/HitData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/HitData.as
index 81ba2b6..edbe1fc 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/HitData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/HitData.as
@@ -42,6 +42,8 @@ import mx.charts.chartClasses.GraphicsUtilities;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class HitData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/Legend.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/Legend.as
index be6d5b8..8d4927d 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/Legend.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/Legend.as
@@ -781,6 +781,7 @@ package mx.charts
         
         /**
          *  @private
+         *  @royalesuppresspublicvarwarning
          */
         public var recursionFlag:Boolean = true;
         
@@ -1462,6 +1463,8 @@ package mx.charts
          *  @playerversion Flash 9
          *  @playerversion AIR 1.1
          *  @productversion Flex 3
+         * 
+         *  @royalesuppresspublicvarwarning
          */
         public var legendItemClass:Class = LegendItem;
         
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/LegendItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/LegendItem.as
index f0a5830..68433ba 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/LegendItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/LegendItem.as
@@ -155,6 +155,8 @@ include "styles/metadata/TextStyles.as"
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class LegendItem extends UIComponent
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/AxisLabelSet.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/AxisLabelSet.as
index 7d0c323..498d3c3 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/AxisLabelSet.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/AxisLabelSet.as
@@ -28,6 +28,8 @@ package mx.charts.chartClasses
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class AxisLabelSet
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/BoundedValue.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/BoundedValue.as
index df9cbcb..1044bb4 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/BoundedValue.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/BoundedValue.as
@@ -38,6 +38,8 @@ package mx.charts.chartClasses
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class BoundedValue
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/CartesianChart.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/CartesianChart.as
index 67c8f4d..35fbe46 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/CartesianChart.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/CartesianChart.as
@@ -490,6 +490,8 @@ public class CartesianChart extends ChartBase
     //  horizontalAxisRatio
     //----------------------------------
 
+    private var _horizontalAxisRatio:Number = 0.33;
+    
     [Inspectable(category="Data")]
     
     /**
@@ -503,7 +505,14 @@ public class CartesianChart extends ChartBase
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var horizontalAxisRatio:Number = 0.33;
+    public function get horizontalAxisRatio():Number
+    {
+        return _horizontalAxisRatio;
+    }
+    public function set horizontalAxisRatio(value:Number):void
+    {
+        _horizontalAxisRatio = value
+    }
     
     //----------------------------------
     //  horizontalAxisRenderer
@@ -665,6 +674,8 @@ public class CartesianChart extends ChartBase
     //  verticalAxisRatio
     //----------------------------------
     
+    private var _verticalAxisRatio:Number = 0.33;
+    
     [Inspectable(category="Data")]
     
     /**
@@ -678,7 +689,14 @@ public class CartesianChart extends ChartBase
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var verticalAxisRatio:Number = 0.33;
+    public function get verticalAxisRatio():Number
+    {
+        return _verticalAxisRatio;
+    }
+    public function set verticalAxisRatio(value:Number):void
+    {
+        _verticalAxisRatio = value;
+    }
 
     //----------------------------------
     //  verticalAxisRenderer
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/ChartBase.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/ChartBase.as
index ceb4e0d..0c24c26 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/ChartBase.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/ChartBase.as
@@ -37,7 +37,6 @@ import mx.collections.XMLListCollection;
 import mx.core.DragSource;
 import mx.core.EventPriority;
 import mx.core.FlexGlobals;
-//import mx.core.FlexShape;
 import mx.core.IDataRenderer;
 import mx.core.IFlexDisplayObject;
 import mx.core.IFlexModuleFactory;
@@ -960,6 +959,7 @@ public class ChartBase extends UIComponent implements IFocusManagerComponent
     
     /**
      *  @private
+     *  @royalesuppresspublicvarwarning
      */
     public var dataTipItemsSet:Boolean = false;
     
@@ -1223,6 +1223,8 @@ public class ChartBase extends UIComponent implements IFocusManagerComponent
     //  dataTipFunction
     //----------------------------------
 
+    private var _dataTipFunction:Function;
+    
     [Inspectable(category="Data")]
     
     /**
@@ -1240,7 +1242,14 @@ public class ChartBase extends UIComponent implements IFocusManagerComponent
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var dataTipFunction:Function;
+    public function get dataTipFunction():Function
+    {
+        return _dataTipFunction;
+    }
+    public function set dataTipFunction(value:Function):void
+    {
+        _dataTipFunction = value;
+    }
 
     //----------------------------------
     //  dataTipLayerIndex
@@ -1566,7 +1575,9 @@ public class ChartBase extends UIComponent implements IFocusManagerComponent
     //----------------------------------
     //  mouseSensitivity
     //----------------------------------
-
+    
+    private var _mouseSensitivity:Number = 5;
+    
     /**
      *  Specifies the distance, in pixels, that Flex considers a data point
      *  to be under the mouse pointer when the pointer moves around a chart.
@@ -1581,7 +1592,14 @@ public class ChartBase extends UIComponent implements IFocusManagerComponent
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var mouseSensitivity:Number = 5;
+    public function get mouseSensitivity():Number
+    {
+        return _mouseSensitivity;
+    }
+    public function set mouseSensitivity(value:Number):void
+    {
+        _mouseSensitivity = value;
+    }
 
     //----------------------------------
     //  selectedChartItem
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DataDescription.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DataDescription.as
index 75540f9..991f202 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DataDescription.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DataDescription.as
@@ -31,6 +31,8 @@ package mx.charts.chartClasses
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class DataDescription
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DataTip.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DataTip.as
index 203f9be..6e090f3 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DataTip.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/DataTip.as
@@ -223,6 +223,8 @@ public class DataTip extends UIComponent implements IDataRenderer
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public static var maxTipWidth:Number = 300;
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/InstanceCache.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/InstanceCache.as
index 334713b..eb1cbce 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/InstanceCache.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/InstanceCache.as
@@ -36,6 +36,8 @@ import mx.core.IUITextField;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */   
 public class InstanceCache
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/LegendData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/LegendData.as
index fbcf81f..31565dd 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/LegendData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/LegendData.as
@@ -32,6 +32,8 @@ import mx.core.IFlexDisplayObject;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class LegendData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/NumericAxis.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/NumericAxis.as
index 2b1ea63..457cfc4 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/NumericAxis.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/NumericAxis.as
@@ -254,6 +254,8 @@ public class NumericAxis extends AxisBase implements IAxis
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var computedMaximum:Number;
     
@@ -274,6 +276,8 @@ public class NumericAxis extends AxisBase implements IAxis
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var computedMinimum:Number;
     
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/RenderData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/RenderData.as
index 4566802..2fe0404 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/RenderData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/chartClasses/RenderData.as
@@ -38,6 +38,8 @@ import org.apache.royale.geom.Rectangle;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class RenderData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesEffect.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesEffect.as
index 33665c7..fe482d4 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesEffect.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesEffect.as
@@ -85,6 +85,8 @@ public class SeriesEffect extends TweenEffect
     //  elementOffset
     //----------------------------------
 
+    private var _elementOffset:Number = 20;
+    
     [Inspectable(category="General", defaultValue="20")]
 
     /**
@@ -115,12 +117,21 @@ public class SeriesEffect extends TweenEffect
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var elementOffset:Number = 20;
+    public function get elementOffset():Number
+    {
+        return _elementOffset;
+    }
+    public function set elementOffset(value:Number):void
+    {
+        _elementOffset = value;
+    }
 
     //----------------------------------
     //  minimumElementDuration
     //----------------------------------
 
+    private var _minimumElementDuration:Number = 0;
+    
     [Inspectable(category="General", defaultValue="0")]
 
     /**
@@ -163,12 +174,21 @@ public class SeriesEffect extends TweenEffect
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var minimumElementDuration:Number = 0;
+    public function get minimumElementDuration():Number
+    {
+        return _minimumElementDuration;
+    }
+    public function set minimumElementDuration(value:Number):void
+    {
+        _minimumElementDuration = value;
+    }
 
     //----------------------------------
     //  offset
     //----------------------------------
 
+    private var _offset:Number = 0;
+    
     [Inspectable(category="General", defaultValue="0")]
 
     /**
@@ -184,12 +204,21 @@ public class SeriesEffect extends TweenEffect
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var offset:Number = 0;
+    public function get offset():Number
+    {
+        return _offset;
+    }
+    public function set offset(value:Number):void
+    {
+        _offset = value;
+    }
 
     //----------------------------------
     //  type
     //----------------------------------
 
+    private var _type:String = "show";
+
     [Inspectable(environment="none")]
 
     /**
@@ -202,7 +231,14 @@ public class SeriesEffect extends TweenEffect
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var type:String = "show";
+    public function get type():String
+    {
+        return _type;
+    }
+    public function set type(value:String):void
+    {
+        _type = value;
+    }
     
     //--------------------------------------------------------------------------
     //
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesSlide.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesSlide.as
index 5eaa762..57144d1 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesSlide.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesSlide.as
@@ -94,6 +94,8 @@ public class SeriesSlide extends SeriesEffect
 	//  direction
 	//----------------------------------
 
+    private var _direction:String = "left";
+    
 	[Inspectable(category="General", enumeration="left,right,up,down", defaultValue="left")]
 
 	/**
@@ -107,7 +109,14 @@ public class SeriesSlide extends SeriesEffect
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
 	 */
-	public var direction:String = "left";
+	public function get direction():String
+    {
+        return _direction;
+    }
+    public function set direction(value:String):void
+    {
+        _direction = value;
+    }
 
     //--------------------------------------------------------------------------
     //
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesZoom.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesZoom.as
index 8c5c166..e5e75d6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesZoom.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/SeriesZoom.as
@@ -89,6 +89,8 @@ public class SeriesZoom extends SeriesEffect
     //----------------------------------
     //  horizontalFocus
     //----------------------------------
+    
+    private var _horizontalFocus:String;
 
     [Inspectable(category="General", enumeration="left,center,right")]
 
@@ -125,11 +127,20 @@ public class SeriesZoom extends SeriesEffect
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var horizontalFocus:String;
+    public function get horizontalFocus():String
+    {
+        return _horizontalFocus;
+    }
+    public function set horizontalFocus(value:String):void
+    {
+        _horizontalFocus = value;
+    }
     
     //----------------------------------
     //  relativeTo
     //----------------------------------
+    
+    private var _relativeTo:String = "series";
 
     [Inspectable(category="General", enumeration="series,chart", defaultValue="series")]
 
@@ -157,12 +168,21 @@ public class SeriesZoom extends SeriesEffect
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var relativeTo:String = "series";
+    public function get relativeTo():String
+    {
+        return _relativeTo;
+    }
+    public function set relativeTo(value:String):void
+    {
+        _relativeTo = value;
+    }
 
     //----------------------------------
     //  verticalFocus
     //----------------------------------
 
+    private var _verticalFocus:String;
+    
     [Inspectable(category="General", enumeration="top,center,bottom")]
 
     /**
@@ -181,7 +201,14 @@ public class SeriesZoom extends SeriesEffect
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var verticalFocus:String;
+    public function get verticalFocus():String
+    {
+        return _verticalFocus;
+    }
+    public function set verticalFocus(value:String):void
+    {
+        _verticalFocus = value;
+    }
     
     //--------------------------------------------------------------------------
     //
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesEffectInstance.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesEffectInstance.as
index 2046713..c9ce450 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesEffectInstance.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesEffectInstance.as
@@ -36,6 +36,8 @@ import mx.events.TweenEvent;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */  
 public class SeriesEffectInstance extends TweenEffectInstance
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesSlideInstance.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesSlideInstance.as
index 43034e8..3bd38f9 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesSlideInstance.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesSlideInstance.as
@@ -104,6 +104,8 @@ public class SeriesSlideInstance extends SeriesEffectInstance
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var direction:String = "left";
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesZoomInstance.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesZoomInstance.as
index 29ecc1d..193aa7f 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesZoomInstance.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/effects/effectClasses/SeriesZoomInstance.as
@@ -35,6 +35,8 @@ import org.apache.royale.geom.Rectangle;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */  
 public class SeriesZoomInstance extends SeriesEffectInstance
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/events/ChartItemEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/events/ChartItemEvent.as
index 2e43e2d..dcb6add 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/events/ChartItemEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/events/ChartItemEvent.as
@@ -35,6 +35,8 @@ import org.apache.royale.geom.Point;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class ChartItemEvent extends MouseEvent
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/events/LegendMouseEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/events/LegendMouseEvent.as
index 9e9a0b1..3a60b5e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/events/LegendMouseEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/events/LegendMouseEvent.as
@@ -33,6 +33,8 @@ import mx.charts.LegendItem;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class LegendMouseEvent extends MouseEvent
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/renderers/CrossItemRenderer.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/renderers/CrossItemRenderer.as
index c2ea50e..72692e8 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/renderers/CrossItemRenderer.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/renderers/CrossItemRenderer.as
@@ -126,6 +126,8 @@ public class CrossItemRenderer extends ProgrammaticSkin implements IDataRenderer
 	//  thickness
     //----------------------------------
 
+    private var _thickness:Number = 3;
+    
 	[Inspectable]
 
 	/**
@@ -138,7 +140,14 @@ public class CrossItemRenderer extends ProgrammaticSkin implements IDataRenderer
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
 	 */
-	public var thickness:Number = 3;
+	public function get thickness():Number
+    {
+        return _thickness;
+    }
+    public function set thickness(value:Number):void
+    {
+        _thickness = value;
+    }
 	
     //--------------------------------------------------------------------------
     //
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/BubbleSeries.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/BubbleSeries.as
index abd4e93..89435e0 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/BubbleSeries.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/BubbleSeries.as
@@ -447,6 +447,8 @@ public class BubbleSeries extends Series
     //  maxRadius
     //----------------------------------
 
+    private var _maxRadius:Number = 50;
+    
     [Inspectable(category="General")]
     
     /**
@@ -459,12 +461,21 @@ public class BubbleSeries extends Series
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var maxRadius:Number = 50;
+    public function get maxRadius():Number
+    {
+        return _maxRadius;
+    }
+    public function set maxRadius(value:Number):void
+    {
+        _maxRadius = value;
+    }
     
     //----------------------------------
     //  minRadius
     //----------------------------------
 
+    private var _minRadius:Number = 0;
+    
     [Inspectable(category="General")]
     
     /**
@@ -476,7 +487,14 @@ public class BubbleSeries extends Series
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var minRadius:Number = 0;
+    public function get minRadius():Number
+    {
+        return _minRadius;
+    }
+    public function set minRadius(value:Number):void
+    {
+        _minRadius = value;
+    }
 
     //----------------------------------
     //  radiusAxis
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/PieSeries.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/PieSeries.as
index b4c6b00..fff5473 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/PieSeries.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/PieSeries.as
@@ -893,6 +893,8 @@ public class PieSeries extends Series
     //  maxLabelRadius
     //----------------------------------
 
+    private var _maxLabelRadius:Number = 0.6;
+    
     [Inspectable(category="General")]
     
     /**
@@ -912,7 +914,14 @@ public class PieSeries extends Series
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var maxLabelRadius:Number = 0.6;
+    public function get maxLabelRadius():Number
+    {
+        return _maxLabelRadius;
+    }
+    public function set maxLabelRadius(value:Number):void
+    {
+        _maxLabelRadius = value;
+    }
 
     //----------------------------------
     //  nameField
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/AreaSeriesItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/AreaSeriesItem.as
index b14b3fb..59b3d05 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/AreaSeriesItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/AreaSeriesItem.as
@@ -33,6 +33,8 @@ import mx.graphics.IFill;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class AreaSeriesItem extends ChartItem
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/BarSeriesItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/BarSeriesItem.as
index fe2f0f6..04db9b8 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/BarSeriesItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/BarSeriesItem.as
@@ -33,6 +33,8 @@ use namespace mx_internal;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class BarSeriesItem extends ChartItem
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/BubbleSeriesItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/BubbleSeriesItem.as
index 946ada6..887170e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/BubbleSeriesItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/BubbleSeriesItem.as
@@ -31,6 +31,8 @@ import mx.graphics.IFill;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class BubbleSeriesItem extends ChartItem
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/ColumnSeriesItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/ColumnSeriesItem.as
index 6b3b399..525295a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/ColumnSeriesItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/ColumnSeriesItem.as
@@ -33,6 +33,8 @@ use namespace mx_internal;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class ColumnSeriesItem extends ChartItem
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/HLOCSeriesItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/HLOCSeriesItem.as
index ccd5ee6..ceb69a6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/HLOCSeriesItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/HLOCSeriesItem.as
@@ -31,6 +31,8 @@ import mx.graphics.IFill;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class HLOCSeriesItem extends ChartItem
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/LineSeriesItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/LineSeriesItem.as
index 6602c36..8b3c29a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/LineSeriesItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/LineSeriesItem.as
@@ -31,6 +31,8 @@ import mx.graphics.IFill;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class LineSeriesItem extends ChartItem
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/LineSeriesSegment.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/LineSeriesSegment.as
index 5741e3f..84ccb2a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/LineSeriesSegment.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/LineSeriesSegment.as
@@ -32,6 +32,8 @@ import mx.charts.series.LineSeries;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class LineSeriesSegment
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/PieSeriesItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/PieSeriesItem.as
index d4d14a8..e9d9808 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/PieSeriesItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/PieSeriesItem.as
@@ -38,6 +38,8 @@ use namespace mx_internal;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class PieSeriesItem extends ChartItem
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/PlotSeriesItem.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/PlotSeriesItem.as
index 947ac6f..55bf7d5 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/PlotSeriesItem.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/items/PlotSeriesItem.as
@@ -31,6 +31,8 @@ import mx.graphics.IFill;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class PlotSeriesItem extends ChartItem
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/AreaSeriesRenderData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/AreaSeriesRenderData.as
index eb953fe..f30669b 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/AreaSeriesRenderData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/AreaSeriesRenderData.as
@@ -30,6 +30,8 @@ import mx.charts.series.AreaSeries;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class AreaSeriesRenderData extends RenderData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/BarSeriesRenderData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/BarSeriesRenderData.as
index 79b857f..8ef7cb9 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/BarSeriesRenderData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/BarSeriesRenderData.as
@@ -29,6 +29,8 @@ import mx.charts.chartClasses.RenderData;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class BarSeriesRenderData extends RenderData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/ColumnSeriesRenderData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/ColumnSeriesRenderData.as
index ec7f059..a5ac5ad 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/ColumnSeriesRenderData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/ColumnSeriesRenderData.as
@@ -29,6 +29,8 @@ import mx.charts.chartClasses.RenderData
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class ColumnSeriesRenderData extends RenderData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/HLOCSeriesRenderData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/HLOCSeriesRenderData.as
index 516dbb9..502f954 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/HLOCSeriesRenderData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/HLOCSeriesRenderData.as
@@ -29,6 +29,8 @@ import mx.charts.chartClasses.RenderData;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class HLOCSeriesRenderData extends RenderData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/LineSeriesRenderData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/LineSeriesRenderData.as
index 76ebf66..881a6b4 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/LineSeriesRenderData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/LineSeriesRenderData.as
@@ -29,6 +29,8 @@ import mx.charts.chartClasses.RenderData;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class LineSeriesRenderData extends RenderData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/PieSeriesRenderData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/PieSeriesRenderData.as
index 4f189a7..d7e736c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/PieSeriesRenderData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/PieSeriesRenderData.as
@@ -29,6 +29,8 @@ import mx.charts.chartClasses.RenderData
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class PieSeriesRenderData extends RenderData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/PlotSeriesRenderData.as b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/PlotSeriesRenderData.as
index c889c6f..751c596 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/PlotSeriesRenderData.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/charts/series/renderData/PlotSeriesRenderData.as
@@ -29,6 +29,8 @@ import mx.charts.chartClasses.RenderData;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class PlotSeriesRenderData extends RenderData
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/models/PanelModel.as b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/models/PanelModel.as
index 7561a62..ed5a088 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/models/PanelModel.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/models/PanelModel.as
@@ -62,10 +62,46 @@ public class PanelModel extends org.apache.royale.html.beads.models.PanelModel
         _layout = value;
     }
 
-    public var paddingBottom:String;
-    public var paddingTop:String;
-    public var paddingLeft:String;
-    public var paddingRight:String;
+    private var _paddingBottom:String;
+    public function get paddingBottom():String
+    {
+        return _paddingBottom;
+    }
+    
+    public function set paddingBottom(value:String):void
+    {
+        _paddingBottom = value;
+    }
+    
+    private var _paddingTop:String;
+    public function get paddingTop():String
+    {
+        return _paddingTop;
+    }
+    public function set paddingTop(value:String):void
+    {
+        _paddingTop = value;
+    }
+    
+    private var _paddingLeft:String;
+    public function get paddingLeft():String
+    {
+        return _paddingLeft;
+    }
+    public function set paddingLeft(value:String):void
+    {
+        _paddingLeft = value;
+    }
+    
+    private var _paddingRight:String;
+    public function get paddingRight():String
+    {
+        return _paddingRight;
+    }
+    public function set paddingRight(value:String):void
+    {
+        _paddingRight = value;
+    }
     
 }
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/gridClasses/GridColumnInfo.as b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/gridClasses/GridColumnInfo.as
index 9cbf18c..ee79784 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/gridClasses/GridColumnInfo.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/gridClasses/GridColumnInfo.as
@@ -29,6 +29,8 @@ import mx.core.UIComponent;
  *  @private
  *  Internal helper class used to exchange information between
  *  Grid and GridRow.
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class GridColumnInfo extends FlexChildInfo
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/gridClasses/GridRowInfo.as b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/gridClasses/GridRowInfo.as
index b765459..56bf342 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/gridClasses/GridRowInfo.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/gridClasses/GridRowInfo.as
@@ -28,6 +28,8 @@ import mx.core.UIComponent;
  *  @private
  *  Internal helper class used to exchange information between
  *  Grid and GridRow.
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class GridRowInfo
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
index 0ec02f9..e0c3440 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/AdvancedDataGrid.as
@@ -9409,6 +9409,8 @@ public class AdvancedDataGrid extends AdvancedListBase
     //  sortableColumns copied from AdvancedDataGridBaseEx
     //----------------------------------
 
+    private var _sortableColumns:Boolean = true;
+    
     // [Inspectable(category="General")]
 
     /**
@@ -9443,7 +9445,14 @@ public class AdvancedDataGrid extends AdvancedListBase
      *  @productversion Royale 0.9.4
      * 	@royalesuppresspublicvarwarning 
 	 */
-    public var sortableColumns:Boolean = true;
+    public function get sortableColumns():Boolean
+    {
+        return _sortableColumns;
+    }
+    public function set sortableColumns(value:Boolean):void
+    {
+        _sortableColumns = value;
+    }
 	
     //----------------------------------
     //  sortExpertMode copied from AdvancedDataGridBaseEx
@@ -9628,6 +9637,8 @@ public class AdvancedDataGrid extends AdvancedListBase
     //  resizableColumns copied from AdvancedDataGridBaseEx
     //----------------------------------
 
+    private var _resizableColumns:Boolean = true;
+    
    // [Inspectable(category="General")]
 
     /**
@@ -9646,7 +9657,14 @@ public class AdvancedDataGrid extends AdvancedListBase
      *  @playerversion AIR 1.1
      *  @productversion Royale 0.9.4
      */
-    public var resizableColumns:Boolean = true;
+    public function get resizableColumns():Boolean
+    {
+        return _resizableColumns;
+    }
+    public function set resizableColumns(value:Boolean):void
+    {
+        _resizableColumns = value;
+    }
 	    
 	
 	
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Alert.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Alert.as
index 9a3b79c..609bca2 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Alert.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Alert.as
@@ -287,6 +287,8 @@ public class Alert extends Panel
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Royale 0.9.3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public static var buttonWidth:Number = 65;
     
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RichTextEditor.mxml b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RichTextEditor.mxml
index 42f3b6e..418e138 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RichTextEditor.mxml
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/RichTextEditor.mxml
@@ -318,6 +318,8 @@
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var fontFamilyToolTip:String = "Font Family";
 
@@ -331,6 +333,8 @@
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var fontSizeToolTip:String = "Font Size";
 
@@ -344,6 +348,8 @@
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var boldToolTip:String = "Bold";
 
@@ -357,6 +363,8 @@
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var italicToolTip:String = "Italic";
 
@@ -370,6 +378,8 @@
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var underlineToolTip:String = "Underline";
 
@@ -383,6 +393,8 @@
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var colorPickerToolTip:String = "Color";
 
@@ -397,6 +409,8 @@
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var alignToolTip:String = "Align";
 
@@ -410,6 +424,8 @@
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var bulletToolTip:String = "Bullet";
 
@@ -423,6 +439,7 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      * 
+     *  @royalesuppresspublicvarwarning
      */
     public var linkToolTip:String = "Link";
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/HierarchicalCollectionView.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/HierarchicalCollectionView.as
index 77427fb..6ed7cf9 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/HierarchicalCollectionView.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/HierarchicalCollectionView.as
@@ -136,15 +136,19 @@ public class HierarchicalCollectionView extends EventDispatcher
 
 	/**
 	 *  @private
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
-	public var openNodes:Object;
+	public var openNodes:Object; // change to get/set if folks set it from MXML
 
 	/**
 	 *  @private
 	 *  Mapping of UID to parents.  Must be maintained as things get removed/added
 	 *  This map is created as objects are visited
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
-	public var parentMap:Object;
+	public var parentMap:Object; // change to get/set if folks set it from MXML
 
 	/**
 	 *  @private
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/FlexCSSStyles.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/FlexCSSStyles.as
index 3f8a081..a82db70 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/FlexCSSStyles.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/FlexCSSStyles.as
@@ -49,6 +49,8 @@ import mx.styles.ISimpleStyleClient;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class FlexCSSStyles extends AllCSSStyles
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UITextFormat.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UITextFormat.as
index a81ef66..e298baf 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UITextFormat.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UITextFormat.as
@@ -50,6 +50,8 @@ import mx.managers.ISystemManager;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class UITextFormat extends TextFormat
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/CalendarLayoutChangeEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/CalendarLayoutChangeEvent.as
index a624fc4..70d6b4c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/CalendarLayoutChangeEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/CalendarLayoutChangeEvent.as
@@ -35,6 +35,8 @@ import org.apache.royale.events.IRoyaleEvent;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class CalendarLayoutChangeEvent extends Event
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/DragEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/DragEvent.as
index 8c00ac0..5aac5d0 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/DragEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/DragEvent.as
@@ -38,6 +38,8 @@ import mx.core.IUIComponent;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class DragEvent extends MouseEvent
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/MenuEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/MenuEvent.as
index 90e7018..aba093b 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/MenuEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/MenuEvent.as
@@ -41,6 +41,8 @@ import mx.controls.listClasses.IListItemRenderer;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Royale 0.9.3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class MenuEvent extends ListEvent
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/NumericStepperEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/NumericStepperEvent.as
index f660804..b2f39d8 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/NumericStepperEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/NumericStepperEvent.as
@@ -32,6 +32,8 @@ import org.apache.royale.events.IRoyaleEvent;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class NumericStepperEvent extends Event
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/ToolTipEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/ToolTipEvent.as
index 83208c0..c4154d8 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/ToolTipEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/ToolTipEvent.as
@@ -36,6 +36,8 @@ package mx.events
 	 *  @playerversion Flash 9
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
 	public class ToolTipEvent extends Event
 	{
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/TreeEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/TreeEvent.as
index 6d587db..514e900 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/TreeEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/TreeEvent.as
@@ -35,6 +35,8 @@ package mx.events
 	 *  @playerversion Flash 9
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
 	public class TreeEvent extends Event
 	{
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/TweenEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/TweenEvent.as
index 7ce06d8..599325c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/TweenEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/TweenEvent.as
@@ -37,6 +37,8 @@ import org.apache.royale.events.Event;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class TweenEvent extends Event
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/Formatter.as b/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/Formatter.as
index 92fe7d1..cd08e1a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/Formatter.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/Formatter.as
@@ -298,6 +298,8 @@ public class Formatter implements IFormatter
 	 *  @playerversion Flash 9
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
 	public var error:String;
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/NumberBase.as b/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/NumberBase.as
index d7e7829..0911841 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/NumberBase.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/NumberBase.as
@@ -89,6 +89,8 @@ public class NumberBase
 	//  decimalSeparatorFrom
 	//----------------------------------
 
+    private var _decimalSeparatorFrom:String;
+    
 	/**
      *  Decimal separator character to use
 	 *  when parsing an input String.
@@ -100,12 +102,20 @@ public class NumberBase
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
 	 */
-	public var decimalSeparatorFrom:String;
+	public function get decimalSeparatorFrom():String
+    {
+        return _decimalSeparatorFrom;
+    }
+    public function set decimalSeparatorFrom(value:String):void
+    {
+        _decimalSeparatorFrom = value;
+    }
 
 	//----------------------------------
 	//  decimalSeparatorTo
 	//----------------------------------
 
+    private var _decimalSeparatorTo:String;
 	/**
      *  Decimal separator character to use
 	 *  when outputting formatted decimal numbers.
@@ -117,12 +127,21 @@ public class NumberBase
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
 	 */
-	public var decimalSeparatorTo:String;
+	public function get decimalSeparatorTo():String
+    {
+        return _decimalSeparatorTo;
+    }
+    public function set decimalSeparatorTo(value:String):void
+    {
+        _decimalSeparatorTo = value;
+    }
 
 	//----------------------------------
 	//  isValid
 	//----------------------------------
 
+    private var _isValid:Boolean = false;
+    
 	/**
 	 *  If <code>true</code>, the format succeeded,
 	 *  otherwise it is <code>false</code>.
@@ -132,12 +151,21 @@ public class NumberBase
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
 	 */
-	public var isValid:Boolean = false;
+	public function get isValid():Boolean
+    {
+        return _isValid;
+    }
+    public function set isValid(value:Boolean):void
+    {
+        _isValid = value;
+    }
 
 	//----------------------------------
 	//  thousandsSeparatorFrom
 	//----------------------------------
 
+    private var _thousandsSeparatorFrom:String;
+    
 	/**
      *  Character to use as the thousands separator
 	 *  in the input String.
@@ -149,12 +177,21 @@ public class NumberBase
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
 	 */
-	public var thousandsSeparatorFrom:String;
+	public function get thousandsSeparatorFrom():String
+    {
+        return _thousandsSeparatorFrom;
+    }
+    public function set thousandsSeparatorFrom(value:String):void
+    {
+        _thousandsSeparatorFrom = value;
+    }
 
 	//----------------------------------
 	//  thousandsSeparatorTo
 	//----------------------------------
 
+    private var _thousandsSeparatorTo:String;
+    
 	/**
      *  Character to use as the thousands separator
 	 *  in the output String.
@@ -166,7 +203,15 @@ public class NumberBase
 	 *  @playerversion AIR 1.1
 	 *  @productversion Flex 3
 	 */
-	public var thousandsSeparatorTo:String;
+	public function get thousandsSeparatorTo():String
+    {
+        return _thousandsSeparatorTo;
+    }
+    
+    public function set thousandsSeparatorTo(value:String):void
+    {
+        _thousandsSeparatorTo = value;
+    }
 
 	//--------------------------------------------------------------------------
 	//
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/logging/LogEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/logging/LogEvent.as
index 3bf88bd..a9909fe 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/logging/LogEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/logging/LogEvent.as
@@ -32,6 +32,8 @@ import org.apache.royale.events.Event;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class LogEvent extends Event
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/logging/targets/LineFormattedTarget.as b/frameworks/projects/MXRoyale/src/main/royale/mx/logging/targets/LineFormattedTarget.as
index 431e78e..add9795 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/logging/targets/LineFormattedTarget.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/logging/targets/LineFormattedTarget.as
@@ -36,6 +36,8 @@ import mx.logging.LogEvent;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class LineFormattedTarget extends AbstractTarget
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManagerGlobals.as b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManagerGlobals.as
index 4b19eeb..aeca43d 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManagerGlobals.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/SystemManagerGlobals.as
@@ -24,6 +24,8 @@ package mx.managers
 
 /**
  *  @private
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class SystemManagerGlobals
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/Channel.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/Channel.as
index 1cf9458..76f4ddd 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/Channel.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/Channel.as
@@ -231,6 +231,8 @@ public class Channel extends EventDispatcher implements IMXMLObject
      * A channel specific override to determine whether small messages should
      * be used. If set to false, small messages will not be used even if they
      * are supported by an endpoint.
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var enableSmallMessages:Boolean = true;
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/config/ServerConfig.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/config/ServerConfig.as
index fe5753b..4774254 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/config/ServerConfig.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/config/ServerConfig.as
@@ -58,6 +58,8 @@ use namespace mx_internal;
  *  @playerversion AIR 1.1
  *  @productversion BlazeDS 4
  *  @productversion LCDS 3 
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class ServerConfig
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/ChannelEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/ChannelEvent.as
index d99bc59..0a53c42 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/ChannelEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/ChannelEvent.as
@@ -31,6 +31,8 @@ import mx.messaging.Channel;
  *  @playerversion AIR 1.1
  *  @productversion BlazeDS 4
  *  @productversion LCDS 3 
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class ChannelEvent extends Event
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/ChannelFaultEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/ChannelFaultEvent.as
index 1c698aa..cf08703 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/ChannelFaultEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/ChannelFaultEvent.as
@@ -32,6 +32,8 @@ import mx.messaging.messages.ErrorMessage;
  *  @playerversion AIR 1.1
  *  @productversion BlazeDS 4
  *  @productversion LCDS 3 
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class ChannelFaultEvent extends ChannelEvent
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageAckEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageAckEvent.as
index 1fea47c..472a074 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageAckEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageAckEvent.as
@@ -33,6 +33,8 @@ import mx.messaging.messages.IMessage;
  *  @playerversion AIR 1.1
  *  @productversion BlazeDS 4
  *  @productversion LCDS 3 
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class MessageAckEvent extends MessageEvent
 {    
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageEvent.as
index e6c354b..f6f529b 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageEvent.as
@@ -34,6 +34,8 @@ use namespace mx_internal;
  *  @playerversion AIR 1.1
  *  @productversion BlazeDS 4
  *  @productversion LCDS 3 
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class MessageEvent extends Event
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageFaultEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageFaultEvent.as
index 34b00d6..1d7d7c6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageFaultEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/events/MessageFaultEvent.as
@@ -31,6 +31,8 @@ import mx.messaging.messages.ErrorMessage;
  *  @playerversion AIR 1.1
  *  @productversion BlazeDS 4
  *  @productversion LCDS 3 
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class MessageFaultEvent extends Event
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/MessagePerformanceUtils.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/MessagePerformanceUtils.as
index dd2e6d2..5711da7 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/MessagePerformanceUtils.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/MessagePerformanceUtils.as
@@ -45,6 +45,7 @@ package mx.messaging.messages
      * @productversion BlazeDS 4
      * @productversion LCDS 3     
      * 
+     *  @royalesuppresspublicvarwarning
      */ 
     public class MessagePerformanceUtils
     {   
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/net/NetConnection.as b/frameworks/projects/MXRoyale/src/main/royale/mx/net/NetConnection.as
index 65d49d9..fca0bdc 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/net/NetConnection.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/net/NetConnection.as
@@ -33,6 +33,8 @@ package mx.net
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class NetConnection extends EventDispatcher
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/net/Responder.as b/frameworks/projects/MXRoyale/src/main/royale/mx/net/Responder.as
index 32c9e59..dd05fdb 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/net/Responder.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/net/Responder.as
@@ -28,6 +28,8 @@ package mx.net
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class Responder
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/netmon/NetworkMonitor.as b/frameworks/projects/MXRoyale/src/main/royale/mx/netmon/NetworkMonitor.as
index b8d3fd9..f87be07 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/netmon/NetworkMonitor.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/netmon/NetworkMonitor.as
@@ -38,6 +38,8 @@ import org.apache.royale.net.URLRequest;
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class NetworkMonitor
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/AbstractInvoker.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/AbstractInvoker.as
index 187ad53..aeda46a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/AbstractInvoker.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/AbstractInvoker.as
@@ -183,6 +183,8 @@ public class AbstractInvoker extends EventDispatcher
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var operationManager:Function;
 
@@ -195,6 +197,8 @@ public class AbstractInvoker extends EventDispatcher
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var resultType:Class;
 
@@ -210,6 +214,8 @@ public class AbstractInvoker extends EventDispatcher
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var resultElementType:Class;
     
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/AbstractOperation.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/AbstractOperation.as
index 698abe9..7baeb19 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/AbstractOperation.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/AbstractOperation.as
@@ -120,6 +120,8 @@ public class AbstractOperation extends AbstractInvoker
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var arguments:Object;
 
@@ -131,6 +133,8 @@ public class AbstractOperation extends AbstractInvoker
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var properties:Object;
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Fault.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Fault.as
index ef97fbd..c719c6e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Fault.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Fault.as
@@ -28,6 +28,8 @@ package mx.rpc
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class Fault extends Error
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/AbstractOperation.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/AbstractOperation.as
index 39f40fb..0ae4b1b 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/AbstractOperation.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/AbstractOperation.as
@@ -27,15 +27,15 @@ package mx.rpc.http
 	import mx.core.mx_internal;
 	import mx.logging.ILogger;
 	import mx.logging.Log;
-	// import mx.managers.CursorManager;
 	import mx.messaging.ChannelSet;
 	import mx.messaging.channels.DirectHTTPChannel;
 	import mx.messaging.config.LoaderConfig;
+	import mx.messaging.errors.ArgumentError;
 	import mx.messaging.events.MessageEvent;
 	import mx.messaging.messages.AsyncMessage;
 	import mx.messaging.messages.HTTPRequestMessage;
-	import mx.netmon.NetworkMonitor;
 	import mx.messaging.messages.IMessage;
+	import mx.netmon.NetworkMonitor;
 	import mx.resources.IResourceManager;
 	import mx.resources.ResourceManager;
 	import mx.rpc.AbstractService;
@@ -44,15 +44,11 @@ package mx.rpc.http
 	import mx.rpc.Fault;
 	import mx.rpc.events.FaultEvent;
 	import mx.rpc.mxml.Concurrency;
-	// import mx.rpc.xml.SimpleXMLDecoder;
-	// import mx.rpc.xml.SimpleXMLEncoder;
 	import mx.utils.ObjectProxy;
 	import mx.utils.ObjectUtil;
 	import mx.utils.StringUtil;
 	import mx.utils.URLUtil;
 	
-	import mx.messaging.errors.ArgumentError;
-	
 	use namespace mx_internal;
 	
 	/**
@@ -229,6 +225,8 @@ package mx.rpc.http
 		// Properties
 		//---------------------------------
 		
+        private var _argumentNames:Array;
+        
 		/**
 		 * An ordered list of the names of the arguments to pass to a method invocation.  Since the arguments object is
 		 * a hashmap with no guaranteed ordering, this array helps put everything together correctly.
@@ -239,8 +237,15 @@ package mx.rpc.http
 		 *  @playerversion AIR 1.1
 		 *  @productversion Flex 3
 		 */
-		public var argumentNames:Array;
-		
+		public function get argumentNames():Array
+        {
+            return _argumentNames;
+        }
+		public function set argumentNames(value:Array):void
+        {
+            _argumentNames = value;
+        }
+        
 		//----------------------------------
 		//  method
 		//----------------------------------
@@ -415,6 +420,8 @@ package mx.rpc.http
 			_resultFormat = value;
 		}
 		
+        private var _serializationFilter:SerializationFilter;
+        
 		/**
 		 * A SerializationFilter can control how the arguments are formatted to form the content
 		 * of the HTTP request.  It also controls how the results are converted into ActionScript
@@ -426,7 +433,14 @@ package mx.rpc.http
 		 *  @playerversion AIR 1.1
 		 *  @productversion Flex 3
 		 */
-		public var serializationFilter:SerializationFilter;
+		public function get serializationFilter():SerializationFilter
+        {
+            return _serializationFilter;
+        }
+        public function set serializationFilter(value:SerializationFilter):void
+        {
+            _serializationFilter = value;
+        }
 		
 		/** 
 		 *  Returns the serialization filter.
@@ -444,6 +458,8 @@ package mx.rpc.http
 		//  request
 		//----------------------------------
 		
+        private var _request:Object = {};
+        
 		[Inspectable(defaultValue="undefined", category="General")]
 		/**
 		 *  Object of name-value pairs used as parameters to the URL. If
@@ -454,7 +470,14 @@ package mx.rpc.http
 		 *  @playerversion AIR 1.1
 		 *  @productversion Flex 3
 		 */
-		public var request:Object = {};
+		public function get request():Object
+        {
+            return _request;
+        }
+        public function set request(value:Object):void
+        {
+            _request = value;
+        }
 		
 		
 		//----------------------------------
@@ -542,7 +565,9 @@ package mx.rpc.http
 		//----------------------------------
 		//  xmlDecode
 		//----------------------------------
-		
+        
+		private var _xmlDecode:Function;
+        
 		[Inspectable(defaultValue="undefined", category="General")]
 		/**
 		 *  ActionScript function used to decode a service result from XML.
@@ -589,12 +614,21 @@ package mx.rpc.http
 		 *  @productversion Flex 3
 		 
 		 */
-		public var xmlDecode:Function;
+		public function get xmlDecode():Function
+        {
+            return _xmlDecode;
+        }
+        public function set xmlDecode(value:Function):void
+        {
+            _xmlDecode = value;
+        }
 		
 		//----------------------------------
 		//  xmlEncode
 		//----------------------------------
 		
+        private var _xmlEncode:Function;
+        
 		[Inspectable(defaultValue="undefined", category="General")]
 		/**
 		 *  ActionScript function used to encode a service request as XML.
@@ -641,12 +675,21 @@ package mx.rpc.http
 		 *  @productversion Flex 3
 		 
 		 */
-		public var xmlEncode:Function;
+		public function get xmlEncode():Function
+        {
+            return _xmlEncode;
+        }
+        public function set xmlEncode(value:Function):void
+        {
+            _xmlEncode = value;
+        }
 		
 		//----------------------------------
 		//  headers
 		//----------------------------------
-		
+        
+        private var _headers:Object = {};
+        
 		[Inspectable(defaultValue="undefined", category="General")]
 		/**
 		 *  Custom HTTP headers to be sent to the third party endpoint. If multiple headers need to
@@ -657,7 +700,14 @@ package mx.rpc.http
 		 *  @playerversion AIR 1.1
 		 *  @productversion Flex 3
 		 */
-		public var headers:Object = {};
+		public function get headers():Object
+        {
+            return _headers;
+        }
+        public function set headers(value:Object):void
+        {
+            _headers = value;
+        }
 		
 		//----------------------------------
 		//  contentType
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/HTTPMultiService.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/HTTPMultiService.as
index 84b1f60..34f032f 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/HTTPMultiService.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/HTTPMultiService.as
@@ -26,6 +26,7 @@ import mx.logging.Log;
 import mx.messaging.ChannelSet;
 import mx.messaging.channels.DirectHTTPChannel;
 import mx.messaging.config.LoaderConfig;
+import mx.messaging.errors.ArgumentError;
 import mx.messaging.messages.HTTPRequestMessage;
 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;
@@ -34,8 +35,6 @@ import mx.rpc.events.FaultEvent;
 import mx.rpc.mxml.Concurrency;
 import mx.utils.URLUtil;
 
-import mx.messaging.errors.ArgumentError;
-
 use namespace mx_internal;
 
 /**
@@ -197,6 +196,8 @@ public dynamic class HTTPMultiService extends AbstractService
     //  contentType
     //----------------------------------
 
+    private var _contentType:String = AbstractOperation.CONTENT_TYPE_FORM;
+    
     [Inspectable(enumeration="application/x-www-form-urlencoded,application/xml", defaultValue="application/x-www-form-urlencoded", category="General")]
     /**
      *  Type of content for service requests. 
@@ -204,7 +205,14 @@ public dynamic class HTTPMultiService extends AbstractService
      *  like a normal HTTP POST with name-value pairs. <code>application/xml</code> send
      *  requests as XML.
      */
-    public var contentType:String = AbstractOperation.CONTENT_TYPE_FORM;
+    public function get contentType():String
+    {
+        return _contentType;
+    }
+    public function set contentType(value:String):void
+    {
+        _contentType = value;
+    }
 
     //----------------------------------
     //  concurrency
@@ -267,6 +275,8 @@ public dynamic class HTTPMultiService extends AbstractService
     //  headers
     //----------------------------------
 
+    private var _headers:Object = {};
+    
     [Inspectable(defaultValue="undefined", category="General")]
     /**
      *  Custom HTTP headers to be sent to the third party endpoint. If multiple headers need to
@@ -278,12 +288,21 @@ public dynamic class HTTPMultiService extends AbstractService
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var headers:Object = {};
+    public function get headers():Object
+    {
+        return _headers;
+    }
+    public function set headers(value:Object):void
+    {
+        _headers = value;
+    }
 
     //----------------------------------
     //  makeObjectsBindable
     //----------------------------------
 
+    private var _makeObjectsBindable:Boolean = true;
+    
     [Inspectable(defaultValue="true", category="General")]
     /**
      *  When <code>true</code>, the objects returned support data binding to UI controls.
@@ -296,12 +315,21 @@ public dynamic class HTTPMultiService extends AbstractService
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var makeObjectsBindable:Boolean = true;
+    public function get makeObjectsBindable():Boolean
+    {
+        return _makeObjectsBindable;
+    }
+    public function set makeObjectsBindable(value:Boolean):void
+    {
+        _makeObjectsBindable = value;
+    }
 
     //----------------------------------
     //  method
     //----------------------------------
 
+    private var _method:String = HTTPRequestMessage.GET_METHOD;
+    
     [Inspectable(enumeration="GET,get,POST,post,HEAD,head,OPTIONS,options,PUT,put,TRACE,trace,DELETE,delete", defaultValue="GET", category="General")]
     /**
      *  HTTP method for sending the request if a method is not set explicit on the operation. 
@@ -314,7 +342,14 @@ public dynamic class HTTPMultiService extends AbstractService
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var method:String = HTTPRequestMessage.GET_METHOD;
+    public function get method():String
+    {
+        return _method;
+    }
+    public function set method(value:String):void
+    {
+        _method = value;
+    }
 
     //----------------------------------
     //  resultFormat
@@ -398,12 +433,23 @@ public dynamic class HTTPMultiService extends AbstractService
     }
 
     /** Default serializationFilter used by all operations which do not set one explicitly */
-    public var serializationFilter:SerializationFilter;
-
+    private var _serializationFilter:SerializationFilter;
+    
+    public function get serializationFilter():SerializationFilter
+    {
+        return _serializationFilter;
+    }
+    public function set serializationFilter(value:SerializationFilter):void
+    {
+        _serializationFilter = value;
+    }
+    
     //----------------------------------
     //  rootURL
     //----------------------------------
 
+    private var _baseURL:String;
+
     /**
      *  The URL that the HTTPService object should use when computing relative URLs.
      *  This contains a prefix which is prepended onto any URLs when it is set.
@@ -415,7 +461,14 @@ public dynamic class HTTPMultiService extends AbstractService
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var baseURL:String;
+    public function get baseURL():String
+    {
+        return _baseURL;
+    }
+    public function set baseURL(value:String):void
+    {
+        _baseURL = value;
+    }
     
     /**
      *  @private
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/Operation.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/Operation.as
index 85b2507..f10dcee 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/Operation.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/Operation.as
@@ -169,6 +169,8 @@ public class Operation extends AbstractOperation
     }
 
 
+    private var _argumentNames:Array;
+    
     /**
      * An ordered list of the names of the arguments to pass to a method invocation.  Since the arguments object is
      * a hashmap with no guaranteed ordering, this array helps put everything together correctly.
@@ -179,7 +181,14 @@ public class Operation extends AbstractOperation
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var argumentNames:Array;
+    public function get argumentNames():Array
+    {
+        return _argumentNames;
+    }
+    public function set argumentNames(value:Array):void
+    {
+        _argumentNames = value;
+    }
 
 
     //--------------------------------------------------------------------------
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/RemoteObject.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/RemoteObject.as
index 666acdd..734ca56 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/RemoteObject.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/remoting/RemoteObject.as
@@ -246,6 +246,8 @@ public dynamic class RemoteObject extends AbstractService
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var convertParametersHandler:Function;
 
@@ -265,6 +267,8 @@ public dynamic class RemoteObject extends AbstractService
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
+     * 
+     *  @royalesuppresspublicvarwarning
      */
     public var convertResultHandler:Function;
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/states/Transition.as b/frameworks/projects/MXRoyale/src/main/royale/mx/states/Transition.as
index ea38e25..5766ac3 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/states/Transition.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/states/Transition.as
@@ -178,6 +178,8 @@ public class Transition extends org.apache.royale.states.Transition
      */
     //public var toState:String = "*";
     
+    private var _autoReverse:Boolean = false;
+    
     /**
      *  Set to <code>true</code> to specify that this transition applies 
      *  to both the forward and reverse view state changes. 
@@ -210,7 +212,14 @@ public class Transition extends org.apache.royale.states.Transition
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var autoReverse:Boolean = false;
+    public function get autoReverse():Boolean
+    {
+        return _autoReverse;
+    }
+    public function set autoReverse(value:Boolean):void
+    {
+        _autoReverse = value;
+    }
     
     /**
      *  Flex does not support the playing of multiple transitions simultaneously. 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextFormat.as b/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextFormat.as
index 8b3a2a2..0eb259c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextFormat.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextFormat.as
@@ -27,6 +27,8 @@ package mx.text
 	 *  @playerversion Flash 10.2
 	 *  @playerversion AIR 2.6
 	 *  @productversion Royale 0.8
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
 	public class TextFormat
 	{
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/validators/RegExpValidationResult.as b/frameworks/projects/MXRoyale/src/main/royale/mx/validators/RegExpValidationResult.as
index 26160a1..74f5c8a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/validators/RegExpValidationResult.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/validators/RegExpValidationResult.as
@@ -41,6 +41,8 @@ package mx.validators
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class RegExpValidationResult extends ValidationResult
 {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/validators/ValidationResult.as b/frameworks/projects/MXRoyale/src/main/royale/mx/validators/ValidationResult.as
index eca3b59..0b0553e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/validators/ValidationResult.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/validators/ValidationResult.as
@@ -38,6 +38,8 @@ package mx.validators
  *  @playerversion Flash 9
  *  @playerversion AIR 1.1
  *  @productversion Flex 3
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class ValidationResult
 {
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/ButtonBar.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/ButtonBar.as
index d3be32f..0fe2fdc 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/ButtonBar.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/ButtonBar.as
@@ -128,6 +128,8 @@ package spark.components
 	 *  @playerversion Flash 10
 	 *  @playerversion AIR 1.5
 	 *  @productversion Flex 4
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
 	public class ButtonBar extends ButtonBarBase // implements IFocusManagerComponent 
 	{
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/DataGrid.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/DataGrid.as
index 3766cb4..d3a0c9e 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/DataGrid.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/DataGrid.as
@@ -774,6 +774,8 @@ package spark.components
  *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
+ * 
+ *  @royalesuppresspublicvarwarning
  */  
 public class DataGrid extends SkinnableContainerBase 
     implements IDataProviderEnhance, IFocusManagerComponent, IIMESupport
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Form.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Form.as
index 9547a4b..9ddf272 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Form.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Form.as
@@ -143,6 +143,9 @@ package spark.components
 		//
 		//--------------------------------------------------------------------------
 		
+        /**
+         *  @royalesuppresspublicvarwarning
+         */
 		mx_internal var _invalidElements:Array = [];
 		
 		/**
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/FormItem.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/FormItem.as
index 9a69239..d5aa302 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/FormItem.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/FormItem.as
@@ -105,6 +105,8 @@ package spark.components
 	 *  @playerversion Flash 10
 	 *  @playerversion AIR 2.5
 	 *  @productversion Flex 4.5 
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
 	public class FormItem extends SkinnableContainer
 	{
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextArea.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextArea.as
index 15d5f79..beb42cd 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextArea.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextArea.as
@@ -376,6 +376,8 @@ package spark.components
 		 *  @playerversion Flash 10
 		 *  @playerversion AIR 1.5
 		 *  @productversion Royale 0.9.4
+         * 
+         *  @royalesuppresspublicvarwarning
 		 */
 		public var scroller:Scroller;
 		
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/DropDownListView.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/DropDownListView.as
index b0a2ee1..c858298 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/DropDownListView.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/DropDownListView.as
@@ -41,7 +41,7 @@ import org.apache.royale.html.beads.IDropDownListView;
 
 /**
  *  @private
- *  The SkinnableContainerView for emulation.
+ *  The DropDownListView for emulation.
  */
 public class DropDownListView extends SkinnableContainerView implements IDropDownListView
 {
@@ -64,6 +64,9 @@ public class DropDownListView extends SkinnableContainerView implements IDropDow
 		super();
 	}
 
+    /**
+     *  @royalesuppresspublicvarwarning
+     */
     public var label:Button;
     
     private var selectionModel:ISelectionModel;
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/gridClasses/DataGridEditor.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/gridClasses/DataGridEditor.as
index e3cd135..47ea3b4 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/gridClasses/DataGridEditor.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/gridClasses/DataGridEditor.as
@@ -384,6 +384,8 @@ package spark.components.gridClasses
 		 *  @playerversion Flash 9
 		 *  @playerversion AIR 1.1
 		 *  @productversion Flex 3
+         * 
+         *  @royalesuppresspublicvarwarning
 		 */
 		public var itemEditorInstance:IGridItemEditor;
 		
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/gridClasses/GridDimensionsView.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/gridClasses/GridDimensionsView.as
index ea5e0fa..e8e4618 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/gridClasses/GridDimensionsView.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/gridClasses/GridDimensionsView.as
@@ -41,6 +41,8 @@ package spark.components.gridClasses
 	 *  @playerversion Flash 11
 	 *  @playerversion AIR 3
 	 *  @productversion Flex 5.0
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
 	public class GridDimensionsView
 	{
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridItemEditorEvent.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridItemEditorEvent.as
index 683bfdf..77e136d 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridItemEditorEvent.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridItemEditorEvent.as
@@ -51,6 +51,8 @@ package spark.events
 	 *  @playerversion Flash 10
 	 *  @playerversion AIR 2.5
 	 *  @productversion Flex 4.5
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
 	public class GridItemEditorEvent extends Event
 	{
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridSelectionEvent.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridSelectionEvent.as
index 346c745..b85b60c 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridSelectionEvent.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridSelectionEvent.as
@@ -37,6 +37,8 @@ import spark.components.gridClasses.CellRegion;
  *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class GridSelectionEvent extends Event
 {
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridSortEvent.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridSortEvent.as
index d8e58a7..0aedf11 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridSortEvent.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/events/GridSortEvent.as
@@ -38,6 +38,8 @@ import spark.components.DataGrid;
  *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class GridSortEvent extends Event
 {
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/events/PopUpEvent.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/events/PopUpEvent.as
index b326be8..c149368 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/events/PopUpEvent.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/events/PopUpEvent.as
@@ -30,6 +30,8 @@ package spark.events
 	 *  @playerversion Flash 10
 	 *  @playerversion AIR 2.5
 	 *  @productversion Flex 4.5
+     * 
+     *  @royalesuppresspublicvarwarning
 	 */
 	public class PopUpEvent extends Event
 	{   
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/layouts/VerticalLayout.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/layouts/VerticalLayout.as
index 44e4bfe..1e28805 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/layouts/VerticalLayout.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/layouts/VerticalLayout.as
@@ -1927,10 +1927,10 @@ public class VerticalLayout extends LayoutBase
         
         // Third pass: if neccessary, fix up y based on updated contentHeight
 		contentHeight = llv.end(llv.length - 1) - paddingTop;
-        var targetHeight:Number = Math.max(0, layoutTarget.height - paddingTop - paddingBottom);
-        if (contentHeight < targetHeight)
+        var newTargetHeight:Number = Math.max(0, layoutTarget.height - paddingTop - paddingBottom);
+        if (contentHeight < newTargetHeight)
         {
-            var excessHeight:Number = targetHeight - contentHeight;
+            var excessHeight:Number = newTargetHeight - contentHeight;
             var dy:Number = 0;
             var vAlign:String = verticalAlign;
             if (vAlign == VerticalAlign.MIDDLE)
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/layouts/supportClasses/DropLocation.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/layouts/supportClasses/DropLocation.as
index 7bdc817..bad0d2f 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/layouts/supportClasses/DropLocation.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/layouts/supportClasses/DropLocation.as
@@ -42,6 +42,8 @@ import mx.core.IVisualElement;
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
+ * 
+ *  @royalesuppresspublicvarwarning
  */
 public class DropLocation
 {


[royale-asjs] 03/10: factor out EventUtil's MouseEvents handling to the MouseEvent so it is more PAYG

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 7f436001c26eb47416d32247fa70a3d997502e70
Author: Alex Harui <ah...@apache.org>
AuthorDate: Mon Jan 7 23:13:01 2019 -0800

    factor out EventUtil's MouseEvents handling to the MouseEvent so it is more PAYG
---
 .../royale/org/apache/royale/events/MouseEvent.as  | 39 +++++++++++++++++++---
 .../org/apache/royale/events/utils/EventUtils.as   | 34 -------------------
 2 files changed, 35 insertions(+), 38 deletions(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/MouseEvent.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/MouseEvent.as
index ff1976e..8e878d3 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/MouseEvent.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/MouseEvent.as
@@ -30,8 +30,8 @@ package org.apache.royale.events
 		import goog.events.BrowserEvent;
         import org.apache.royale.core.HTMLElementWrapper;
 		import org.apache.royale.events.Event;
-		import org.apache.royale.events.utils.EventUtils;
         import org.apache.royale.events.utils.MouseEventConverter;
+        import org.apache.royale.conversions.MouseEventInit;
     }
     
     import org.apache.royale.core.IRoyaleElement;
@@ -683,7 +683,7 @@ package org.apache.royale.events
 		 */
 		private static function makeMouseEvent(type:String, e:window.MouseEvent):window.MouseEvent
 		{
-			var out:window.MouseEvent = EventUtils.createMouseEvent(type, false, false, {
+			var out:window.MouseEvent = MouseEvent.createMouseEvent(type, false, false, {
                     view: e.view, detail: e.detail, screenX: e.screenX, screenY: e.screenY,
 					clientX: e.clientX, clientY: e.clientY, ctrlKey: e.ctrlKey, altKey: e.altKey,
 				    shiftKey: e.shiftKey, metaKey: e.metaKey, button: e.button, relatedTarget: e.relatedTarget});
@@ -732,14 +732,45 @@ package org.apache.royale.events
 			    wrappedEvent.stopPropagation();
 		}
 
-        COMPILE::JS
         public static function setupConverter():Boolean
         {
             HTMLElementWrapper.converterMap["MouseEvent"] = MouseEventConverter;
             return true;
         }
         
-        COMPILE::JS
         public static var initialized:Boolean = setupConverter();
+        
+        public static function createMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false,
+                                                params:Object = null):Object
+        {
+            var mouseEvent:Object = null;
+            
+            if (!params)
+                params = {};
+            
+            try
+            {
+                params.bubbles = bubbles;
+                params.cancelable = cancelable;
+                var initObject:MouseEventInit = MouseEventInit(params);
+                mouseEvent = new window.MouseEvent(type, initObject);
+                return mouseEvent;
+            }
+            catch (e:Error)
+            {
+                
+            }
+            
+            if (!mouseEvent)
+            {
+                mouseEvent = document.createEvent('MouseEvent');
+                mouseEvent.initMouseEvent(type, bubbles, cancelable, params.view,
+                    params.detail, params.screenX, params.screenY, params.clientX, params.clientY,
+                    params.ctrlKey, params.altKey, params.shiftKey, params.metaKey, params.button, params.relatedTarget);
+            }
+            
+            return mouseEvent;
+        }
+
 	}
 }
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as
index 3ea56f0..acf0b40 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as
@@ -21,9 +21,7 @@ package org.apache.royale.events.utils
 COMPILE::JS
 {
     import org.apache.royale.conversions.createEventInit;
-    import org.apache.royale.conversions.MouseEventInit;
     import window.Event;
-    import window.MouseEvent;
 }
 
     /**
@@ -59,37 +57,5 @@ COMPILE::JS
 
            return customEvent;
        }
-
-       public static function createMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false,
-                                               params:Object = null):Object
-       {
-           var mouseEvent:Object = null;
-
-           if (!params)
-               params = {};
-           
-           try
-           {
-               params.bubbles = bubbles;
-               params.cancelable = cancelable;
-               var initObject:MouseEventInit = MouseEventInit(params);
-               mouseEvent = new window.MouseEvent(type, initObject);
-               return mouseEvent;
-           }
-           catch (e:Error)
-           {
-
-           }
-
-           if (!mouseEvent)
-           {
-               mouseEvent = document.createEvent('MouseEvent');
-               mouseEvent.initMouseEvent(type, bubbles, cancelable, params.view,
-                       params.detail, params.screenX, params.screenY, params.clientX, params.clientY,
-                       params.ctrlKey, params.altKey, params.shiftKey, params.metaKey, params.button, params.relatedTarget);
-           }
-
-           return mouseEvent;
-       }
     }
 }


[royale-asjs] 10/10: clean up warnings from Closure

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit b12e34255ffa90869abe45adafda826746cce068
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Jan 10 22:45:56 2019 -0800

    clean up warnings from Closure
---
 .../src/main/royale/mx/controls/ToggleButtonBar.as     |  2 +-
 .../controls/treeClasses/HierarchicalCollectionView.as |  2 +-
 .../MXRoyale/src/main/royale/mx/messaging/Channel.as   |  2 +-
 .../mx/messaging/channels/NetConnectionChannel.as      |  6 ++++--
 .../main/royale/mx/messaging/config/ServerConfig.as    |  8 ++------
 .../src/main/royale/mx/rpc/http/AbstractOperation.as   | 18 +++++++++---------
 .../MXRoyale/src/main/royale/mx/utils/ObjectUtil.as    | 11 ++++-------
 7 files changed, 22 insertions(+), 27 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ToggleButtonBar.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ToggleButtonBar.as
index a93a740..a64e0a9 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ToggleButtonBar.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ToggleButtonBar.as
@@ -223,7 +223,7 @@ public class ToggleButtonBar extends UIComponent implements ILayoutParent, ILayo
     public function ToggleButtonBar()
     {
         super();
-        widthType == ButtonBarModel.NATURAL_WIDTHS;
+        widthType = ButtonBarModel.NATURAL_WIDTHS;
     }
 
     /**
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/HierarchicalCollectionView.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/HierarchicalCollectionView.as
index 6ed7cf9..b1aaa91 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/HierarchicalCollectionView.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/treeClasses/HierarchicalCollectionView.as
@@ -931,7 +931,7 @@ public class HierarchicalCollectionView extends EventDispatcher
 	            {
                     var p:*;
                     
-                    children == null;
+                    children = null;
 					// lookup doesn't work, must scan instead
                     COMPILE::SWF
                     {
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/Channel.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/Channel.as
index 76f4ddd..e99ad32 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/Channel.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/Channel.as
@@ -1467,7 +1467,7 @@ public class Channel extends EventDispatcher implements IMXMLObject
             {                                
                 // Apply exponential backoff.
                 var delay:int = 1000; // 1 second.
-                delay << ++_reliableReconnectAttempts;
+                delay = delay << ++_reliableReconnectAttempts;
                 if (delay < remaining)
                 {
                     new AsyncDispatcher(reconnect, null, delay);
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/channels/NetConnectionChannel.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/channels/NetConnectionChannel.as
index a9d9ffa..6cd6904 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/channels/NetConnectionChannel.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/channels/NetConnectionChannel.as
@@ -572,6 +572,8 @@ class NetConnectionMessageResponder extends MessageResponder
     {
         if (handled)
             return;
+        
+        var errorMsg:ErrorMessage;
             
         disconnect();
         if (msg is AsyncMessage)
@@ -596,7 +598,6 @@ class NetConnectionMessageResponder extends MessageResponder
         }
         else
         {
-            var errorMsg:ErrorMessage;
             errorMsg = new ErrorMessage();
             errorMsg.faultCode = "Server.Acknowledge.Failed";
             errorMsg.faultString = resourceManager.getString(
@@ -621,6 +622,8 @@ class NetConnectionMessageResponder extends MessageResponder
     {
         if (handled)
             return;
+        
+        var errorMsg:ErrorMessage;
             
         disconnect();
 
@@ -644,7 +647,6 @@ class NetConnectionMessageResponder extends MessageResponder
             }
             else
             {
-                var errorMsg:ErrorMessage;
                 errorMsg = new ErrorMessage();
                 errorMsg.faultCode = "Server.Acknowledge.Failed";
                 errorMsg.faultString = resourceManager.getString(
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/config/ServerConfig.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/config/ServerConfig.as
index 4774254..2f60e3c 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/config/ServerConfig.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/config/ServerConfig.as
@@ -328,18 +328,14 @@ public class ServerConfig
     {
         var destination:XMLList = xml..destination.(@id == destinationId);
 
-        if (destination.length() > 0)
-        {
-            return destination.properties;
-        }
-        else
+        if (destination.length() == 0)
         {
             var message:String = resourceManager.getString(
                 "messaging", "unknownDestination", [ destinationId ]);
             throw new InvalidDestinationError(message);
         }
 
-        return destination;
+        return destination.properties;
     }
 
     //--------------------------------------------------------------------------
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/AbstractOperation.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/AbstractOperation.as
index 0ae4b1b..044694e 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/AbstractOperation.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/http/AbstractOperation.as
@@ -810,10 +810,10 @@ package mx.rpc.http
 		 */
 		override public function cancel(id:String = null):AsyncToken
 		{
-			if (showBusyCursor)
-			{
+			//if (showBusyCursor)
+			//{
 				// CursorManager.removeBusyCursor();
-			}
+			//}
 			return super.cancel(id);
 		}
 		
@@ -1145,10 +1145,10 @@ package mx.rpc.http
 		
 		override mx_internal function invoke(message:IMessage, token:AsyncToken = null):AsyncToken
 		{
-			if (showBusyCursor)
-			{
+			//if (showBusyCursor)
+			//{
 				// CursorManager.setBusyCursor();
-			}
+			//}
 			
 			return super.invoke(message, token);
 		}
@@ -1158,10 +1158,10 @@ package mx.rpc.http
 		*/
 		override mx_internal function preHandle(event:MessageEvent):AsyncToken
 		{
-			if (showBusyCursor)
-			{
+			//if (showBusyCursor)
+			//{
 				// CursorManager.removeBusyCursor();
-			}
+			//}
 			
 			var wasLastCall:Boolean = activeCalls.wasLastCall(AsyncMessage(event.message).correlationId);
 			var token:AsyncToken = super.preHandle(event);
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectUtil.as b/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectUtil.as
index 39ea4bd..f2ac716 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectUtil.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/utils/ObjectUtil.as
@@ -754,7 +754,7 @@ public class ObjectUtil
         {
         var n:int;
         var i:int;
-
+        var p:String;
         //if (obj is ObjectProxy)
         //    obj = ObjectProxy(obj).object_proxy::object;
 
@@ -836,7 +836,7 @@ public class ObjectUtil
         }
         else*/ if (isDynamic)
         {
-            for (var p:String in obj)
+            for (p in obj)
             {
                 if (excludeObject[p] != 1)
                 {
@@ -976,7 +976,7 @@ public class ObjectUtil
         {
             var n:int;
             var i:int;
-
+            var p:String;
             //if (obj is ObjectProxy)
             //    obj = ObjectProxy(obj).object_proxy::object;
 
@@ -991,7 +991,6 @@ public class ObjectUtil
             var classAlias:String;
             var isDynamic:Boolean = false;
             var metadataInfo:Object;
-
             var excludeObject:Object = {};
             if (excludes)
             {
@@ -1075,12 +1074,10 @@ public class ObjectUtil
             result["properties"] = propertyNames;
             result["dynamic"] = isDynamic;
 //            result["metadata"] = metadataInfo = recordMetadata(properties);
-
-
             var isArray:Boolean = (obj is Array);
             if (isDynamic)
             {
-                for (var p:String in obj)
+                for (p in obj)
                 {
                     if (excludeObject[p] != 1)
                     {


[royale-asjs] 04/10: suppress warning

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 97a6d0c060bb98dcf28b754a309ba987323b7ee5
Author: Alex Harui <ah...@apache.org>
AuthorDate: Mon Jan 7 23:13:18 2019 -0800

    suppress warning
---
 .../src/main/royale/org/apache/royale/events/KeyboardEvent.as  | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/KeyboardEvent.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/KeyboardEvent.as
index ac29ba3..258bb6f 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/KeyboardEvent.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/KeyboardEvent.as
@@ -27,6 +27,16 @@ package org.apache.royale.events
     }
     import org.apache.royale.events.IBrowserEvent;
 
+    /**
+     *  Keyboard events
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion Royale 0.0
+     * 
+     *  @royalesuppresspublicvarwarning
+     */
     public class KeyboardEvent extends Event implements IBrowserEvent
     {
         COMPILE::SWF


[royale-asjs] 07/10: get rid of warnings in messaging classes

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit c6c6258ee2f3ffc3bce1192e550782e1d6e209ff
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Jan 8 23:20:39 2019 -0800

    get rid of warnings in messaging classes
---
 .../messaging/errors/MessageSerializationError.as  |  11 +-
 .../royale/mx/messaging/messages/CommandMessage.as |  11 +-
 .../royale/mx/messaging/messages/ErrorMessage.as   |  55 ++++++++-
 .../mx/messaging/messages/HTTPRequestMessage.as    |  44 +++++++-
 .../messaging/messages/MessagePerformanceInfo.as   | 123 +++++++++++++++++++--
 .../mx/messaging/messages/RemotingMessage.as       |  22 +++-
 6 files changed, 241 insertions(+), 25 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/errors/MessageSerializationError.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/errors/MessageSerializationError.as
index 25e6242..fa4c575 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/errors/MessageSerializationError.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/errors/MessageSerializationError.as
@@ -67,6 +67,8 @@ package mx.messaging.errors
 		//
 		//--------------------------------------------------------------------------
 		
+        private var _fault:ErrorMessage;
+        
 		/**
 		 *  Provides specific information about the fault that occurred and for
 		 *  which message.
@@ -77,7 +79,14 @@ package mx.messaging.errors
 		 *  @productversion BlazeDS 4
 		 *  @productversion LCDS 3 
 		 */
-		public var fault:ErrorMessage;
+		public function get fault():ErrorMessage
+        {
+            return _fault;
+        }
+        public function set fault(value:ErrorMessage):void
+        {
+            _fault = value;
+        }
 	}
 	
 }
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/CommandMessage.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/CommandMessage.as
index 6f79f4b..83498b9 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/CommandMessage.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/CommandMessage.as
@@ -397,6 +397,8 @@ public class CommandMessage extends AsyncMessage
     // 
     //--------------------------------------------------------------------------   
 
+    private var _operation:uint;
+    
     /**
      *  Provides access to the operation/command for the CommandMessage.
      *  Operations indicate how this message should be processed by the remote
@@ -408,7 +410,14 @@ public class CommandMessage extends AsyncMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var operation:uint;
+    public function get operation():uint
+    {
+        return _operation;
+    }
+    public function set operation(value:uint):void
+    {
+        _operation = value;
+    }
 
     //--------------------------------------------------------------------------
     //
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/ErrorMessage.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/ErrorMessage.as
index 76569f4..9e346e3 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/ErrorMessage.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/ErrorMessage.as
@@ -92,6 +92,8 @@ public class ErrorMessage extends AcknowledgeMessage
     // 
     //--------------------------------------------------------------------------
 
+    private var _faultCode:String;
+    
     /**
      *  The fault code for the error.
      *  This value typically follows the convention of
@@ -104,8 +106,17 @@ public class ErrorMessage extends AcknowledgeMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var faultCode:String;
+    public function get faultCode():String
+    {
+        return _faultCode;
+    }
+    public function set faultCode(value:String):void
+    {
+        _faultCode = value;
+    }
 
+    private var _faultString:String;
+    
     /**
      *  A simple description of the error.
      *  
@@ -115,8 +126,17 @@ public class ErrorMessage extends AcknowledgeMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var faultString:String;
+    public function get faultString():String
+    {
+        return _faultString;
+    }
+    public function set faultString(value:String):void
+    {
+        _faultString = value;
+    }
 
+    private var _faultDetail:String;
+    
     /**
      *  Detailed description of what caused the error.
      *  This is typically a stack trace from the remote destination.
@@ -127,8 +147,17 @@ public class ErrorMessage extends AcknowledgeMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var faultDetail:String;
+    public function get faultDetail():String
+    {
+        return _faultDetail;
+    }
+    public function set faultDetail(value:String):void
+    {
+        _faultDetail = value;
+    }
 
+    private var _rootCause:Object;
+    
     /**
      *  Should a root cause exist for the error, this property contains those details.
      *  This may be an ErrorMessage, a NetStatusEvent info Object, or an underlying
@@ -140,7 +169,16 @@ public class ErrorMessage extends AcknowledgeMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var rootCause:Object;
+    public function get rootCause():Object
+    {
+        return _rootCause;
+    }
+    public function set rootCause(value:Object):void
+    {
+        _rootCause = value;
+    }
+    
+    private var _extendedData:Object;
     
     /**
      * Extended data that the remote destination has chosen to associate
@@ -152,7 +190,14 @@ public class ErrorMessage extends AcknowledgeMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var extendedData:Object;
+    public function get extendedData():Object
+    {
+        return _extendedData;
+    }
+    public function set extendedData(value:Object):void
+    {
+        _extendedData = value;
+    }
 
 
     //--------------------------------------------------------------------------
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/HTTPRequestMessage.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/HTTPRequestMessage.as
index 0660892..bb1d4a6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/HTTPRequestMessage.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/HTTPRequestMessage.as
@@ -67,6 +67,8 @@ public class HTTPRequestMessage extends AbstractMessage
     // 
     //--------------------------------------------------------------------------
 
+    private var _contentType:String;
+    
     /**
      *  Indicates the content type of this message.
      *  This value must be understood by the destination this request is sent to.
@@ -85,8 +87,17 @@ public class HTTPRequestMessage extends AbstractMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var contentType:String;
+    public function get contentType():String
+    {
+        return _contentType;
+    }
+    public function set contentType(value:String):void
+    {
+        _contentType = value;
+    }
 
+    private var _httpHeaders:Object;
+    
     /**
      *  Contains specific HTTP headers that should be placed on the request made
      *  to the destination.
@@ -97,7 +108,16 @@ public class HTTPRequestMessage extends AbstractMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var httpHeaders:Object;
+    public function get httpHeaders():Object
+    {
+        return _httpHeaders;
+    }
+    public function set httpHeaders(value:Object):void
+    {
+        _httpHeaders = value;
+    }
+    
+    private var _recordHeaders:Boolean;    
     
     /**
      * Only used when going through the proxy, should the proxy 
@@ -110,7 +130,16 @@ public class HTTPRequestMessage extends AbstractMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var recordHeaders:Boolean;    
+    public function get recordHeaders():Boolean
+    {
+        return _recordHeaders;
+    }
+    public function set recordHeaders(value:Boolean):void
+    {
+        _recordHeaders = value;
+    }
+    
+    private var _url:String;
     
     [Inspectable(defaultValue="undefined", category="General")]
     /**
@@ -132,7 +161,14 @@ public class HTTPRequestMessage extends AbstractMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var url:String;    
+    public function get url():String
+    {
+        return _url;
+    }
+    public function set url(value:String):void
+    {
+        _url = value;
+    }
 
     /**
      *  @private
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/MessagePerformanceInfo.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/MessagePerformanceInfo.as
index 06eb5b0..8976d17 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/MessagePerformanceInfo.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/MessagePerformanceInfo.as
@@ -54,6 +54,8 @@ package mx.messaging.messages
     	// 
     	//--------------------------------------------------------------------------		
 		
+        private var _messageSize:int;
+        
 		/**
 	 	 * Size of message in Bytes (message types depends on what header this MPI is in)
 	 	 *  
@@ -63,8 +65,17 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */		
-		public var messageSize:int;
+		public function get messageSize():int
+        {
+            return _messageSize;
+        }
+        public function set messageSize(value:int):void
+        {
+            _messageSize = value;
+        }
 		
+        private var _sendTime:Number = 0;
+        
 		/**
 	 	 * Millisecond timestamp of when this message was sent
 	 	 * (origin depends on on what header this MPI is in)
@@ -75,7 +86,14 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */			
-		public var sendTime:Number = 0;
+		public function get sendTime():Number
+        {
+            return _sendTime;
+        }
+        public function set sendTime(value:Number):void
+        {
+            _sendTime = value;
+        }
 		
 		/**
 	 	 * Millisecond timestamp of when this message was received
@@ -89,6 +107,8 @@ package mx.messaging.messages
 	 	 */			
 		private var _receiveTime:Number;
 		
+        private var _overheadTime:Number;
+        
 		/**
 	 	 * Amount of time in milliseconds that this message was being processed on the server
 	 	 * in order to calculate and populate MPI metrics
@@ -99,7 +119,14 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */			
-		public var overheadTime:Number;
+		public function get overheadTime():Number
+        {
+            return _overheadTime;
+        }
+        public function set overheadTime(value:Number):void
+        {
+            _overheadTime = value;
+        }
 		
 		/**
 	 	 * "OUT" when this message originated on the server
@@ -112,6 +139,8 @@ package mx.messaging.messages
 	 	 */			 	 	
 		private var _infoType:String;
 		
+        private var _pushedFlag:Boolean;
+        
 		/**
 	 	 * True if this is info for a message that was pushed from server to client
 	 	 *  
@@ -121,8 +150,17 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */				
-		public var pushedFlag:Boolean;
+		public function get pushedFlag():Boolean
+        {
+            return _pushedFlag;
+        }
+        public function set pushedFlag(value:Boolean):void
+        {
+            _pushedFlag = value;
+        }
 		
+        private var _serverPrePushTime:Number;
+        
 		/**
 	 	 * Millisecond timestamp of when the server became ready to push this message out 
 	 	 * to clients
@@ -133,8 +171,17 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */			
-		public var serverPrePushTime:Number;
+		public function get serverPrePushTime():Number
+        {
+            return _serverPrePushTime;
+        }
+        public function set serverPrePushTime(value:Number):void
+        {
+            _serverPrePushTime = value;
+        }
 		
+        private var _serverPreAdapterTime:Number;
+        
 		/**
 	 	 * Millisecond timestamp of when the server called into the adapter associated with the
 	 	 * destination of this message
@@ -145,8 +192,17 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */				
-		public var serverPreAdapterTime:Number;
+		public function get serverPreAdapterTime():Number
+        {
+            return _serverPreAdapterTime;
+        }
+        public function set serverPreAdapterTime(value:Number):void
+        {
+            _serverPreAdapterTime = value;
+        }
 
+        private var _serverPostAdapterTime:Number;	
+        
 		/**
 	 	 * Millisecond timestamp of when server processing returned from the adapater associated 
 	 	 * with the destination of this message
@@ -157,8 +213,17 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */				
-		public var serverPostAdapterTime:Number;	
+		public function get serverPostAdapterTime():Number
+        {
+            return _serverPostAdapterTime;
+        }
+        public function set serverPostAdapterTime(value:Number):void
+        {
+            _serverPostAdapterTime = value;
+        }
 		
+        private var _serverPreAdapterExternalTime:Number;
+        
 		/**
 	 	 * Millisecond timestamp of when the adapter associated with the destination of this message
 	 	 * made a call to an external component (for example a JMS server)
@@ -169,8 +234,17 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */		
-		public var serverPreAdapterExternalTime:Number;
-		
+		public function get serverPreAdapterExternalTime():Number
+        {
+            return _serverPreAdapterExternalTime;
+        }
+		public function set serverPreAdapterExternalTime(value:Number):void
+        {
+            _serverPreAdapterExternalTime = value;
+        }
+        
+        private var _serverPostAdapterExternalTime:Number;
+        
 		/**
 	 	 * Millisecond timestamp of when processing came back to the adapter associated with the destination 
 	 	 * of this message from a call to an external component (for example a JMS server)
@@ -181,8 +255,17 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */				
-		public var serverPostAdapterExternalTime:Number;
+		public function get serverPostAdapterExternalTime():Number
+        {
+            return _serverPostAdapterExternalTime;
+        }
+        public function set serverPostAdapterExternalTime(value:Number):void
+        {
+            _serverPostAdapterExternalTime = value;
+        }
 		
+        private var _recordMessageTimes:Boolean;
+        
 		/**
 	 	 * Flag is true when record-message-times is enabled for the communication channel
 	 	 *  
@@ -192,7 +275,16 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */			
-        public var recordMessageTimes:Boolean;
+        public function get recordMessageTimes():Boolean
+        {
+            return _recordMessageTimes;
+        }
+        public function set recordMessageTimes(value:Boolean):void
+        {
+            _recordMessageTimes = value;
+        }
+        
+        private var _recordMessageSizes:Boolean;		
         
 		/**
 	 	 * Flag is true when record-message-sizes is enabled for the communication channel
@@ -203,7 +295,14 @@ package mx.messaging.messages
 	 	 *  @productversion BlazeDS 4
 	 	 *  @productversion LCDS 3 
 	 	 */	        
-        public var recordMessageSizes:Boolean;		
+        public function get recordMessageSizes():Boolean
+        {
+            return _recordMessageSizes;
+        }
+        public function set recordMessageSizes(value:Boolean):void
+        {
+            _recordMessageSizes = value;
+        }
 		
     	//--------------------------------------------------------------------------
     	//
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/RemotingMessage.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/RemotingMessage.as
index 8ec0216..1eb75f4 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/RemotingMessage.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/messages/RemotingMessage.as
@@ -64,6 +64,8 @@ public class RemotingMessage extends AbstractMessage
     // 
     //--------------------------------------------------------------------------    
 
+    private var _operation:String;
+    
     /**
      *  Provides access to the name of the remote method/operation that
      *  should be called.
@@ -74,8 +76,17 @@ public class RemotingMessage extends AbstractMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var operation:String;
+    public function get operation():String
+    {
+        return _operation;
+    }
+    public function set operation(value:String):void
+    {
+        _operation = value;
+    }
 
+    private var _source:String;
+    
     /**
      *  This property is provided for backwards compatibility. The best
      *  practice, however, is to not expose the underlying source of a
@@ -89,7 +100,14 @@ public class RemotingMessage extends AbstractMessage
      *  @productversion BlazeDS 4
      *  @productversion LCDS 3 
      */
-    public var source:String;
+    public function get source():String
+    {
+        return _source;
+    }
+    public function set source(value:String):void
+    {
+        _source = value;
+    }
 }
 
 }


[royale-asjs] 02/10: fix up EventUtils now that compiler will catch passing a plain object in as an interface. Use a factory function for Event and a conversion function for MouseEvent

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 969353f3a345d84be4fe8c69776f21ac6ff380ea
Author: Alex Harui <ah...@apache.org>
AuthorDate: Mon Jan 7 22:30:36 2019 -0800

    fix up EventUtils now that compiler will catch passing a plain object in as an interface.  Use a factory function for Event and a conversion function for MouseEvent
---
 .../apache/royale/conversions/MouseEventInit.as    | 34 ++++++++++++++++++++++
 .../apache/royale/conversions/createEventInit.as   | 30 +++++++++++++++++++
 .../org/apache/royale/events/utils/EventUtils.as   | 18 ++++++++----
 3 files changed, 76 insertions(+), 6 deletions(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/conversions/MouseEventInit.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/conversions/MouseEventInit.as
new file mode 100644
index 0000000..f61154d
--- /dev/null
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/conversions/MouseEventInit.as
@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.royale.conversions
+{
+COMPILE::JS
+{
+    import window.MouseEventInit;
+}
+
+    /**
+     * @royaleignorecoercion window.MouseEventInit 
+     */
+    COMPILE::JS
+    public function MouseEventInit(value:Object):window.MouseEventInit
+    {
+        return value as window.MouseEventInit;
+    }
+}
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/conversions/createEventInit.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/conversions/createEventInit.as
new file mode 100644
index 0000000..1f37342
--- /dev/null
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/conversions/createEventInit.as
@@ -0,0 +1,30 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.royale.conversions
+{
+    /**
+     * @royaleignorecoercion EventModifierInit 
+     */
+    COMPILE::JS
+    public function createEventInit(bubbles:Boolean = false,
+                                    cancelable:Boolean = false):EventModifierInit
+    {
+        return { "bubbles": bubbles, "cancelable": cancelable } as EventModifierInit;
+    }
+}
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as
index 42ee134..3ea56f0 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/utils/EventUtils.as
@@ -18,6 +18,14 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.royale.events.utils
 {
+COMPILE::JS
+{
+    import org.apache.royale.conversions.createEventInit;
+    import org.apache.royale.conversions.MouseEventInit;
+    import window.Event;
+    import window.MouseEvent;
+}
+
     /**
 	 *  Provides static methods for creating custom events in JS
      *  
@@ -35,7 +43,7 @@ package org.apache.royale.events.utils
 
            try
            {
-               customEvent = new window.Event(type, {bubbles: bubbles, cancelable: cancelable});
+               customEvent = new window.Event(type, createEventInit(bubbles, cancelable));
                return customEvent;
            }
            catch (e:Error)
@@ -58,16 +66,14 @@ package org.apache.royale.events.utils
            var mouseEvent:Object = null;
 
            if (!params)
-           {
                params = {};
-           }
-
+           
            try
            {
                params.bubbles = bubbles;
                params.cancelable = cancelable;
-
-               mouseEvent = new window.MouseEvent(type, params);
+               var initObject:MouseEventInit = MouseEventInit(params);
+               mouseEvent = new window.MouseEvent(type, initObject);
                return mouseEvent;
            }
            catch (e:Error)