ImageLoader Class
The image loader class is responsible for loading images file formats ('jpeg', 'jpg', 'png' and 'gif') Once the image has been loaded it is stored in the PIXI texture cache and can be accessed though PIXI.Texture.fromFrameId() and PIXI.Sprite.fromFrameId() When loaded this class will dispatch a 'loaded' event
Constructor
ImageLoader
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        url
- 
                    
                        crossorigin
Parameters:
- 
                    
                        urlStringThe url of the image 
- 
                    
                        crossoriginBooleanWhether requests should be treated as crossorigin 
Methods
load
    
        ()
    
    
    
    
    
    
    
    
    
    Loads image or takes it from cache
loadFramedSpriteSheet
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        frameWidth
- 
                    
                        frameHeight
- 
                    
                        textureName
Loads image and split it to uniform sized frames
Parameters:
- 
                    
                        frameWidthNumberwidth of each frame 
- 
                    
                        frameHeightNumberheight of each frame 
- 
                    
                        textureNameStringif given, the frames will be cached in - format 
onLoaded
    
        ()
    
    
    
    
        private
    
    
    
    
    
    
    Invoked when image file is loaded or it is already cached and ready to use
