Skip to main content
Inspiring
December 27, 2011
Question

load facebook profile picture problem

  • December 27, 2011
  • 1 reply
  • 859 views

HI i have made a game, I can see facebook profile pictire while render fla through flash, but swf is not showing picture while run through html.

I have also added these lines

Security.loadPolicyFile("http://api.facebook.com/crossdomain.xml");
Security.allowDomain("*");
Security.allowInsecureDomain("*");

but still facebook picture is not loading in HTML.

This topic has been closed for replies.

1 reply

Kenneth Kawamoto
Community Expert
Community Expert
December 27, 2011

Try LoaderContext

--

Kenneth Kawamoto

http://www.materiaprima.co.uk/

Inspiring
December 28, 2011

hi i am using code




Security.loadPolicyFile("http://api.facebook.com/crossdomain.xml");



Security.allowDomain("*");



Security.allowInsecureDomain("*");

ld=new Loader()

ld.load(new URLRequest(str))

addChild(ld)

it is showing picture when I run it through flash, but when i upload project to server it dosen't shows picture.

Kenneth Kawamoto
Community Expert
Community Expert
December 28, 2011

Yes I know you've already stated that Try using LoaderContext

--

Kenneth Kawamoto

http://www.materiaprima.co.uk/