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 2018/09/11 16:39:38 UTC

[royale-asjs] 01/02: fix example

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 834edc3eeb15db4871f48ac2c5acf247afa3e9da
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Sep 11 09:38:56 2018 -0700

    fix example
---
 .../mxroyale/ControlsExample/src/main/royale/ControlsExample.mxml   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/mxroyale/ControlsExample/src/main/royale/ControlsExample.mxml b/examples/mxroyale/ControlsExample/src/main/royale/ControlsExample.mxml
index 461f679..34d68bc 100644
--- a/examples/mxroyale/ControlsExample/src/main/royale/ControlsExample.mxml
+++ b/examples/mxroyale/ControlsExample/src/main/royale/ControlsExample.mxml
@@ -58,7 +58,7 @@ limitations under the License.
 			private function otherPushMe():void
 			{
 				trace("The other button was pushed");
-				text1.html = "The Button with an icon was pushed.";
+				text1.htmlText = "The Button with an icon was pushed.";
 				dispatchEvent(new Event("layoutNeeded"));
 			}
 		]]>
@@ -74,10 +74,10 @@ limitations under the License.
 		<mx:NumericStepper minimum="50" maximum="100" value="75" />
 		<mx:Spacer height="30" />
 		<mx:Text id="text1" toolTip="More than meets the eye.">
-			<mx:html><![CDATA[
+			<mx:htmlText><![CDATA[
 				This is <b>Text!</b> This more than a few words in it to show how
 				it works and <b>wraps</b>.
-			]]></mx:html>
+			]]></mx:htmlText>
 		</mx:Text>
 	</mx:VBox>
 	<mx:HBox id="hbox1">