나는 구부리기가 처음이다. 나는 다음과 같은 코드 샘플 페이지를 개발했습니다 : 나는 SWF를 실행하면전체 화면 모드에서 플렉스?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application height="100%" xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundGradientColors="[#5b4ffb, #5594fb]" themeColor="#808080" cornerRadius="3" width="100%">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.events.CloseEvent;
private function clickHandler(event:Event):void {
if (UserID.text=="")
{
Alert.show("Please Enter your user name","Message");
return;
}
if (Pwd.text=="")
{
Alert.show("Please Enter your Password","Message");
return;
}
Alert.show("Login Success","Message");
return;
}
private function fReset(event:Event):void
{
UserID.text="";
Pwd.text="";
}
]]>
</mx:Script>
<mx:Image x="246.5" y="10" width="781" height="155" scaleContent="false">
<mx:source>file:///C|/Documents and Settings/user/Desktop/Top.gif</mx:source>
</mx:Image>
<mx:Label x="531" y="262" text="User Name" color="#FFFFFF" fontSize="12" width="84"/>
<mx:Label x="531" y="288" text="Pass Word" color="#FFFFFF" fontSize="12" width="84" height="27"/>
<mx:Label x="531" y="200" text="Login Information" width="297" color="#FFFFFF" fontFamily="Verdana" fontWeight="bold" fontSize="20"/>
<mx:Button x="590" y="323" label="Login" cornerRadius="7" click="clickHandler(event);"/>
<mx:TextInput x="623" y="262" width="160" height="20" id="UserID"/>
<mx:TextInput x="623" y="293" width="160" height="20" id="Pwd"/>
<mx:Button x="688" y="323" label="Reset" cornerRadius="7" click="fReset(event);"/>
</mx:Application>
그것이 작은 창에서 실행 파일,하지만 사용자가 SWF를 클릭 할 때 나는 처럼, 그것은 전체 화면 모드에서 열려 ctrl + f.
어떻게하면됩니까?