Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Can';无法使lastfm API在Flash Builder中正常工作_Api_Flash Builder_Last.fm - Fatal编程技术网

Can';无法使lastfm API在Flash Builder中正常工作

Can';无法使lastfm API在Flash Builder中正常工作,api,flash-builder,last.fm,Api,Flash Builder,Last.fm,我一直在努力让lastfmapi在flashbuilder中工作。 作为一个测试,我一直在尝试从被炒作的乐队那里接收个人资料图片 我可以发送请求,但是我在获取正确的URL时遇到问题 现在,我只是声明了一个静态url,看看它是否有效,它确实有效(请参阅下载链接中的完整代码): 无论如何,我当前的XMLListCollection是myRequest.lastResult.artists.Artister,我从调试器中改进了它:顺便说一句,不使用lfm标记正确吗 (我是新来的,还不允许使用图片,所以

我一直在努力让lastfmapi在flashbuilder中工作。 作为一个测试,我一直在尝试从被炒作的乐队那里接收个人资料图片

我可以发送请求,但是我在获取正确的URL时遇到问题

现在,我只是声明了一个静态url,看看它是否有效,它确实有效(请参阅下载链接中的完整代码):

无论如何,我当前的XMLListCollection是myRequest.lastResult.artists.Artister,我从调试器中改进了它:顺便说一句,不使用lfm标记正确吗

(我是新来的,还不允许使用图片,所以我只发布图片的链接)

这就是我如何尝试在中继器内的图像中添加配置文件图片的url:

<mx:Repeater id="lastfmCollection" dataProvider="{myRequest.lastResult.artists.artist}">
            <s:Label text="{haalChart(lastfmCollection.currentItem)}"/>
            <s:Image id="fotoKlein"
                     source="{haalChart(lastfmCollection.currentItem)}" 
                     width="80" height="80"
                     scaleMode="stretch"/>
        </mx:Repeater>

还有一点是,xml中有5个图像——标记,每个标记的“大小”参数从小到大都不同:

<image size="small">
    imageurlhere
</image>

<image size="medium">
    http...
</image>

imageurlhere
http。。。
现在,我需要知道如何将中等大小的图像放入中继器。我已经试了好几天了,但是我卡住了

以下是完整的代码:

非常感谢您的帮助

<image size="small">
    imageurlhere
</image>

<image size="medium">
    http...
</image>