[royale-asjs] branch develop updated: version change
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new 655e9c4 version change 655e9c4 is described below commit 655e9c48cdd7e66d92ada7706244bed77f78e14a Author: Carlos RoviraAuthorDate: Fri May 4 07:53:16 2018 +0200 version change --- .../Core/src/main/royale/org/apache/royale/utils/ClassSelectorList.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/ClassSelectorList.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/ClassSelectorList.as index 79c1b34..aa85f3c 100644 --- a/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/ClassSelectorList.as +++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/utils/ClassSelectorList.as @@ -28,7 +28,7 @@ package org.apache.royale.utils * @playerversion Flash 9 * @playerversion AIR 1.1 * @productversion Royale 1.0.0 -* @productversion Royale 0.0 +* @productversion Royale 0.9.3 */ public class ClassSelectorList { -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.
[royale-compiler] 01/01: [maven-release-plugin] prepare for next development iteration
This is an automated email from the ASF dual-hosted git repository. bigosmallm pushed a commit to branch release/0.9.3 in repository https://gitbox.apache.org/repos/asf/royale-compiler.git commit c5ba75c943e38a655e7b2e2ae23386a12838bc00 Author: Om MuppiralaAuthorDate: Thu May 3 22:30:52 2018 -0700 [maven-release-plugin] prepare for next development iteration --- compiler-common/pom.xml | 4 ++-- compiler-externc/pom.xml| 8 compiler-jx/pom.xml | 14 +++--- compiler-test-utils/pom.xml | 4 ++-- compiler/pom.xml| 10 +- debugger/pom.xml| 8 flex-compiler-oem/pom.xml | 10 +- pom.xml | 4 ++-- royale-ant-tasks/pom.xml| 4 ++-- royale-maven-plugin/pom.xml | 4 ++-- swfutils/pom.xml| 4 ++-- 11 files changed, 37 insertions(+), 37 deletions(-) diff --git a/compiler-common/pom.xml b/compiler-common/pom.xml index 5e1deab..059de1a 100644 --- a/compiler-common/pom.xml +++ b/compiler-common/pom.xml @@ -23,11 +23,11 @@ org.apache.royale.compiler royale-compiler-parent -0.9.3 +0.9.4-SNAPSHOT compiler-common -0.9.3 +0.9.4-SNAPSHOT Apache Royale: Compiler: Compiler-Common The Apache Royale Compiler Common classes diff --git a/compiler-externc/pom.xml b/compiler-externc/pom.xml index 1665851..0716cd1 100644 --- a/compiler-externc/pom.xml +++ b/compiler-externc/pom.xml @@ -23,11 +23,11 @@ org.apache.royale.compiler royale-compiler-parent -0.9.3 +0.9.4-SNAPSHOT compiler-externc - 0.9.3 + 0.9.4-SNAPSHOT Apache Royale: Compiler: Externc The Apache Royale Compiler Externs Compiler @@ -127,7 +127,7 @@ org.apache.royale.compiler compiler-common - 0.9.3 + 0.9.4-SNAPSHOT com.google.javascript @@ -138,7 +138,7 @@ org.apache.royale.compiler compiler-test-utils - 0.9.3 + 0.9.4-SNAPSHOT test diff --git a/compiler-jx/pom.xml b/compiler-jx/pom.xml index 918d315..ee2b2d2 100644 --- a/compiler-jx/pom.xml +++ b/compiler-jx/pom.xml @@ -23,11 +23,11 @@ org.apache.royale.compiler royale-compiler-parent -0.9.3 +0.9.4-SNAPSHOT compiler-jx - 0.9.3 + 0.9.4-SNAPSHOT Apache Royale: Compiler: Compiler-JX @@ -73,17 +73,17 @@ org.apache.royale.compiler compiler-common - 0.9.3 + 0.9.4-SNAPSHOT org.apache.royale.compiler compiler-externc - 0.9.3 + 0.9.4-SNAPSHOT org.apache.royale.compiler compiler - 0.9.3 + 0.9.4-SNAPSHOT org.apache.commons @@ -115,7 +115,7 @@ org.apache.royale.compiler compiler-test-utils - 0.9.3 + 0.9.4-SNAPSHOT test @@ -127,7 +127,7 @@ org.apache.royale.compiler compiler-externc - 0.9.3 + 0.9.4-SNAPSHOT test-jar test diff --git a/compiler-test-utils/pom.xml b/compiler-test-utils/pom.xml index c756999..280f8a8 100644 --- a/compiler-test-utils/pom.xml +++ b/compiler-test-utils/pom.xml @@ -23,11 +23,11 @@ org.apache.royale.compiler royale-compiler-parent -0.9.3 +0.9.4-SNAPSHOT compiler-test-utils - 0.9.3 + 0.9.4-SNAPSHOT Apache Royale: Compiler: Test Utils diff --git a/compiler/pom.xml b/compiler/pom.xml index b408dd1..b6f4b96 100644 --- a/compiler/pom.xml +++ b/compiler/pom.xml @@ -23,11 +23,11 @@ org.apache.royale.compiler royale-compiler-parent -0.9.3 +0.9.4-SNAPSHOT compiler - 0.9.3 + 0.9.4-SNAPSHOT Apache Royale: Compiler: Compiler The Apache Royale Compiler @@ -503,7 +503,7 @@ org.apache.royale.compiler compiler-common - 0.9.3 + 0.9.4-SNAPSHOT org.apache.flex @@ -555,13 +555,13 @@ org.apache.royale.compiler compiler-test-utils - 0.9.3 + 0.9.4-SNAPSHOT test org.apache.royale.compiler compiler-externc - 0.9.3 + 0.9.4-SNAPSHOT junit diff --git a/debugger/pom.xml b/debugger/pom.xml index f1ddcab..0efa2b6 100644 --- a/debugger/pom.xml +++ b/debugger/pom.xml @@ -23,11 +23,11 @@ org.apache.royale.compiler royale-compiler-parent -0.9.3 +0.9.4-SNAPSHOT debugger - 0.9.3 + 0.9.4-SNAPSHOT Apache Royale: Compiler: Debugger @@ -82,12 +82,12 @@ Do all the JBurg code generation. org.apache.royale.compiler compiler - 0.9.3 + 0.9.4-SNAPSHOT org.apache.royale.compiler swfutils - 0.9.3 + 0.9.4-SNAPSHOT commons-lang diff --git a/flex-compiler-oem/pom.xml b/flex-compiler-oem/pom.xml index a4ee268..83b041e 100644 --- a/flex-compiler-oem/pom.xml +++ b/flex-compiler-oem/pom.xml @@ -23,11
[royale-asjs] branch develop updated: try moving initialView to be last property to set up so fx:Declarations and most other properties get initialized first. This should be more like the order of exe
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 The following commit(s) were added to refs/heads/develop by this push: new 40d0e1c try moving initialView to be last property to set up so fx:Declarations and most other properties get initialized first. This should be more like the order of execution in Flex 40d0e1c is described below commit 40d0e1ca8ca44cc5272e9c69c86d4cf009f6c1a7 Author: Alex HaruiAuthorDate: Thu May 3 12:31:01 2018 -0700 try moving initialView to be last property to set up so fx:Declarations and most other properties get initialized first. This should be more like the order of execution in Flex --- .../main/royale/org/apache/royale/core/Application.as | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/Application.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/Application.as index 44f20be..d50d6e7 100644 --- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/Application.as +++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/Application.as @@ -23,7 +23,7 @@ package org.apache.royale.core import org.apache.royale.events.IEventDispatcher; import org.apache.royale.events.MouseEvent; import org.apache.royale.utils.MXMLDataInterpreter; - import org.apache.royale.utils.Timer; +import org.apache.royale.utils.Timer; COMPILE::SWF { import flash.display.DisplayObject; @@ -372,6 +372,21 @@ package org.apache.royale.core */ public function generateMXMLAttributes(data:Array):void { +// move the initialView to be the last thing to be +// the last thing instantiated so all other properties +// are set up first. This more closely mimics the +// Flex timing +var propCount:int = data[0]; +var n:int = data.length; +for (var i:int = 1; i < n; i += 3) +{ +if (data[i] == "initialView") +{ +var initialViewArray:Array = data.splice(i, 3); +var offset:int = (propCount - 1) * 3 + 1; +data.splice(offset, 0, initialViewArray[0], initialViewArray[1], initialViewArray[2]); +} +} MXMLDataInterpreter.generateMXMLProperties(this, data); } -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-compiler] branch develop updated: compiler: fixed issue in MXMLTreeBuilder where invalid Number, int, uint, and Boolean values for properties in MXML were not producing compiler errors.
This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git The following commit(s) were added to refs/heads/develop by this push: new 52f24d4 compiler: fixed issue in MXMLTreeBuilder where invalid Number, int, uint, and Boolean values for properties in MXML were not producing compiler errors. 52f24d4 is described below commit 52f24d44a2185b6553bfc26dd6067662925b70af Author: Josh TynjalaAuthorDate: Thu May 3 11:57:42 2018 -0700 compiler: fixed issue in MXMLTreeBuilder where invalid Number, int, uint, and Boolean values for properties in MXML were not producing compiler errors. For example, you could set a property of type Number to the string 'abc' and it would be allowed. --- .../royale/compiler/internal/tree/mxml/MXMLTreeBuilder.java | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/compiler/src/main/java/org/apache/royale/compiler/internal/tree/mxml/MXMLTreeBuilder.java b/compiler/src/main/java/org/apache/royale/compiler/internal/tree/mxml/MXMLTreeBuilder.java index 08b47fc..2fe0ecb 100644 --- a/compiler/src/main/java/org/apache/royale/compiler/internal/tree/mxml/MXMLTreeBuilder.java +++ b/compiler/src/main/java/org/apache/royale/compiler/internal/tree/mxml/MXMLTreeBuilder.java @@ -468,11 +468,18 @@ public class MXMLTreeBuilder { String typeName = type.getQualifiedName(); if (typeName.equals(IASLanguageConstants.String) || -typeName.equals(IASLanguageConstants.Object)|| +typeName.equals(IASLanguageConstants.Object) || typeName.equals(IASLanguageConstants.ANY_TYPE)) { value = ""; } +if (typeName.equals(IASLanguageConstants.Number) || +typeName.equals(IASLanguageConstants._int) || +typeName.equals(IASLanguageConstants.uint) || +typeName.equals(IASLanguageConstants.Boolean)) +{ +return null; +} } MXMLLiteralNode literalNode = new MXMLLiteralNode(null, value); -- To stop receiving notification emails like this one, please contact joshtynj...@apache.org.
[royale-compiler] 01/02: suppress more warnings
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-compiler.git commit 2d213f1f5927a4e8bd00a5e23c0afbdfa8cb7494 Author: Alex HaruiAuthorDate: Thu May 3 11:55:07 2018 -0700 suppress more warnings --- .../java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java b/compiler-jx/src/main/java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java index 2b1abfd..44f3940 100644 --- a/compiler-jx/src/main/java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java +++ b/compiler-jx/src/main/java/org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java @@ -394,7 +394,7 @@ public class JSClosureCompilerWrapper String[] asdocTags = new String[] {"productversion", "playerversion", "langversion", "copy", "asparam", "asreturn", "asprivate", - "royaleignoreimport", "royaleignorecoercion", "royalenoimplicitstringconversion"}; + "royaleignoreimport", "royaleignorecoercion", "royaleemitcoercion", "royalenoimplicitstringconversion"}; options_.setExtraAnnotationNames(Arrays.asList(asdocTags)); } -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-compiler] 02/02: better error messages
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-compiler.git commit 64124a1473b587a13e0c4e8fa6bbf06ffb1d7e80 Author: Alex HaruiAuthorDate: Thu May 3 11:56:02 2018 -0700 better error messages --- .../compiler/internal/semantics/MethodBodySemanticChecker.java | 6 ++ 1 file changed, 6 insertions(+) diff --git a/compiler/src/main/java/org/apache/royale/compiler/internal/semantics/MethodBodySemanticChecker.java b/compiler/src/main/java/org/apache/royale/compiler/internal/semantics/MethodBodySemanticChecker.java index 843eb5f..1ed40b6 100644 --- a/compiler/src/main/java/org/apache/royale/compiler/internal/semantics/MethodBodySemanticChecker.java +++ b/compiler/src/main/java/org/apache/royale/compiler/internal/semantics/MethodBodySemanticChecker.java @@ -1745,6 +1745,12 @@ public class MethodBodySemanticChecker ); } +while (iNode.getSourcePath().contains("compiler-jx") && + iNode.getSourcePath().contains("config.as")) + { + iNode = iNode.getParent(); + } + return new AccessUndefinedPropertyProblem(iNode, unknown_name); } -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-compiler] branch develop updated (e47dbda -> 64124a1)
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-compiler.git. from e47dbda [maven-release-plugin] prepare for next development iteration new 2d213f1 suppress more warnings new 64124a1 better error messages The 2 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: .../org/apache/royale/compiler/utils/JSClosureCompilerWrapper.java | 2 +- .../compiler/internal/semantics/MethodBodySemanticChecker.java | 6 ++ 2 files changed, 7 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact aha...@apache.org.
[royale-asjs] branch develop updated: removed basic dependency in Jewel, JewelTheme and JewelExample, update version numbers and make some clean up
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new ace886a removed basic dependency in Jewel, JewelTheme and JewelExample, update version numbers and make some clean up ace886a is described below commit ace886accf956d0ecc7b393cf5e7e31bfea9a922 Author: Carlos RoviraAuthorDate: Thu May 3 19:27:55 2018 +0200 removed basic dependency in Jewel, JewelTheme and JewelExample, update version numbers and make some clean up --- examples/royale/JewelExample/pom.xml | 14 --- frameworks/projects/Jewel/pom.xml | 14 --- .../royale/org/apache/royale/jewel/Application.as | 6 +- .../main/royale/org/apache/royale/jewel/Button.as | 8 +- .../royale/org/apache/royale/jewel/CheckBox.as | 4 +- .../royale/org/apache/royale/jewel/ControlBar.as | 4 +- .../royale/org/apache/royale/jewel/DropDownList.as | 8 +- .../main/royale/org/apache/royale/jewel/Label.as | 10 +- .../main/royale/org/apache/royale/jewel/List.as| 6 +- .../main/royale/org/apache/royale/jewel/Slider.as | 2 +- .../royale/org/apache/royale/jewel/TextInput.as| 4 +- .../royale/org/apache/royale/jewel/TitleBar.as | 4 +- .../royale/jewel/beads/layouts/HorizontalLayout.as | 4 +- .../beads/layouts/HorizontalLayoutSpaceBetween.as | 4 +- .../layouts/HorizontalLayoutWithPaddingAndGap.as | 14 +-- .../royale/jewel/beads/layouts/VerticalLayout.as | 2 +- .../layouts/VerticalLayoutWithPaddingAndGap.as | 16 +-- .../royale/jewel/beads/views/CheckBoxView.as | 16 +-- .../apache/royale/jewel/beads/views/ListView.as| 2 +- .../royale/jewel/beads/views/RadioButtonView.as| 12 +- .../royale/jewel/supportClasses/ITextField.as | 6 +- .../royale/jewel/supportClasses/ITextInput.as | 6 +- .../royale/jewel/supportClasses/RadioButtonIcon.as | 2 +- .../royale/jewel/supportClasses/TextInputBase.as | 14 +-- .../royale/org/apache/royale/util/ClassListUtil.as | 131 - frameworks/themes/JewelTheme/pom.xml | 14 --- 26 files changed, 77 insertions(+), 250 deletions(-) diff --git a/examples/royale/JewelExample/pom.xml b/examples/royale/JewelExample/pom.xml index 2cef798..49ad879 100644 --- a/examples/royale/JewelExample/pom.xml +++ b/examples/royale/JewelExample/pom.xml @@ -73,20 +73,6 @@ org.apache.royale.framework - Basic - 0.9.3-SNAPSHOT - swc - swf - - - org.apache.royale.framework - Basic - 0.9.3-SNAPSHOT - swc - js - - - org.apache.royale.framework HTML 0.9.3-SNAPSHOT swc diff --git a/frameworks/projects/Jewel/pom.xml b/frameworks/projects/Jewel/pom.xml index 196c471..cc41a9c 100644 --- a/frameworks/projects/Jewel/pom.xml +++ b/frameworks/projects/Jewel/pom.xml @@ -155,20 +155,6 @@ org.apache.royale.framework - Basic - 0.9.3-SNAPSHOT - swc - swf - - - org.apache.royale.framework - Basic - 0.9.3-SNAPSHOT - swc - js - - - org.apache.royale.framework HTML 0.9.3-SNAPSHOT swc diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Application.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Application.as index b29f0a4..10ae0d1 100644 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Application.as +++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Application.as @@ -31,7 +31,7 @@ package org.apache.royale.jewel * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 -* @productversion Royale 0.9.2 +* @productversion Royale 0.9.3 */ public class Application extends org.apache.royale.core.Application { @@ -45,7 +45,7 @@ package org.apache.royale.jewel * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 - * @productversion Royale 0.9.2 + * @productversion Royale 0.9.3 */ public function Application() { @@ -63,7 +63,7 @@ package org.apache.royale.jewel * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 - * @productversion Royale 0.9.2 + * @productversion Royale 0.9.3 */ //public static var topLevelApplication:Object; } diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as index d0a458f..9f1904a 100644 ---
[royale-asjs] branch develop updated: Move UIBase from Basic to Core, so we can remove Basic dependency when using other UI sets like MDL or Jewel. Still remains more work to do to be able to do this
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new 14b2626 Move UIBase from Basic to Core, so we can remove Basic dependency when using other UI sets like MDL or Jewel. Still remains more work to do to be able to do this separation. 14b2626 is described below commit 14b26260bdc76ec884ab3862e8c4cc8bbd08f90d Author: Carlos RoviraAuthorDate: Thu May 3 19:02:52 2018 +0200 Move UIBase from Basic to Core, so we can remove Basic dependency when using other UI sets like MDL or Jewel. Still remains more work to do to be able to do this separation. --- frameworks/projects/Basic/src/main/royale/BasicClasses.as | 2 +- frameworks/projects/Core/src/main/royale/CoreClasses.as | 1 + .../src/main/royale/org/apache/royale/core/HTMLElementWrapper.as| 0 .../{Basic => Core}/src/main/royale/org/apache/royale/core/UIBase.as| 0 .../src/main/royale/org/apache/royale/html/util/addElementToWrapper.as | 0 5 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frameworks/projects/Basic/src/main/royale/BasicClasses.as b/frameworks/projects/Basic/src/main/royale/BasicClasses.as index ef6ef6e..ff55193 100644 --- a/frameworks/projects/Basic/src/main/royale/BasicClasses.as +++ b/frameworks/projects/Basic/src/main/royale/BasicClasses.as @@ -243,7 +243,7 @@ internal class BasicClasses import org.apache.royale.core.ListBase; ListBase; import org.apache.royale.core.Lookalike; Lookalike; import org.apache.royale.core.FilledRectangle; FilledRectangle; -import org.apache.royale.core.UIBase; UIBase; + COMPILE::JS { import org.apache.royale.core.UIElement; UIElement; diff --git a/frameworks/projects/Core/src/main/royale/CoreClasses.as b/frameworks/projects/Core/src/main/royale/CoreClasses.as index a1061dd..d189481 100644 --- a/frameworks/projects/Core/src/main/royale/CoreClasses.as +++ b/frameworks/projects/Core/src/main/royale/CoreClasses.as @@ -26,6 +26,7 @@ package { */ internal class CoreClasses { + import org.apache.royale.core.UIBase; UIBase; import org.apache.royale.core.BeadViewBase; BeadViewBase; import org.apache.royale.core.ImageViewBase; ImageViewBase; import org.apache.royale.core.BrowserWindow; BrowserWindow; diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/HTMLElementWrapper.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/HTMLElementWrapper.as similarity index 100% rename from frameworks/projects/Basic/src/main/royale/org/apache/royale/core/HTMLElementWrapper.as rename to frameworks/projects/Core/src/main/royale/org/apache/royale/core/HTMLElementWrapper.as diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/UIBase.as similarity index 100% rename from frameworks/projects/Basic/src/main/royale/org/apache/royale/core/UIBase.as rename to frameworks/projects/Core/src/main/royale/org/apache/royale/core/UIBase.as diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/util/addElementToWrapper.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/html/util/addElementToWrapper.as similarity index 100% rename from frameworks/projects/Basic/src/main/royale/org/apache/royale/html/util/addElementToWrapper.as rename to frameworks/projects/Core/src/main/royale/org/apache/royale/html/util/addElementToWrapper.as -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.
[royale-asjs] branch develop updated: trying to fix maven mxroyale build
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new c91439a trying to fix maven mxroyale build c91439a is described below commit c91439a34ae2bf959078b8b1377c8a3c6839c9bd Author: Carlos RoviraAuthorDate: Thu May 3 18:04:11 2018 +0200 trying to fix maven mxroyale build --- examples/mxroyale/ControlsExample/pom.xml | 2 ++ examples/mxroyale/HelloWorld/pom.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/mxroyale/ControlsExample/pom.xml b/examples/mxroyale/ControlsExample/pom.xml index 0b0e472..8ea1dd2 100644 --- a/examples/mxroyale/ControlsExample/pom.xml +++ b/examples/mxroyale/ControlsExample/pom.xml @@ -40,6 +40,8 @@ true ControlsExample.mxml + JSRoyale,SWF + false diff --git a/examples/mxroyale/HelloWorld/pom.xml b/examples/mxroyale/HelloWorld/pom.xml index 9461f5c..0576a8c 100644 --- a/examples/mxroyale/HelloWorld/pom.xml +++ b/examples/mxroyale/HelloWorld/pom.xml @@ -40,6 +40,8 @@ true HelloWorld.mxml + JSRoyale,SWF + false -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: Update MXRoyaleClasses.as for IModuleInfo
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 7f4b3a6 Update MXRoyaleClasses.as for IModuleInfo 7f4b3a6 is described below commit 7f4b3a6584e14842a3173aae4b3221dc5d375801 Author: alinakaziAuthorDate: Thu May 3 17:21:08 2018 +0500 Update MXRoyaleClasses.as for IModuleInfo --- frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as index a57a7ee..f28ed70 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as +++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as @@ -144,6 +144,8 @@ internal class MXRoyaleClasses import mx.skins.RectangularBorder; RectangularBorder; import mx.styles.ISimpleStyleClient; ISimpleStyleClient; import mx.styles.StyleProxy; StyleProxy; + import mx.modules.IModuleInfo; IModuleInfo; + COMPILE::SWF { import mx.controls.beads.CSSImageAndTextButtonView; CSSImageAndTextButtonView; -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: IModuleInfo.as Added
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new b04417a IModuleInfo.as Added b04417a is described below commit b04417a361d3698eebd2f93b1183ea141c2c277b Author: alinakaziAuthorDate: Thu May 3 17:20:07 2018 +0500 IModuleInfo.as Added --- .../src/main/royale/mx/modules/IModuleInfo.as | 328 + 1 file changed, 328 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/modules/IModuleInfo.as b/frameworks/projects/MXRoyale/src/main/royale/mx/modules/IModuleInfo.as new file mode 100644 index 000..4f3c842 --- /dev/null +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/modules/IModuleInfo.as @@ -0,0 +1,328 @@ + +// +// 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 mx.modules +{ +/* +import flash.system.ApplicationDomain; +import flash.system.SecurityDomain; +import flash.utils.ByteArray; +import mx.core.IFlexModuleFactory; */ +import org.apache.royale.events.IEventDispatcher; + +//-- +// Events +//-- + +/** + * Dispatched by the backing ModuleInfo if there was an error during + * module loading. + * + * @eventType mx.events.ModuleEvent.ERROR + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +//[Event(name="error", type="mx.events.ModuleEvent")] + +/** + * Dispatched by the backing ModuleInfo at regular intervals + * while the module is being loaded. + * + * @eventType mx.events.ModuleEvent.PROGRESS + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +//[Event(name="progress", type="mx.events.ModuleEvent")] + +/** + * Dispatched by the backing ModuleInfo once the module is sufficiently + * loaded to call the IModuleInfo.factory() method and the + * IFlexModuleFactory.create() method. + * + * @eventType mx.events.ModuleEvent.READY + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +//[Event(name="ready", type="mx.events.ModuleEvent")] + +/** + * Dispatched by the backing ModuleInfo once the module is sufficiently + * loaded to call the IModuleInfo.factory() method and + * the IFlexModuleFactory.info() method. + * + * @eventType mx.events.ModuleEvent.SETUP + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +//[Event(name="setup", type="mx.events.ModuleEvent")] + +/** + * Dispatched by the backing ModuleInfo when the module data is unloaded. + * + * @eventType mx.events.ModuleEvent.UNLOAD + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +//[Event(name="unload", type="mx.events.ModuleEvent")] + +/** + * An interface that acts as a handle for a particular module. + * From this interface, the module status can be queried, + * its inner factory can be obtained, and it can be loaded or unloaded. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +public interface IModuleInfo extends IEventDispatcher +{ + //-- +// +// Properties +// + //-- + +//-- +// data +//-- + +/** + * User data that can be associated with the singleton IModuleInfo + * for a given URL. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ + /*
[royale-asjs] branch feature/MXRoyale updated: ISimpleStyleClient.as Added
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 69530a9 ISimpleStyleClient.as Added 69530a9 is described below commit 69530a99742e40b3d01c138830955ce76967c1cb Author: alinakaziAuthorDate: Thu May 3 17:09:12 2018 +0500 ISimpleStyleClient.as Added --- .../main/royale/mx/styles/ISimpleStyleClient.as| 94 ++ 1 file changed, 94 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/styles/ISimpleStyleClient.as b/frameworks/projects/MXRoyale/src/main/royale/mx/styles/ISimpleStyleClient.as new file mode 100644 index 000..18a2afc --- /dev/null +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/styles/ISimpleStyleClient.as @@ -0,0 +1,94 @@ + +// +// 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 mx.styles +{ + +/** + * This interface describes the properties and methods that an object + * must implement so that it can participate in the style subsystem. + * This interface is intended to be used by classes that obtain their + * style values from other objects rather than through locally set values + * and type selectors. + * This interface is implemented by ProgrammaticSkin. + * + * @see mx.styles.IStyleClient + * @see mx.styles.CSSStyleDeclaration + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +public interface ISimpleStyleClient +{ + //-- +// +// Properties +// + //-- + +//-- +// styleName +//-- + +/** + * The source of this object's style values. + * The value of the styleName property can be one of three possible types: + * + * + *String, such as "headerStyle". The String names a class selector that is defined in a CSS style sheet. + * + *CSSStyleDeclaration, such as StyleManager.getStyleDeclaration(".headerStyle"). + * + *UIComponent. The object that implements this interface inherits all the style values from the referenced UIComponent. + * + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ + /* function get styleName():Object + */ +/** + * @private + */ +// function set styleName(value:Object):void + + //-- +// +// Methods +// + //-- + +/** + * Called when the value of a style property is changed. + * + * @param styleProp The name of the style property that changed. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +/* function styleChanged(styleProp:String):void; */ +} + +} -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: Update MXRoyaleClasses for RectangularBorder
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 4a13b33 Update MXRoyaleClasses for RectangularBorder 4a13b33 is described below commit 4a13b333a99acfe53d04473fe70bac29d0f45767 Author: alinakaziAuthorDate: Thu May 3 16:44:11 2018 +0500 Update MXRoyaleClasses for RectangularBorder --- frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as index 9099be8..915594e 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as +++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as @@ -141,6 +141,8 @@ internal class MXRoyaleClasses import mx.rpc.AsyncResponder; AsyncResponder; import mx.rpc.Responder; Responder; import mx.printing.FlexPrintJobScaleType; FlexPrintJobScaleType; + import mx.skins.RectangularBorder; RectangularBorder; + COMPILE::SWF { import mx.controls.beads.CSSImageAndTextButtonView; CSSImageAndTextButtonView; -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: RectangularBorder.as Added
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 05d3f0c RectangularBorder.as Added 05d3f0c is described below commit 05d3f0c86574e36485cdb857ad32cf556d6b6ee9 Author: alinakaziAuthorDate: Thu May 3 16:43:04 2018 +0500 RectangularBorder.as Added --- .../src/main/royale/mx/skins/RectangularBorder.as | 494 + 1 file changed, 494 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/skins/RectangularBorder.as b/frameworks/projects/MXRoyale/src/main/royale/mx/skins/RectangularBorder.as new file mode 100644 index 000..1f5bd91 --- /dev/null +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/skins/RectangularBorder.as @@ -0,0 +1,494 @@ + +// +// 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 mx.skins +{ +/* +import flash.display.DisplayObject; +import flash.display.DisplayObjectContainer; +import flash.display.Graphics; +import flash.display.Loader; +import flash.display.LoaderInfo; +import flash.display.Shape; +import flash.events.ErrorEvent; +import flash.events.Event; +import flash.events.IOErrorEvent; +import flash.geom.Rectangle; +import flash.net.URLRequest; +import flash.system.ApplicationDomain; +import flash.system.LoaderContext; +import flash.utils.getDefinitionByName; +import mx.core.EdgeMetrics; +import mx.core.FlexLoader; +import mx.core.FlexShape; +import mx.core.IContainer; +import mx.core.IRawChildrenContainer; +import mx.core.mx_internal; +import mx.core.IRectangularBorder; +import mx.managers.ISystemManager; +import mx.managers.SystemManager; +import mx.resources.IResourceManager; +import mx.resources.ResourceManager; +import mx.styles.ISimpleStyleClient; + +use namespace mx_internal; +*/ +import mx.core.IChildList; +import org.apache.royale.events.Event; + +[ResourceBundle("skins")] + +/** + * The RectangularBorder class is an abstract base class for various classes + * that draw rectangular borders around UIComponents. + * + * This class implements support for the backgroundImage, + * backgroundSize, and backgroundAttachment styles. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ +public class RectangularBorder extends Border +{ +//implements IRectangularBorder + // include "../core/Version.as"; + + //-- +// +// Constructor +// + //-- + +/** + * Constructor. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ +public function RectangularBorder() +{ +super(); + +//addEventListener(Event.REMOVED, removedHandler); + addEventListener("removed", removedHandler); +} + + //-- +// +// Variables +// + //-- + +/** + * @private + * The value of the backgroundImage style may be either a string + * or a Class pointer. Either way, the value of the backgroundImage + * style is stored here, so that we can detect when it changes. + */ +//private var backgroundImageStyle:Object + +/** + * @private + * Original width of background image, before it is scaled. + */ +//private var backgroundImageWidth:Number; + +/** + * @private + * Original height of background image, before it is scaled. + */ +//private var backgroundImageHeight:Number; + +/** + * @private + * Used for accessing localized Error
[royale-asjs] branch feature/MXRoyale updated: Update MXRoyaleClasses for FlexPrintJobScaleType
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 32e2ec9 Update MXRoyaleClasses for FlexPrintJobScaleType 32e2ec9 is described below commit 32e2ec93919e6892ef7a9b1dd8562efd75ae2488 Author: alinakaziAuthorDate: Thu May 3 16:30:53 2018 +0500 Update MXRoyaleClasses for FlexPrintJobScaleType --- frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as index 3bbd5bb..9099be8 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as +++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as @@ -140,6 +140,7 @@ internal class MXRoyaleClasses import mx.graphics.LinearGradientStroke; LinearGradientStroke; import mx.rpc.AsyncResponder; AsyncResponder; import mx.rpc.Responder; Responder; + import mx.printing.FlexPrintJobScaleType; FlexPrintJobScaleType; COMPILE::SWF { import mx.controls.beads.CSSImageAndTextButtonView; CSSImageAndTextButtonView; -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: FlexPrintJobScaleType.as Added
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new e6bed4b FlexPrintJobScaleType.as Added e6bed4b is described below commit e6bed4b58e76a30e688628e0a239befb5a23db90 Author: alinakaziAuthorDate: Thu May 3 16:30:02 2018 +0500 FlexPrintJobScaleType.as Added --- .../royale/mx/printing/FlexPrintJobScaleType.as| 107 + 1 file changed, 107 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/printing/FlexPrintJobScaleType.as b/frameworks/projects/MXRoyale/src/main/royale/mx/printing/FlexPrintJobScaleType.as new file mode 100644 index 000..3939a69 --- /dev/null +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/printing/FlexPrintJobScaleType.as @@ -0,0 +1,107 @@ + +// +// 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 mx.printing +{ + +/** + * Values for the scaleType property + * of the FlexPrintJob.addObject() method parameter. + * + * @see FlexPrintJob#addObject() + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +public final class FlexPrintJobScaleType +{ +/* include "../core/Version.as"; + */ + //-- + // + // Class constants + // + //-- + + /** +* Scales the object to fill at least one page completely; +* that is, it selects the larger of the MATCH_WIDTH or MATCH_HEIGHT +* scale types. +* +* @langversion 3.0 +* @playerversion Flash 9 +* @playerversion AIR 1.1 +* @productversion Royale 0.9.3 +*/ + //public static const FILL_PAGE:String = "fillPage"; + + /** +* Scales the object to fill the available page height. +* If the resulting object width exceeds the page width, the output +* spans multiple pages. +* +* @langversion 3.0 +* @playerversion Flash 9 +* @playerversion AIR 1.1 +* @productversion Royale 0.9.3 +*/ + //public static const MATCH_HEIGHT:String = "matchHeight"; + + /** +* Scales the object to fill the available page width. +* If the resulting object height exceeds the page height, the output +* spans multiple pages. +* +* @langversion 3.0 +* @playerversion Flash 9 +* @playerversion AIR 1.1 +* @productversion Royale 0.9.3 +*/ + //public static const MATCH_WIDTH:String = "matchWidth"; + + /** +* Does not scale the output. +* The printed page has the same dimensions as the object on the screen. +* If the object height, width, or both dimensions exceed the page width +* or height, the output spans multiple pages. +* +* @langversion 3.0 +* @playerversion Flash 9 +* @playerversion AIR 1.1 +* @productversion Royale 0.9.3 +*/ + //public static const NONE:String = "none"; + + /** +* Scales the object to fit on a single page, filling one dimension; +* that is, it selects the smaller of the MATCH_WIDTH or MATCH_HEIGHT +* scale types. +* +* @langversion 3.0 +* @playerversion Flash 9 +* @playerversion AIR 1.1 +* @productversion Royale 0.9.3 +*/ + public static const SHOW_ALL:String = "showAll"; +} + +} + -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: Update MXRoyaleClasses for Responder
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 5ef90f8 Update MXRoyaleClasses for Responder 5ef90f8 is described below commit 5ef90f896cae068eb315b8e8cfbb3a75a7349f3d Author: alinakaziAuthorDate: Thu May 3 16:19:49 2018 +0500 Update MXRoyaleClasses for Responder --- frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as index a0ce4ba..3bbd5bb 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as +++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as @@ -139,7 +139,7 @@ internal class MXRoyaleClasses import mx.controls.VScrollBar; VScrollBar; import mx.graphics.LinearGradientStroke; LinearGradientStroke; import mx.rpc.AsyncResponder; AsyncResponder; - + import mx.rpc.Responder; Responder; COMPILE::SWF { import mx.controls.beads.CSSImageAndTextButtonView; CSSImageAndTextButtonView; -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: Responder.as Added
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new f12f33c Responder.as Added f12f33c is described below commit f12f33c241f0a67bacc4ed9ff24efe6d746fcdcd Author: alinakaziAuthorDate: Thu May 3 16:18:48 2018 +0500 Responder.as Added --- .../MXRoyale/src/main/royale/mx/rpc/Responder.as | 92 ++ 1 file changed, 92 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Responder.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Responder.as new file mode 100644 index 000..cbd7d36 --- /dev/null +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Responder.as @@ -0,0 +1,92 @@ + +// +// 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 mx.rpc +{ + +/** + * This class provides a default implementation of + * the mx.rpc.IResponder interface. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +public class Responder +{ +//implements IResponder +/** + * Constructs an instance of the responder with the specified handlers. + * + * @param result Function that should be called when the request has + * completed successfully. + * @param fault Function that should be called when the request has + * completed with errors. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +public function Responder(result:Function, fault:Function) +{ +/* super(); +_resultHandler = result; +_faultHandler = fault; */ +} + +/** + * This method is called by a remote service when the return value has been + * received. + * + * @param data Object containing the information about the error that occured. . + * While data is typed as Object, it is often (but not always) + * an mx.rpc.events.ResultEvent. + */ +/* public function result(data:Object):void +{ +_resultHandler(data); +} */ + +/** + * This method is called by a service when an error has been received. + * + * @param info Object containing the information returned from the request. + * While info is typed as Object, it is often (but not always) + * an mx.rpc.events.FaultEvent. + */ + /* public function fault(info:Object):void +{ +_faultHandler(info); +} */ + +/** + * @private + */ +//private var _resultHandler:Function; + +/** + * @private + */ + // private var _faultHandler:Function; +} + + +} \ No newline at end of file -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: Update MXRoyaleClasses for AsyncResponder
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 60ce62e Update MXRoyaleClasses for AsyncResponder 60ce62e is described below commit 60ce62e046eb410b89bfa70a994f5571ad58146d Author: alinakaziAuthorDate: Thu May 3 16:14:58 2018 +0500 Update MXRoyaleClasses for AsyncResponder --- frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as index 2f84d27..a0ce4ba 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as +++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as @@ -138,6 +138,7 @@ internal class MXRoyaleClasses import mx.rpc.events.ResultEvent; ResultEvent; import mx.controls.VScrollBar; VScrollBar; import mx.graphics.LinearGradientStroke; LinearGradientStroke; + import mx.rpc.AsyncResponder; AsyncResponder; COMPILE::SWF { -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: Update MXRoyaleClasses.as for LinearGradientStroke
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 0394692 Update MXRoyaleClasses.as for LinearGradientStroke 0394692 is described below commit 039469293aec9d3d132a4f1a0c2c5c0ccc446cc1 Author: alinakaziAuthorDate: Thu May 3 16:05:14 2018 +0500 Update MXRoyaleClasses.as for LinearGradientStroke --- frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as index 396c389..2f84d27 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as +++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as @@ -137,6 +137,8 @@ internal class MXRoyaleClasses import mx.rpc.events.InvokeEvent; InvokeEvent; import mx.rpc.events.ResultEvent; ResultEvent; import mx.controls.VScrollBar; VScrollBar; + import mx.graphics.LinearGradientStroke; LinearGradientStroke; + COMPILE::SWF { import mx.controls.beads.CSSImageAndTextButtonView; CSSImageAndTextButtonView; -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: LinearGradientStroke.as Added
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new d7b964a LinearGradientStroke.as Added d7b964a is described below commit d7b964ac6a4b9957f6755c63b3ed9df48ed00de8 Author: alinakaziAuthorDate: Thu May 3 16:04:02 2018 +0500 LinearGradientStroke.as Added --- .../royale/mx/graphics/LinearGradientStroke.as | 393 + 1 file changed, 393 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/LinearGradientStroke.as b/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/LinearGradientStroke.as new file mode 100644 index 000..eddea72 --- /dev/null +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/LinearGradientStroke.as @@ -0,0 +1,393 @@ + +// +// 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 mx.graphics +{ + +/* import flash.display.GradientType; +import flash.display.Graphics; +import flash.display.GraphicsGradientFill; +import flash.display.GraphicsStroke; +import flash.geom.Matrix; +import flash.geom.Point; +import flash.geom.Rectangle; + */ +import org.apache.royale.graphics.GradientBase; +import mx.core.mx_internal; + +use namespace mx_internal; + +/** + * The LinearGradientStroke class lets you specify a gradient filled stroke. + * You use the LinearGradientStroke class, along with the GradientEntry class, + * to define a gradient stroke. + * + * @see mx.graphics.Stroke + * @see mx.graphics.GradientEntry + * @see mx.graphics.RadialGradient + * @see flash.display.Graphics + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ +public class LinearGradientStroke extends GradientBase +{ /* extends GradientStroke */ +//include "../core/Version.as"; + + //-- +// +// Constructor +// + //-- + +/** + * Constructor. + * + * @param weight Specifies the line weight, in pixels. + * This parameter is optional, + * with a default value of 1. + * + * @param pixelHinting A Boolean value that specifies + * whether to hint strokes to full pixels. + * This affects both the position of anchors of a curve + * and the line stroke size itself. + * With pixelHinting set to true, + * Flash Player and AIR hint line widths to full pixel widths. + * With pixelHinting set to false, + * disjoints can appear for curves and straight lines. + * This parameter is optional, + * with a default value of false. + * + * @param scaleMode A value from the LineScaleMode class + * that specifies which scale mode to use. + * Valid values are LineScaleMode.HORIZONTAL, + * LineScaleMode.NONE, LineScaleMode.NORMAL, + * and LineScaleMode.VERTICAL. + * This parameter is optional, + * with a default value of LineScaleMode.NONE. + * + * @param caps A value from the CapsStyle class + * that specifies the type of caps at the end of lines. + * Valid values are CapsStyle.NONE, + * CapsStyle.ROUND, and CapsStyle.SQUARE. + * A null value is equivalent to + * CapsStyle.ROUND. + * This parameter is optional, + * with a default value of CapsStyle.ROUND. + * + * @param joints A value from the JointStyle class + * that specifies the type of joint appearance used at angles. + * Valid values are JointStyle.BEVEL, + * JointStyle.MITER, and JointStyle.ROUND. + * A null value is equivalent to + * JointStyle.ROUND. + * This parameter is optional, + * with a default value of JointStyle.ROUND. + * + * @param miterLimit A number that indicates the
[royale-asjs] branch feature/MXRoyale updated: Update MXRoyaleClasses for VScrollBar.as
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 19dcdb6 Update MXRoyaleClasses for VScrollBar.as 19dcdb6 is described below commit 19dcdb60feacddc7a44718e389b81857bf153293 Author: alinakaziAuthorDate: Thu May 3 14:54:51 2018 +0500 Update MXRoyaleClasses for VScrollBar.as --- frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as index 56ec093..396c389 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as +++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as @@ -136,6 +136,7 @@ internal class MXRoyaleClasses import mx.rpc.AsyncToken; AsyncToken; import mx.rpc.events.InvokeEvent; InvokeEvent; import mx.rpc.events.ResultEvent; ResultEvent; + import mx.controls.VScrollBar; VScrollBar; COMPILE::SWF { import mx.controls.beads.CSSImageAndTextButtonView; CSSImageAndTextButtonView; -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: VScrollBar.as Added
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 6c379bf VScrollBar.as Added 6c379bf is described below commit 6c379bf25629f87e14c64887a97e5740172f2b10 Author: alinakaziAuthorDate: Thu May 3 14:53:50 2018 +0500 VScrollBar.as Added --- .../src/main/royale/mx/controls/VScrollBar.as | 308 + 1 file changed, 308 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/VScrollBar.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/VScrollBar.as new file mode 100644 index 000..d87dd71 --- /dev/null +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/VScrollBar.as @@ -0,0 +1,308 @@ + +// +// 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 mx.controls +{ +/* +import flash.ui.Keyboard; +import mx.controls.scrollClasses.ScrollBar; +import mx.controls.scrollClasses.ScrollBarDirection; + + */ +import mx.core.UIComponent; +import mx.core.mx_internal; +import mx.events.ScrollEvent; +use namespace mx_internal; + + +//-- +// Other metadata +//-- + +[DefaultBindingProperty(source="scrollPosition", destination="scrollPosition")] + +[DefaultTriggerEvent("scroll")] + +//[IconFile("VScrollBar.png")] + +[Alternative(replacement="spark.components.VScrollBar", since="4.0")] + +/** + * The VScrollBar (vertical ScrollBar) control lets you control + * the portion of data that is displayed when there is too much data + * to fit in a display area. + * + * This control extends the base ScrollBar control. + * + * Although you can use the VScrollBar control as a stand-alone control, + * you usually combine it as part of another group of components to + * provide scrolling functionality. + * + * A ScrollBar control consist of four parts: two arrow buttons, + * a track, and a thumb. + * The position of the thumb and the display of the arrow buttons + * depend on the current state of the ScrollBar control. + * The ScrollBar control uses four parameters to calculate its + * display state: + * + * + *Minimum range value + *Maximum range value + *Current position - must be within the + *minimum and maximum range values + *Viewport size - represents the number of items + *in the range that you can display at one time. The + *number of items must be less than or equal to the + *range, where the range is the set of values between + *the minimum range value and the maximum range value. + * + * + * @mxml + * + * The mx:VScrollBar tag inherits all the + * tag attributes of its superclass, and adds the following tag attributes: + * + * + * mx:VScrollBar + *Styles + *repeatDelay="500" + *repeatInterval="35" + * + *Events + *scroll="No default" + * / + * + * + * @includeExample examples/VScrollBarExample.mxml + * + * @see mx.controls.scrollClasses.ScrollBar + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +public class VScrollBar extends UIComponent +{ + // include "../core/Version.as"; + + //-- +// +// Constructor +// + //-- + +/** + * Constructor. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Royale 0.9.3 + */ +public function VScrollBar() +{ +super(); + +} + +//-- +// scrollPosition +//-- + +/** + * @private + * Storage for the scrollPosition property. + */ +
[royale-asjs] branch feature/MXRoyale updated: Update UIComponent alpha property Added
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new ed1922b Update UIComponent alpha property Added ed1922b is described below commit ed1922bfa4b268f3f21c2ca1a8402583a220dfba Author: alinakaziAuthorDate: Thu May 3 14:40:58 2018 +0500 Update UIComponent alpha property Added --- .../src/main/royale/mx/core/UIComponent.as | 39 ++ 1 file changed, 39 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as index 8f12f62..f74d054 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as @@ -1886,7 +1886,46 @@ public class UIComponent extends UIBase // always 1.0 } +//-- +// alpha +//-- +/** + * @private + * Storage for the alpha property. + */ +private var _alpha:Number = 1.0; + +[Bindable("alphaChanged")] +[Inspectable(defaultValue="1.0", category="General", verbose="1", minValue="0.0", maxValue="1.0")] + +/** + * @private + */ +override public function get alpha():Number +{ +// Here we roundtrip alpha in the same manner as the +// player (purposely introducing a rounding error). +return int(_alpha * 256.0) / 256.0; +} + +/** + * @private + */ +override public function set alpha(value:Number):void +{ +if (_alpha != value) +{ +_alpha = value; + + /* if (designLayer) +value = value * designLayer.effectiveAlpha; + +$alpha = value; + */ +dispatchEvent(new Event("alphaChanged")); +} +} //-- // includeInLayout //-- -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch develop updated: small blog example readme text correction
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new 6fce070 small blog example readme text correction 6fce070 is described below commit 6fce070913152c50d24afb95446f4c204d5beeed Author: Carlos RoviraAuthorDate: Thu May 3 11:40:28 2018 +0200 small blog example readme text correction --- examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/README.txt b/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/README.txt index a9223ec..a22baf7 100644 --- a/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/README.txt +++ b/examples/blog/BE0005_Creating_a_group_of_Jewel_RadioButtons/README.txt @@ -19,7 +19,7 @@ DESCRIPTION -Adding an item to a Jewel List +Creating a group of Jewel RadioButtons In this example we'll Learn how to configure a group of Jewel RadioButton controls in a Royale application. --- -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: Update MXRoyaleClasses for ResultEvent
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new b2a76ff Update MXRoyaleClasses for ResultEvent b2a76ff is described below commit b2a76ffe7554d2ad28feb3f34960a274be27082c Author: alinakaziAuthorDate: Thu May 3 12:58:08 2018 +0500 Update MXRoyaleClasses for ResultEvent --- frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as index 9f7e948..56ec093 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as +++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as @@ -135,7 +135,7 @@ internal class MXRoyaleClasses import mx.rpc.Fault; Fault; import mx.rpc.AsyncToken; AsyncToken; import mx.rpc.events.InvokeEvent; InvokeEvent; - + import mx.rpc.events.ResultEvent; ResultEvent; COMPILE::SWF { import mx.controls.beads.CSSImageAndTextButtonView; CSSImageAndTextButtonView; -- To stop receiving notification emails like this one, please contact alinak...@apache.org.
[royale-asjs] branch feature/MXRoyale updated: ResultEvent.as Added
This is an automated email from the ASF dual-hosted git repository. alinakazi pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new b55bcff ResultEvent.as Added b55bcff is described below commit b55bcff790833d908dfa6697331dc0c88de86aab Author: alinakaziAuthorDate: Thu May 3 12:56:56 2018 +0500 ResultEvent.as Added --- .../src/main/royale/mx/rpc/events/ResultEvent.as | 268 + 1 file changed, 268 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/events/ResultEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/events/ResultEvent.as new file mode 100644 index 000..b000940 --- /dev/null +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/events/ResultEvent.as @@ -0,0 +1,268 @@ + +// +// 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 mx.rpc.events +{ +COMPILE::JS { + import goog.DEBUG; +} + +//import flash.events.Event; +import org.apache.royale.events.Event; + +import mx.core.mx_internal; +/* import mx.messaging.messages.IMessage; +import mx.messaging.messages.AbstractMessage; */ +import mx.rpc.AsyncToken; + +use namespace mx_internal; + +/** + * The event that indicates an RPC operation has successfully returned a result. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ +public class ResultEvent extends Event +{ + + /* extends AbstractEvent */ + //-- +// +// Class constants +// + //-- + +/** +* The RESULT event type. +* +* The properties of the event object have the following values: +* +* PropertyValue +* bubblesfalse +* cancelabletrue, preventDefault() +* from the associated token's responder.result method will prevent +* the service or operation from dispatching this event +* currentTargetThe Object that defines the +* event listener that handles the event. For example, if you use +* myButton.addEventListener() to register an event listener, +* myButton is the value of the currentTarget. +* message The Message associated with this event. +* targetThe Object that dispatched the event; +* it is not always the Object listening for the event. +* Use the currentTarget property to always access the +* Object listening for the event. +* resultResult that the RPC call returns. +* tokenThe token that represents the indiviudal call +* to the method. Used in the asynchronous completion token pattern. +* +* +* @eventType result + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + * @productversion Flex 3 + */ +public static const RESULT:String = "result"; + + + //-- +// +// Constructor +// + //-- + +/** + * Creates a new ResultEvent. + * @param type The event type; indicates the action that triggered the event. + * @param bubbles Specifies whether the event can bubble up the display list hierarchy. + * @param cancelable Specifies whether the behavior associated with the event can be prevented. + * @param result Object that holds the actual result of the call. + * @param token Token that represents the call to the method. Used in the asynchronous completion token pattern. + * @param message Source Message of the result. + * + * @langversion 3.0 + * @playerversion Flash 9 + * @playerversion AIR 1.1 + *