<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="BMI Calculator">
<fx:Script>
<![CDATA[
protected function calculate_clickHandler(event:MouseEvent):void
{
// TODO Auto-generated method stub
}
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:actionContent>
<s:Button label="Back" click="navigator.pushView(MainHomeView)" styleName="back"/>
</s:actionContent>
<s:Label x="33" y="61" fontSize="30" text="Weight(kg) :"/>
<s:Label x="34" y="140" fontSize="30" text="Height(cm) :"/>
<s:TextInput id="mywieght" x="216" y="40" width="228" prompt="0.0kg" textAlign="right"/>
<s:TextInput id="myheight" x="216" y="119" width="228" prompt="0.0cm" textAlign="right"/>
<s:Button id="calculation" x="31" y="260" width="413" label="Calculate" fontSize="36"
fontStyle="italic"/>
<s:Label id="myresult" left="31" right="36" height="146" fontSize="72" fontStyle="normal"
fontWeight="bold" text="0.0" textAlign="center" verticalAlign="middle"
verticalCenter="99"/>
</s:View>
이것은 BMI 계산기의 GUI입니다. 나는 플래시 빌더를 사용하는 기본을 가지고 있지 않다. 누구든지 텍스트 입력 내부에서 사용자가 입력 한 데이터를 사용하여 계산에 사용하고 표시하는 방법을 가르쳐 줄 수 있습니까? 덕분에플렉스 - Flash Builder에서 계산하는 방법
는
TQ 내가 그것을 밖으로 시도 할 것이다. 나는 그것이 성공하면 여기에 그것을 알릴 것이다 .. 1 가지 더. 나는 APK 파일로 프로젝트를 변환했지만 안드로이드 전화에 설치하면 app/apk가 실행되지 않습니다. 어떤 해결책? –