资 源 简 介
Overview
MP3InfoUtil is an Actionscript 3 / Flex utility used to retrieve, parse and process metadata from the headers of MP3 files online without first waiting for the entire file to download (as is the default case in AS3)
Through a series of byte-array comparisons and bit-shifting operations (ported to Actionscript 3 from C++/C# libraries), core properties of the mpeg file (see table below) can be extracted and interpolated from a very small amount downloaded data.
Because such a small amount of data (≈ 48 bytes) is needed to perform the analysis, execution time is is quite fast... taking less than < 1 second to retrieve an mp3 from the web, parse the data and return the results.
Metadata
The following values are returned as a result of the data analysis:
| Variable | Data Type | Description |
|:---------------------|:--------------|:-