主要代码如下:
var _obj = {};
_obj.complete = function(e:Object) {
var p = e.target;
p.spContentHolder._width = 100;
p.spContentHolder._height = 100;
};
pane.addEventListener("complete", _obj);
pane.contentPath = "sa.JPG";//载入的图片
pane.vScrollPolicy = pane.hScrollPolicy="off";//大家可以试试看~:)