'전체 글'에 해당되는 글 1811건

  1. 2011.07.14 Flash 개발 참고 사이트
  2. 2011.07.14 FlashDevelp 4.0b
  3. 2011.07.14 puremvc AS3 standard framework_source
  4. 2011.07.13 소수점 둘째 자리의 값을 반올림
  5. 2011.07.08 AS3를 위한 Encrypt Library ASCrypt3 & AS3 Crypto Library
  6. 2011.07.05 Xcode Edit scheme (argument넣기)

Flash 개발 참고 사이트

Private 2011. 7. 14. 11:47
반응형
반응형

'Private' 카테고리의 다른 글

웹눈이야기  (0) 2011.09.06
쎈님  (0) 2011.08.18
늣풀님의 티스토리  (0) 2011.05.25
Useful Sites & Blogs  (0) 2011.05.18
nikon d80  (0) 2011.05.17
:

FlashDevelp 4.0b

Adobe Flash 2011. 7. 14. 11:10
반응형
반응형
:

puremvc AS3 standard framework_source

Adobe Flash 2011. 7. 14. 11:08
반응형
반응형

'Adobe Flash' 카테고리의 다른 글

Understanding the PureMVC Open Source Framework | Activetuts+  (0) 2011.07.14
FlashDevelp 4.0b  (0) 2011.07.14
AS3를 위한 Encrypt Library ASCrypt3 & AS3 Crypto Library  (0) 2011.07.08
FDT4.5 ( vimeo 영상 )  (0) 2011.07.04
FDT4 serial  (0) 2011.06.30
:

소수점 둘째 자리의 값을 반올림

카테고리 없음 2011. 7. 13. 00:03
반응형

Math클래스에는 수를 반올림이나 올림 내림등을 제공하는 floor(내림) , ceil(올림) , round(반올림,반내림)를 제공한다.

* 소수점 첫째 자리의 값을 반올림
Math.round( 25.5525 )     // 출력 : 26

* 소수점 둘째 자리의 값을 반올림
trace( Math.round( 25.5525 / .01 ) * .01 )    // 출력 : 25.55
- ( 25.5525 / .01 ) 에서 10의 거듭제곱을 한 값인 2555.25를얻게 되고 .25는 5보다 적으므로 반내림한다.
따라서 Math.round( 25.5525 / .01 )는 2555를 반환하고 그 값에 .01을 곱하여 다시 2두리의 소수점의 값을 얻어낸다.

trace( Math.round( 25 / 10 ) * 10 )    // 출력 : 30
- 방식은 위와 같고 자리수가 두자리인 10이다. 따라서 반올림과 내림의 기준을 10씩 끊어서 확인할 수 있다.

trace( Math.round( 25 / 100 ) * 100 )    // 출력 : 0
- 같은 방식이고 얻어진 값이 소수점이하 0.25 이를 다시 반올림하면 0이고 100을 곱하여도 0이다. 즉 100씩 끊어서 반올림이나 반내림을 하는 것이다.

출처: http://waterfox.tistory.com/category/FLEX
반응형
:

AS3를 위한 Encrypt Library ASCrypt3 & AS3 Crypto Library

Adobe Flash 2011. 7. 8. 11:44
반응형

* ASCrypt3 *

먼저 출처는 여기: http://ascrypt3.riaforge.org/

지원한다는 함수들은

  • Base64, Base8, Goald, GUID, MD5, RC4, Rijndael, ROT13, SHA1, TEA, LZW

 ASCript32.zip

 

* AS3 Crypto Library *

먼저 출처는 여기: http://osflash.org/as3crypto/

지원 한다는 함수들은

  • TLS 1.0 support, exposed through TLSSocket and TLSEngine classes
  • X.509 Certificate support, including parsing, and validation
  • built-in list of common root Certificate Authorities
  • symmetric ciphers: AES, Blowfish, DES, 3DES, XTEA, RC4
  • confidentiality modes: CTR, CBC, CFB, CFB-8, OFB, ECB
  • public key crypto: RSA (encryption, decryption, signing, verifying and key generation)
  • padding: PKCS#1 (type 1 and 2), PKCS#5
  • BigInteger library
  • hashing function: SHA-256, SHA-224, SHA-1, MD5, MD2
  • HMAC support
  • prng: TLSPRF and stream-cypher-based PRNG.
  • minimal ASN-1/DER support for PEM key parsing and X-509 cert parsing
  • Crypto - Shortcut class to access many classes above.
  • Hex, Base64 - Static methods to convert binary data to and from text formats

 as3Crypto.zip

 

http://code.google.com/p/as3crypto/

 

출처: http://blog.daum.net/joshuajh/5670677

반응형

'Adobe Flash' 카테고리의 다른 글

FlashDevelp 4.0b  (0) 2011.07.14
puremvc AS3 standard framework_source  (0) 2011.07.14
FDT4.5 ( vimeo 영상 )  (0) 2011.07.04
FDT4 serial  (0) 2011.06.30
PureMVC  (0) 2011.06.29
:

Xcode Edit scheme (argument넣기)

iOS 2011. 7. 5. 15:33
반응형







터미널로 arguments를 넣을 경우 
 
해당 폴더내로 진입 해야 한다.

 


반응형

'iOS' 카테고리의 다른 글

SSD 기타, 백업 저장공간  (0) 2012.03.05
Current Development Certificates  (0) 2011.11.10
HelloWorld2 내 첫 어플...  (0) 2011.07.04
Xcode iPhone device 에러  (0) 2011.07.04
Word-Length-4  (0) 2011.07.01
: