Fill in the blanks questions in flex using action script [closed]

霸气de小男生 提交于 2019-12-12 06:49:34

问题


I need to create a fill in the blanks component dynamically. Question text will be retrieved from XML. For Example (some text ____________ some text). The Underline portion should have a text input. The question text will be dynamically loaded and the position should be aligned based on resolution. Give me some examples and which components should be used for achieving this.


回答1:


Use a HorizontalLayout with a Label,TextInput,Label.

<s:Group>
 <s:layout>
  <s:HorizontalLayout/>
 </s:layout>
 <s:Label />
 <s:TextInput />
 <s:Label />
</s:Group>


来源:https://stackoverflow.com/questions/38626850/fill-in-the-blanks-questions-in-flex-using-action-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!