문제

다음과 같이 보이는 XML 파일 (urlloader로로드)이 있습니다.

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <localizations>
        <words>
            <Brand us="Brand Here"></Brand>
        </words>
    </localizations>
    <world squareunits="100"></world>
</root>

로드되면 가장 빠른 액세스 방법은 무엇입니까? 세계 .squareunits E4X 또는 순수한 AS3로?

도움이 되었습니까?

해결책

var xml : XML = new XML( yourStringHere );
trace( xml.world.@squareunits );
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top