나는 spark Scroller 내에 많은 자식 텍스트 입력을 가지고있다. 어떻게 A...d id를 가지고 있고, 스크롤바가 자동으로 그 자식 항목으로 스크롤 할 수 있다면 id가 "x"인 TextInput을 포커스로 만들 수 있습니까?플렉스 4 s : Scroller,보기에 포함 된 구성 요소를 가져 오는 방법?
x.setFocus()를 사용할 수 있지만 스크롤바가 자동으로 해당 항목으로 스크롤되지 않습니까? 왜?
<s:Scroller id="scroller" width="100%" height="100">
<s:Group id="group" width="100%" height="100" id="content">
<s:TextInput id="a" text="" editable="true" width="100%" height="25" />
<s:TextInput id="b" text="" editable="true" width="100%" height="25" />
....
</s:Group>
</s:Scroller>
덕분에, 필립