资 源 简 介
This fileLoader class allows you to add a range of file types to your flash movie.
For .swf, .jpeg & .png
FileLoader.addFile(name:MovieClip, {source:String, depth:Number, instanceName:String, onComplete:Function, [_x:Number,_y:Number, _alpha:Number,_xscale:Number, _yscale:Number,_rotation:Number]});
For server communication
FileLoader.upLoad(url:String, {1 to 7, onComplete:Function);
For adding sound
FileLoader.addSound(url:String);
For adding sound effect
FileLoader.addSoundEffect(url:String);
For removing sound
FileLoader.removeSound(type:String);
For .xml
FileLoader.addXML(name:XML, {source:String, onComplete:Function});