XML.prototype.ignoreWhite = true;
XML.prototype.ignoreWhite = true;
전체 XML 을 로드할 시에 공백문자를 무시하게 해줍니다.
드림위버의 경우(MX 2004 기준)의 오토포맷팅 커맨드를 실행할 경우
각 노드의 앞에 공백문자를 추가하게 됩니다.
이 상태로 Flash 상에 로드될 경우 각 공백 문자가 하나의 노드로 인식되게 되죠.
위의 옵션을 추가하면 이러한 문제를 해결해 줍니다.
개별의 XML 로딩이나 객체 선언 시에 다로 선언할 필요가 없어집니다.
About this entry
You’re currently reading “XML.prototype.ignoreWhite = true;,” an entry on multiplicité
- Published:
- Monday, October 20th, 2003 at 10:12 pm
- This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea.
- Author:
- vizualizer
- Category:
- techne
Similar Posts
- Flash MX Programmer’s Guide to ActionScript 2.0
- xml 로딩 시 각 노드의 변수형
- TextFormat & TextField
- What’s new in action script v2_Boolean() Class
- 무비클립 메써드의 선언
- flash UI component v.2 스키닝
- Macromedia Flash Lite
- Macromedia Developer Relations Podcast
- What’s new in action script v2_NetStream Class
- loadvariables 사용시 한글 깨짐 문제 해결 방법
No comments
Jump to comment form | comments rss