Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 使用默认值创建HBox组件_Apache Flex_Actionscript 3_Actionscript_Flex3 - Fatal编程技术网

Apache flex 使用默认值创建HBox组件

Apache flex 使用默认值创建HBox组件,apache-flex,actionscript-3,actionscript,flex3,Apache Flex,Actionscript 3,Actionscript,Flex3,我想创建一个HBox组件;例如,HLBox的行为与HBox完全相同,但默认宽度和高度为100% 我该怎么做呢?创建一个HLBox.mxml文件,并向其中添加以下代码 <!-- HLBox.mxml --> <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"/> 创建一个HLBox.mxml文件,并向其中添加以下代码 <!-- HLBox.mxml --&

我想创建一个HBox组件;例如,HLBox的行为与HBox完全相同,但默认宽度和高度为100%


我该怎么做呢?

创建一个
HLBox.mxml
文件,并向其中添加以下代码

<!-- HLBox.mxml -->
<mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml"
    width="100%" height="100%"/>

创建一个
HLBox.mxml
文件,并向其中添加以下代码

<!-- HLBox.mxml -->
<mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml"
    width="100%" height="100%"/>