Groups
Groups
Sign in
Groups
Groups
Iconfinder API
Conversations
About
Send feedback
Help
Image source not working with flex
15 views
Skip to first unread message
rialand
unread,
Jan 18, 2011, 3:24:58 PM
1/18/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Iconfinder API
hi
i use iconfiner Api with flex
but its not working
when activate just trace '[SWF] /pagenotfound - 0 bytes after
decompression' again
mycode:
private function send():void{
req.url = "
http://www.iconfinder.com/xml/search/
?
q=box&c=5&p=2&min=1&max=48&api_key=mykey";
loader.addEventListener(Event.COMPLETE, complete);
loader.load(req);
}
private function complete(e:Event):void{
var feed:XML = new XML(e.target.data);
var feedList:XMLList = feed.iconmatches.icon.image;
trace(feedList[0]);
}
trace =
http://cdn1.iconfinder.com/data%2Ficons%2Fsoftwaredemo%2FPNG%2F48x48%2FBox_Red.png
so i make image with trace url
<mx:Image id="img"
source="
http://cdn1.iconfinder.com/data%2Ficons%2Fsoftwaredemo%2FPNG
%2F48x48%2FBox_Red.png" />
but its not working. Just trace '[SWF] /pagenotfound - 0 bytes after
decompression'
Is Iconfinder Api not working with Flex?
Reply all
Reply to author
Forward
0 new messages