Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/7.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 如何使用AIR设置移动子状态后的状态大小?_Apache Flex_Actionscript 3_Flex3_Air_Flash - Fatal编程技术网

Apache flex 如何使用AIR设置移动子状态后的状态大小?

Apache flex 如何使用AIR设置移动子状态后的状态大小?,apache-flex,actionscript-3,flex3,air,flash,Apache Flex,Actionscript 3,Flex3,Air,Flash,在我的air项目中,我使用的当前状态大小是width=“441”height=“358”。我有类似Singin的链接按钮,然后移动到Singin状态(currentstate='Singin') 因此,应用程序大小调整为616919。在该函数完成后,移动到当前状态,如(currentstate=''),但大小不能更改。如何设置当前状态的大小?我不确定是否有标签可供您使用,如果有的话。如果可以获取对的引用,则可以使用actionscript将其大小设置为宽度/高度 <mx:State

在我的air项目中,我使用的当前状态大小是width=“441”height=“358”。我有类似Singin的链接按钮,然后移动到Singin状态(currentstate='Singin')


因此,应用程序大小调整为616919。在该函数完成后,移动到当前状态,如(currentstate=''),但大小不能更改。如何设置当前状态的大小?

我不确定是否有
标签可供您使用,如果有的话。如果可以获取对的引用,则可以使用actionscript将其大小设置为宽度/高度

 <mx:State name="signin">
         <mx:SetProperty name="height" value="616"/>
         <mx:SetProperty name="width" value="919"/>