일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- AIR
- path
- 단축키
- Android
- Ane
- iphone
- Game
- builder
- class
- 경로
- texture
- smartfoxserver
- flash builder
- sdk
- 배열
- XML
- ios
- Flash
- 3d
- AS3
- 아이튠즈
- 태그를 입력해 주세요.
- Mac
- unity3D
- unity
- 게임
- 영어
- file
- Build
- swf
Archives
- Today
- Total
목록applicationStorageDirectory (1)
상상 너머 그 무언가...
개발단계에서 앱이 설치될 경로에 대한 접근 ( File.applicationDirectory, File.resolvePath )
파일객체의 경로를 중심으로 상대경로의 특정 파일에 해당하는 새로운 파일객체 생성하기var file: File = File.applicationDirectory.resolvePath( fileName ); 위 코드에서 File.applicationDirectory 속성값의 리턴값이 File객체이다.플래시로 만들어진 어플리케이션이 설치된 경로에대한 파일객체가 생성되어져서 리턴되는것이다. 특정파일객체.resolvePath() 메소드는특정파일객체의 경로값을 기준으로하는 상대경로를 매개변수로 입력하여 추가로 설정된 상대경로에 해당하는 새로운 파일객체를 생성하는 메소드이다. var file: File = File.applicationDirectory.resolvePath( "img/myPhoto.jpg" );위와 ..
개발관련(Development)/플래시(Flash)
2012. 11. 19. 15:02