0

我正在尝试加载 facebook 个人资料图片但没有任何成功:(

我使用 Greensock loaderMax 来尝试加载它

private function loadProdilePicture(ImageLoaderArray:Array ):void
    {
        LoaderMax.activate([ImageLoader]);
        var queue:LoaderMax = LoaderMax.parse(ImageLoaderArray,
            {maxConnections:1, onChildComplete:onChildCompleteHandler,
                onComplete:completeHandler, onError:errorHandler,allowMalformedURL :true},
            { container:this, x:212, y:200,allowMalformedURL :true,noCache :false});
        queue.load();
    }

ImageLoaderArray 包含带有 url 的 ImageLoader 变量

我得到的错误是: Error on ImageLoader '758923107' (https://graph.facebook.com/758923107/picture?type=normal): Error #2032: Stream Error. URL: https://graph.facebook.com/758923107/picture?type=normal&purpose=audit&gsCacheBusterID=1374335426047

有任何想法吗??

4

1 回答 1

0

尝试将 auditSize:false 添加到您的 LoaderMax。

var queue:LoaderMax = LoaderMax.parse(ImageLoaderArray,
            {auditSize:false, maxConnections:1, onChildComplete:onChildCompleteHandler,
                onComplete:completeHandler, onError:errorHandler,allowMalformedURL :true},
            { container:this, x:212, y:200,allowMalformedURL :true,noCache :false});
于 2013-07-21T04:26:48.657 回答