상상 너머 그 무언가...

Flash Builder에서 ipa파일안에 image파일 include 하는 방법 본문

개발관련(Development)/플랙스(Flex), 에어(AIR)

Flash Builder에서 ipa파일안에 image파일 include 하는 방법

Clack 2012. 8. 21. 11:10

air maps ane 를 사용하려는 중에 특정 png 파일을 ipa 파일안에 포함시켜야 한다고 나와 있었다.

it takes an "MKarrow.png" for the button graphics, so if you are planning on using the detail button, you must include the MKarrow.png in your ipa.


어디에서 뭘 어떻게 include하라는지는 나와 있지 않았는데 검색해보니 Flash Builder 에서 포함시킬 수가 있었다.


FB ( Flash Builder ) 에서 해당 ane 를 사용하는 모바일 프로젝트의 Properties창에서 

ActionScript Build Path 항복에 보면 Source path가 있다. 이 부분에서 포함하고자 하는 이미지파일이나 리소스 파일이 있는 폴더를 추가하면 아래 이미지처럼 나온다.



그 뒤 Properties창에서 ActionScript Build Packaging 항목으로 이동하고 Package Contents에 보면 추가하고자 했던 png 파일이나 다른 Resource폴더에 있던 파일들이 included files에 체크되어 있는걸 볼 수 있다.



이렇게 되어 있는걸 확인 후 Build 하면 원하는결과를 얻을 수 있었다.