security with flash player

ruicruzruicruz Registered Users Posts: 3 Beginner grinner
Hi, I'm having problems with smugmug api

when I run on localhost everything is ok, but when I publish I get the error:
Error #2044: securityError: não manipulado. text=Error #2048: Violação da área de segurança

what can I do to allow?
I tryed this:
Security.allowDomain('http://api.smugmug.com');
	Security.loadPolicyFile('http://api.smugmug.com/crossdomain.xml');

but doesnt work, this is an important project.. will be in 24 countries
I believe you already know adigitalbook? well now is on web version :)

I believe this is a "easy to solve" issue, I just dont see what is missing..

kind regards,
Rui Cruz

Comments

  • ruicruzruicruz Registered Users Posts: 3 Beginner grinner
    edited June 24, 2009
    ruicruz wrote:
    Hi, I'm having problems with smugmug api

    when I run on localhost everything is ok, but when I publish I get the error:
    Error #2044: securityError: não manipulado. text=Error #2048: Violação da área de segurança
    

    what can I do to allow?
    I tryed this:
    Security.allowDomain('http://api.smugmug.com');
    	Security.loadPolicyFile('http://api.smugmug.com/crossdomain.xml');
    

    but doesnt work, this is an important project.. will be in 24 countries
    I believe you already know adigitalbook? well now is on web version :)

    I believe this is a "easy to solve" issue, I just dont see what is missing..

    kind regards,
    Rui Cruz

    anyone?
  • José NelsonJosé Nelson Registered Users Posts: 1 Beginner grinner
    edited June 24, 2010
    Mesma Dúvida
    Boa tarde,
    tudo fixe Rui, eu tive ai por assim dizer a trabalhar 2 dias...em Dezembro não sei se tas a ver, estou a ter o mesmo problema caso tenhas alguma ideia brilhante avisa...
    José Nelson zeze_arcos@hotmail.com
    da-me o teu email caso me surja a mim...
    abraço
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited June 25, 2010
    Boa tarde,
    tudo fixe Rui, eu tive ai por assim dizer a trabalhar 2 dias...em Dezembro não sei se tas a ver, estou a ter o mesmo problema caso tenhas alguma ideia brilhante avisa...
    José Nelson zeze_arcos@hotmail.com
    da-me o teu email caso me surja a mim...
    abraço


    english please ? headscratch.gif
    David Parry
    SmugMug API Developer
    My Photos
  • beacazilbeacazil Registered Users Posts: 25 Big grins
    edited June 26, 2010
    ruicruz wrote: »
    Security.allowDomain('http://api.smugmug.com');
        Security.loadPolicyFile('http://api.smugmug.com/crossdomain.xml');
    

    Maybe this will help. The API does not guarantee that all URLs it returns start with http://apii.smugmug.com.... unless you set the parameter Sandboxed=1 on calls to methods that return URLs.

    That way, all URLs returned are covered by the crossdomain.xml file.
Sign In or Register to comment.