0
저는 beginscript에서 actionscript를 사용하고 있지만 다음과 같은 큰 xml 응답을 가지고 있으며 클래스로 변환하는 방법을 모르겠습니다. 많은 필드가 있습니다. 어떻게 올바르게 구조화 할 수 있습니까?xml을 객체로 변환
<GCPResponse userLocale=”de_AT_7_1”>
<Messages>
<PopUpMessages>
<Message no=”1” type=”game” name=”DONATION” key="detailKeyIfNecessary">
ahhhdhhdhdhd
</Message>
</PopUpMessages>
<TickerMessages>
<Message no=”1” type=”game” name=”TTJP” key="detailKeyIfNecessary">
fdfdfd
</Message>
<Message no=”2” type=”game” name=”LDJP”>
fffff
</Message>
</TickerMessages>
</Messages>
<Response currency=”EUR”>
<BalanceCash>10000</BalanceCash>
<BalanceDonation>10000</BalanceDonation>
<DrawClosingTime>2013-04-12T23:20:50+01:00</DrawClosingTime>
<DrawOpeningTime>2013-04-10T12:00:00+01:00</DrawOpeningTime>
<Default maxDraws=”4” draws=”1” picks=”12” jokerPicks=”1”/>
<PickPrice gameName=”ttt” draw=”123” price=”60”/>
</Response>
</GCPResponse>
아마도이 링크가 [Flex에서 사용자 정의 클래스로 XML을 deserialize 하시겠습니까?] (http : // stackoverflo w.com/questions/1804441/deserialize-xml-to-custom-class-in-flex)이 유용 할 것입니다. 가능한 중복!. –