Fade in function problem

I’m loading a txt file that I use to load jpg’s(no PHP):

<a href="asfunction:_global.loadMovie,flag_1.jpg">flag 1
</font></a>

It works lik a charm, but now I want the “container” to fade in
the jpg’s.

_global.loadMovie = function(url) {
    container.loadMovie(url);
    fadein();
};
function fadein() {
    container._alpha = 3;
    container.onEnterFrame = function() {
        this._alpha += 12;
        if (this._alpha>=100) {
            this._alpha = 100;
        }
    };
}

The container fades in, but not 100% _alpha(about 40% I guess)!
What am I doing wrong?

Thanks