newbie AS 3 question

  • bigajosep1
  • Born
  • Born
  • bigajosep1
  • Posts: 2

Post 3+ Months Ago

I have uploaded a movie with a skin to control it to my server. When I try to visit it I get this error:

44: Unhandled skinError:. text=Error #2121: Security sandbox violation:
Loader.content: http://www.myurl.com/videos/AISfla.swf cannot access http://myurl.com/videos/SkinUnderPlaySt ... uteVol.swf.
This may be worked around by calling Security.allowDomain.

I googled it and saw that I need to add
Security.allowDomain("myurl.com");

I went to window > actions and added that code to Layer 1: Frame 1 , which is underneath Scene 1, which is the only scene.

I saved and published the file again and uploaded to my server again but I still get the same error. I think I don't know where to put Security.allowDomain("myurl.com");
Any ideas on what I should do to get it to work?

thanks
  • bigajosep1
  • Born
  • Born
  • bigajosep1
  • Posts: 2

Post 3+ Months Ago

i worked around it by re-importing the video and setting the skin to the url of the skin i already uploaded to the server

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 6 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.