PS. where url = http://photos.googleapis.com/data/crossdomain.xml
Or you may try this System.security.loadPolicyFile("
http://photos.googleapis.com/data/crossdomain.xml";);

On Thu, Nov 26, 2009 at 2:54 AM, franstel89 <[email protected]> wrote:

> It must be a crossdomain problem or something like that. How can you
> instal a crossdmain file in your Flash file?
>
> On 25 nov, 22:44, franstel89 <[email protected]> wrote:
> > 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]<google-picasa-data-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-picasa-data-api?hl=en.
>
>
>


-- 
http://nasher.info - My Portfolio
http://m00bile.com
http://v300.motofan.ru - my Mobile Media site
http://livejournal.com/users/ikarbezkryl/ - my Live Journal

--

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.


Reply via email to