Hi Everybody, I'm trying to connect my picasa webalbum with my own
Flash Player. When I publish the file in Flash it works, but when I
embed the file in a HTML file and open it in IE or FF it doesn't.
What's going wrong?
AS CODE:
xml.load("http://picasaweb.google.com/data/feed/api/user/MYNAME");
xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
j = 0;
for(var i=0;i<numOfItems;i++){
if(nodes[i].nodeName == "entry")
j++;
}
for(var i=0;i<numOfItems;i++){
if(nodes[i].nodeName == "entry"){
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/j);
t.onEnterFrame = mover;
t.toolText = nodes[i].childNodes[4].firstChild.nodeValue;
t.icon.inner.loadMovie(nodes[i].childNodes[25].childNodes
[4].attributes.url);
t.r.inner.loadMovie(nodes[i].childNodes[25].childNodes
[4].attributes.url);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
}
}
}
--
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-picasa-data-api?hl=en.