flash里的脚本 
1. 
function loadInfoBMP(bmpa, n) 

    var _loc5 = new flash.display.BitmapData(bmpa.width, bmpa.height, true, 4.294967E+009); 
    _loc5.copyChannel(bmpa, bmpa.rectangle, new flash.geom.Point(0, 0), 1, 8); 
    info_array[n] = _loc5; 
    for (var _loc2 = n + 1; _loc2 < info_array.length; ++_loc2) 
    { 
        if (info_array[_loc2].indexOf(".jpg") >= 0) 
        { 
            bmpList.getBMP(info_array[_loc2], loadInfoBMP, this, _loc2); 
            return; 
        } // end if 
    } // end of for 
    nextFrame (); 
} // End of the function 
function bmpObject() 

    this.tp_bmp = new flash.display.BitmapData(image_width,image_height); 
    this.load_mc = tp_load_mc.mc.mc; 
    this.myLoad = new MovieClipLoader(); 
    this.loadObj = {_parentObj: this}; 
    this.loadObj.onLoadInit = function () 
    { 
        this._parentObj.drawBMP(); 
        this._parentObj.loadOK(); 
    }; 
    this.loadObj.onLoadError = function () 
    { 
        this._parentObj.reLoad(); 
    }; 
    this.bmp_object = {}; 
    this.myLoad.addListener(this.loadObj); 
    this.getBMP = function (url, runFun, obj) 
    { 
        this.reLoad_num = 10; 
        this.runFun = runFun; 
        this.runObj = obj; 
        this.paramArray = arguments.splice(3, arguments.length - 3); 
        this.url = url; 
        if (this.bmp_object[url] != undefined) 
        { 
            this.loadOK(); 
        } 
        else 
        { 
            this.load(); 
        } // end else if 
    }; 
    this.load = function () 
    { 
        this.myLoad.loadClip(this.url, this.load_mc); 
    }; 
    this.reLoad = function () 
    { 
        if (--this.reLoad_num > 0) 
        { 
            this.load(); 
        } 
        else 
        { 
            this.loadOK(true); 
        } // end else if 
    }; 
    this.drawBMP = function () 
    { 
        this.bmp_object[url] = new flash.display.BitmapData(this.load_mc._width, this.load_mc._height); 
        this.bmp_object[url].draw(this.load_mc._parent._parent); 
    }; 
    this.loadOK = function (noLoad) 
    { 
        this.paramArray.unshift(noLoad ? (this.tp_bmp) : (this.bmp_object[url])); 
        this.runFun.apply(this.runObj, this.paramArray); 
    }; 
} // End of the function 
stopTime = Math.max(Number(stopTime), 4000); 
var image_array = image.split("|"); 
var url_array = url.split("|"); 
var info_array = info.split("|"); 
image_width = 410; 
image_height = 226; 
tp_load_mc._visible = false; 
new Color(tp_load_mc.mc).setTransform({ab: 0, aa: 100, bb: 255, ba: -100, gb: 255, ga: -100, rb: 255, ra: -100}); 
var bmpList = new bmpObject(); 
var i = 0; 
while (i < info_array.length) 

    if (info_array[i].indexOf(".jpg") >= 0) 
    { 
        bmpList.getBMP(info_array[i], loadInfoBMP, this, i); 
        stop (); 
        break; 
    } // end if 
    ++i; 
} // end while 2. 
function drawSM(bmp, n) 

    var _loc4 = this["mc" + n].up_mc._width; 
    var _loc3 = this["mc" + n].up_mc._height; 
    this["mc" + n].mc.attachBitmap(bmp, 0); 
    this["mc" + n].mc._width = _loc4; 
    this["mc" + n].mc._height = _loc3; 
    this["mc" + n].loading_mc._visible = false; 
    this["mc" + n].n = n; 
    this["mc" + n].onRollOver = function () 
    { 
        gotoMouse(this.n); 
        timeMove = false; 
    }; 
    this["mc" + n].onRollOut = this["mc" + n].onReleaseOutside = function () 
    { 
        gotoMouse(); 
        timeMove = true; 
        mouse_mc.prevFrame(); 
    }; 
    this["mc" + n].onPress = function () 
    { 
        mouse_mc.nextFrame(); 
    }; 
    this["mc" + n].onRelease = function () 
    { 
        bmpList.getBMP(image_array[this.n], drawBIG, _root, this.n); 
        mouse_mc.prevFrame(); 
    }; 
    if (n == 0) 
    { 
        drawBIG(bmp, n); 
        onEnterFrame = timeEnterFrame; 
    } // end if 
    if (n == 3) 
    { 
        return; 
    } // end if 
    bmpList.getBMP(image_array[n + 1], drawSM, this, n + 1); 
} // End of the function 
function drawBIG(bmp, n) 

    if (nonce_n == n) 
    { 
        return; 
    } // end if 
    photo_mc.info = info_array[n]; 
    trace (photo_mc.info); 
    prev_bmp = nonce_bmp; 
    nonce_bmp = bmp; 
    nonce_n = n; 
    photo_mc.mc1.attachBitmap(nonce_bmp, 0); 
    photo_mc.mc0.attachBitmap(prev_bmp, 0); 
    photo_mc.gotoAndPlay(2); 
    gotoMouse(n, true); 
} // End of the function 
function gotoMouse(n, gd) 

    n = n == undefined ? (mouse_mc.an) : (n); 
    mouse_mc.ay = this["mc" + n]._y; 
    if (gd) 
    { 
        mouse_mc.an = n; 
    } // end if 
    this["mc" + n].up_mc.onEnterFrame = function () 
    { 
        this._alpha = this._alpha - 10; 
        if (this._alpha <= 0) 
        { 
            this._alpha = 0; 
            delete this.onEnterFrame; 
        } // end if 
    }; 
    if (mouse_mc.prev_n != n) 
    { 
        this["mc" + mouse_mc.prev_n].up_mc.onEnterFrame = function () 
        { 
            this._alpha = this._alpha + 10; 
            if (this._alpha >= 100) 
            { 
                this._alpha = 100; 
                delete this.onEnterFrame; 
            } // end if 
        }; 
    } // end if 
    mouse_mc.onEnterFrame = function () 
    { 
        this._y = this._y + (this.ay - this._y) / 7.500000E+000; 
    }; 
    mouse_mc.prev_n = n; 
} // End of the function 
stop (); 
new Color(tp_load_mc.mc).setTransform({ab: 0, aa: 100, bb: 0, ba: 100, gb: 0, ga: 100, rb: 0, ra: 100}); 
bmpList.getBMP(image_array[0], drawSM, this, 0); 
photo_mc.onRelease = function () 

    if (nonce_n != undefined) 
    { 
        getURL(url_array[nonce_n], "_blank"); 
    } // end if 
}; 
var time = getTimer(); 
var timeMove = true; 
timeEnterFrame = function () 

    if (timeMove) 
    { 
        t_txt = getTimer() - time; 
        if (getTimer() - time >= stopTime) 
        { 
            n = (nonce_n + 1) % 4; 
            bmpList.getBMP(image_array[n], drawBIG, _root, n); 
            time = getTimer(); 
        } // end if 
    } 
    else 
    { 
        time = getTimer(); 
    } // end else if 
}; 
 哪个高手帮帮我啊。晕。好不容易把程序和这调通了,结果。加载出的图片会超出去 
 this.bmp_object[url] = new flash.display.BitmapData(image_width,image_height); 
我把这句改成这样。到是不超出了。可是加载进来的图片不适应大小我在这下下来的。
http://www.lanrentuku.com/down/js/jiaodiantu-413/