Packagejp.shichiseki.exif
Classpublic class ExifLoader
InheritanceExifLoader Inheritance flash.display.Loader

The ExifLoader is a sub class of Loader class which is used to load JPG files with EXIF.


Example
A Typical usage is shown in the following code:
  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

flash.display.Loader


Public Properties
 PropertyDefined by
  exif : ExifInfo
[read-only] Returns a ExifInfo object containing information about loaded JPG image file.
ExifLoader
Public Methods
 MethodDefined 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
Property detail
exifproperty
exif:ExifInfo  [read-only]

Returns a ExifInfo object containing information about loaded JPG image file.

Implementation
    public function get exif():ExifInfo
Method detail
load()method
public override function load(request:URLRequest, context:LoaderContext = null):void

Loads a JPG image file into an object that is a child of this ExifLoader object.

Parameters
request:URLRequest
 
context:LoaderContext (default = null)