怎么从外部获取从cc.resources.load中获得的数据

怎么从外部获取从cc.resources.load中加载的数据

cc.resources.get(url,type);第一个参数资源路径,第二个参数资源类型:例如,cc.SpriteFrame