You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ft...@apache.org on 2012/12/06 17:28:06 UTC
svn commit: r1417984 -
/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml
Author: fthomas
Date: Thu Dec 6 16:28:06 2012
New Revision: 1417984
URL: http://svn.apache.org/viewvc?rev=1417984&view=rev
Log:
- improved the smoothness of the first launch
Modified:
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml
Modified: incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml?rev=1417984&r1=1417983&r2=1417984&view=diff
==============================================================================
--- incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml (original)
+++ incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.host-swf/src/main/flex/org/apache/flex/utilities/developerToolSuite/MainApplication.mxml Thu Dec 6 16:28:06 2012
@@ -20,7 +20,6 @@ limitations under the License.
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:parsley="http://www.spicefactory.org/parsley"
title="Apache Flex Developer Tool Suite"
- menu="{applicationMenu}"
width="800" height="600"
closing="closingHandler(event)">
@@ -43,8 +42,6 @@ limitations under the License.
<s:VerticalLayout/>
</s:layout>
- <s:Label id="helloLabel" text="{resourceManager.getString('Application','HELLO')}"/>
-
<fx:Script><![CDATA[
import mx.controls.Alert;
import mx.logging.Log;
@@ -80,15 +77,14 @@ limitations under the License.
dispatch(new InitApplicationMessage());
- if (!applicationSettings.appDisplayState) {
- alert = Alert.show(resourceManager.getString('Application', 'WELCOME_MSG'), resourceManager.getString('Application','WELCOME_TITLE'));
- }
+ alert = Alert.show(resourceManager.getString('Application', 'WELCOME_MSG'), resourceManager.getString('Application', 'WELCOME_TITLE'));
}
[MessageHandler]
public function applicationReady(msg:ApplicationReadyMessage):void {
PopUpManager.removePopUp(alert);
+ menu = applicationMenu;
if (applicationSettings.appDisplayState) {
if (applicationSettings.appDisplayState == NativeWindowDisplayState.MAXIMIZED) {