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/08/02 00:44:17 UTC

[royale-asjs] 14/29: octed embedding isn't currently working. switched to text/plain instead

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

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

commit a7384cede3702a84c3cd4d00c76076e726ccad27
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Jul 31 21:34:43 2018 -0700

    octed embedding isn't currently working.  switched to text/plain instead
---
 examples/mxroyale/tourdeflexmodules/src/explorer.mxml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/mxroyale/tourdeflexmodules/src/explorer.mxml b/examples/mxroyale/tourdeflexmodules/src/explorer.mxml
index 406a270..0db9474 100755
--- a/examples/mxroyale/tourdeflexmodules/src/explorer.mxml
+++ b/examples/mxroyale/tourdeflexmodules/src/explorer.mxml
@@ -33,15 +33,15 @@
 		static protected const TITLE:String = "Tour De Flex Component Explorer";
 		static protected const FULL_TITLE:String = "Apache Flex® Tour De Flex Component Explorer " + VERSION;
 
-		[Embed(source="explorer.xml", mimeType="application/octet-stream")]
-		private var XMLData:Class;
+		[Embed(source="explorer.xml", mimeType="text/plain")]
+		private var XMLData:String;
 			
 		[Bindable]
 		protected var noExamples:int = 0;
 			
 		private function init():void
 		{
-			var data:XML = XML(new XMLData());
+			var data:XML = new XML(XMLData);
 			
             explorerTree = XML(data.node);
             compLibTree.dataProvider = explorerTree;