| Package | jp.shichiseki.exif |
| Class | public class ExifLoader |
| Inheritance | ExifLoader flash.display.Loader |
Loader class which is used to load JPG
files with EXIF.
private function loadImage():void {
var loader:ExifLoader = new ExifLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
loader.load(new URLRequest("http://www.example.com/sample.jpg"));
}
private function onComplete(e:Event):void {
// display image
addChild(e.target);
// display thumbnail image
var thumbLoader:Loader = new Loader();
thumbLoader.loadBytes(loader.exif.thumbnailData);
addChild(thumbLoader);
}
See also
| Property | Defined by | ||
|---|---|---|---|
| exif : ExifInfo
[read-only]
Returns a ExifInfo object containing information about loaded JPG image file.
| ExifLoader | ||
| Method | Defined by | ||
|---|---|---|---|
|
load(request:URLRequest, context:LoaderContext = null):void
Loads a JPG image file into an object that is a child of this ExifLoader object.
| ExifLoader | ||
| exif | property |
exif:ExifInfo [read-only]Returns a ExifInfo object containing information about loaded JPG image file.
Implementation public function get exif():ExifInfo
| load | () | method |
public override function load(request:URLRequest, context:LoaderContext = null):voidLoads a JPG image file into an object that is a child of this ExifLoader object.
Parametersrequest:URLRequest |
|
context:LoaderContext (default = null) |