Full screen image (Loading bar)

Hello guys I’m new here and sorry for dummy question and bad english.
So I have made full screen image,but I don’t know how to create my custom loader linked with my this code.
This is my first OOP coding so it’s not to easy to me to understand…
Example: http://bit.ly/wI31N3

package com.jazokas.cursor
    import flash.display.Loader;
    import flash.display.MovieClip;
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageDisplayState;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    import flash.events.FullScreenEvent;
    import flash.events.MouseEvent;
    import flash.net.navigateToURL;
    import flash.net.URLRequest;
    import flash.net.URLVariables;

    import com.greensock.*;
    import com.greensock.easing.*;
    //Tadas Jazokas

    public class Main extends Sprite
        private var loader:Loader;
        private static const IMAGE_PATH:String = "bg.jpg";
        public var cursor:Cursoriukas = new Cursoriukas();

        public function Main()

            stage.align = StageAlign.TOP_LEFT;
            stage.scaleMode = StageScaleMode.NO_SCALE;

            loader = new Loader  ;
            loader.load(new URLRequest(IMAGE_PATH));

            stage.addEventListener(MouseEvent.MOUSE_MOVE, pelyte);


        private function showImage(e:Event):void
                e.target.content.smoothing = true;

            catch (e:Error)