You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/06/03 17:55:22 UTC
[3/6] git commit: [flex-asjs] [refs/heads/spark] - clean compile of
MX for swf
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4f3802ef/frameworks/projects/MX/src/main/flex/mx/styles/metadata/AlignStyles.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/styles/metadata/AlignStyles.as b/frameworks/projects/MX/src/main/flex/mx/styles/metadata/AlignStyles.as
new file mode 100644
index 0000000..0d1b6da
--- /dev/null
+++ b/frameworks/projects/MX/src/main/flex/mx/styles/metadata/AlignStyles.as
@@ -0,0 +1,49 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ * Horizontal alignment of children in the container.
+ * Possible values are <code>"left"</code>, <code>"center"</code>,
+ * and <code>"right"</code>.
+ * The default value is <code>"left"</code>, but some containers,
+ * such as ButtonBar and ToggleButtonBar,
+ * have different default values.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+[Style(name="horizontalAlign", type="String", enumeration="left,center,right", inherit="no")]
+
+/**
+ * Vertical alignment of children in the container.
+ * Possible values are <code>"top"</code>, <code>"middle"</code>,
+ * and <code>"bottom"</code>.
+ * The default value is <code>"top"</code>, but some containers,
+ * such as ButtonBar, ControlBar, LinkBar,
+ * and ToggleButtonBar, have different default values.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+[Style(name="verticalAlign", type="String", enumeration="bottom,middle,top", inherit="no")]
+
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4f3802ef/frameworks/projects/MX/src/main/flex/mx/utils/LoaderUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/MX/src/main/flex/mx/utils/LoaderUtil.as b/frameworks/projects/MX/src/main/flex/mx/utils/LoaderUtil.as
index 9984514..7f76b6d 100644
--- a/frameworks/projects/MX/src/main/flex/mx/utils/LoaderUtil.as
+++ b/frameworks/projects/MX/src/main/flex/mx/utils/LoaderUtil.as
@@ -26,10 +26,13 @@ import flash.events.IEventDispatcher;
import flash.system.Capabilities;
import flash.utils.Dictionary;
+COMPILE::LATER
+{
import mx.core.ApplicationDomainTarget;
+import mx.core.RSLData;
+}
import mx.core.IFlexModuleFactory;
import mx.core.mx_internal;
-import mx.core.RSLData;
import mx.events.Request;
import mx.managers.SystemManagerGlobals;
import mx.utils.Platform;