Posts Tagged ‘corelib’

as3corelib Tutorial:How to Use URI in Flex

penguin-256x256 IMO, the major usage of this class is parsing a URL to retrieve the information such as host, port, file name, file extension, query, etc. It’s really a convenient way instead of using regular expression to parse the target information.

According to the documentation of as3corelib:

(more…)

as3corelib Tutorial:How to Use DynamicURLLoader Class in Flex

Filetype-URL-128x128 Class that provides a dynamic implimentation of the URLLoader class. This class provides no API implimentations. However, since the class is declared as dynamic, it can be used in place of URLLoader, and allow you to dynamically attach properties to it (which URLLoader does not allow). This class is simple but useful when you want to transfer arguments together with URLLoader.

Search-256x256 Demo | DownloadDownload Full Project

(more…)

as3corelib Tutorial:How to Use JPEGEncoder and PNGEncoder Class in Flex

orbz-nature-256x256The most popular image codecs on the internet are JPEG, PNG and GIF. However, GIF(http://code.google.com/p/as3gif/) is another stuff I will show you in another article. Here shows a BMPEncoder as well for a comparison to JPEGEncoder and PNGEncoder, and maybe you will find it’s useful in case.

Search-256x256 Demo | DownloadDownload Full Project

(more…)

as3corelib Tutorial:How to Use MD5Stream Class in Flex

golf-128x128 This class performs MD5 hash of an input stream in chunks. It is based on com.adobe.crypto.MD5 and can process data in chunks. Both block creation and hash computation are done together for whatever input is available so that the memory overhead at a time is always fixed. Memory usage is governed by two parameters: one is the amount of data passed in to update() and the other is memoryBlockSize. The latter comes into play only when the memory window exceeds the pre allocated memory window of flash player. Usage: create an instance, call update(data) repeatedly for all chunks and finally complete() which will return the md5 hash..

Search-256x256 Demo | DownloadDownload Full Project

(more…)

stringHasValue of StringUtil, makeMorning and makeNight of DateUtil on AS3Corelib 0.92.1 help us handle strings and dates

Symbols-Tips-256x256 November 15 2008,  AS3Corelib 0.92.1 be released, As3corelib provides more helpful methods to help us handle strings and dates with the newest 0.92.1. They are stringHasValue of StringUtil, makeMorning and makeNight of DateUtil.

Search-256x256 Demo | DownloadDownload Full Project

(more…)

as3corelib Tutorial:How to Use HMAC Class in Flex

farm-fence-256x256 HMAC is the ab. For Hashed Message Authentication codes (I am not sure, may be Hash Message Authentication codes?). The usage of this mechanism is described in the RFC2104 document (http://www.faqs.org/rfcs/rfc2104.html) as below:

(more…)

as3corelib Tutorial:How to Use Crypto Class in Flex

fish-2-128x128 Since this article, I won’t post the language reference of such libraries as before. It’s really a boring thing to do repeated works. All the language reference you will find in the packaged file provided on the corelib project home http://code.google.com/p/as3corelib/ , or download from this link http://as3corelib.googlecode.com/files/as3corelib-.92.1.zip directly.

Thanks!

Search-256x256 Demo | DownloadDownload Full Project

(more…)

as3corelib Tutorial:How to Use JSON Class in Flex

Tooth-Toy-256x256 This class provides encoding and decoding of the JSON format. This demo shows how to encode an object to a JSON-formate string and how to decode a JSON-formate string to an object. It’s really simple with this class provided by as3corelib library.

(more…)