在as2.0中我们要得到flashvars中的值,比如说temp,我们用_root.temp就可以了。 在as3.0中我们用这样的方法: var temp=this.loaderInfo.parameters["temp"];