Repository: flex-tourjs
Updated Branches:
  refs/heads/develop 7dafa1b44 -> 3b446f2c2


Switched "Module" to "SubAppLoader"


Project: http://git-wip-us.apache.org/repos/asf/flex-tourjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tourjs/commit/3b446f2c
Tree: http://git-wip-us.apache.org/repos/asf/flex-tourjs/tree/3b446f2c
Diff: http://git-wip-us.apache.org/repos/asf/flex-tourjs/diff/3b446f2c

Branch: refs/heads/develop
Commit: 3b446f2c27bae18cc147aede62ab14b8bcc3853b
Parents: 7dafa1b
Author: Peter Ent <[email protected]>
Authored: Fri Feb 3 16:41:36 2017 -0500
Committer: Peter Ent <[email protected]>
Committed: Fri Feb 3 16:41:36 2017 -0500

----------------------------------------------------------------------
 TourJS/src/main/flex/TourJSMainView.mxml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/3b446f2c/TourJS/src/main/flex/TourJSMainView.mxml
----------------------------------------------------------------------
diff --git a/TourJS/src/main/flex/TourJSMainView.mxml 
b/TourJS/src/main/flex/TourJSMainView.mxml
index 528fb4f..b08261c 100644
--- a/TourJS/src/main/flex/TourJSMainView.mxml
+++ b/TourJS/src/main/flex/TourJSMainView.mxml
@@ -28,7 +28,7 @@ limitations under the License.
                        import 
org.apache.flex.collections.converters.JSONItemConverter;
                        import org.apache.flex.html.beads.ContainerView;
                        import org.apache.flex.core.UIBase;
-                       import org.apache.flex.html.Module;
+                       import org.apache.flex.html.SubAppLoader;
                             
                        [Bindable]
                        private var tempExampleNames = [];
@@ -112,7 +112,7 @@ limitations under the License.
                                var swfURL:String = "resources/" + 
item["module_swf"];
                                var htmlURL:String = "resources/" + 
item["module_js"];
                                
-                               exampleModule.loadContent(swfURL, htmlURL);
+                               exampleApp.loadApplication(swfURL, htmlURL);
                        }
                ]]>
     </fx:Script>
@@ -150,7 +150,7 @@ limitations under the License.
                
                <js:VContainer width="74%" height="100%">
                        <js:Panel id="topPanel" title="Example" width="100%" 
height="50%" className="RunningExample">
-                               <basic:Module id="exampleModule" width="100%" 
height="100%" />
+                               <basic:SubAppLoader id="exampleApp" 
width="100%" height="100%" />
                        </js:Panel>
                        
                        <js:VContainer width="100%" height="50%">

Reply via email to