参考code
import?flash.filters.BlurFilter;
var?v0?=?2;
var?v?=?2;
var?na?=?["thor",?"luar",?"danger","peter","xfyzz","allan"];
var?index?=?0;
mc.myName.text?=?na[index];
mc.onEnterFrame?=?function()?{
????v0?+=?v;
????if?(v0>20?||?v0<0)?{
????????v?*=?-1;
????}
????if?(v0>20)?{
????????index++;
????????if?(index?==?na.length)?{
????????????index?=?0;
????????}
????????mc.myName.text?=?na[index];
????}
????myBlurFilter(mc,?v0,?v0,?3);
};
function?myBlurFilter(obj,?blurX,?blurY,?quality)?{
????var?filter:BlurFilter?=?new?BlurFilter(blurX,?blurY,?quality);
????var?filterArray:Array?=?new?Array();
????filterArray.push(filter);
????obj.filters?=?filterArray;
}