Only local with file system and trusted local SWF may access local resources

NerdinaNutshell

  • *
  • Posts: 170
I was trying to load an object into stencyl with the Away3D extension. However every time I'd test the game I'd get a similar message to the above. I looked it up and it said to go to Flash settings and specify trusted locations. After I went back and tried to test again, only to get the same error. I even restarted my computer to see if anything would change, but nothing did. Does anyone else know how to fix this? Thanks. I've attached my logs below to help with trouble shooting.
Plot Twist... I'm a ghost

mdotedot

  • Posts: 1551
Some of the functions that Away3D use an URL location to load. So you need most of your assets on a web-server.
And flash requires that you access the URL from the same server as you run the code. So in order to run Flash: put the flash file with the assets on the same server.

I recommend : Use HTML5 or Windows/Mac to test
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

NerdinaNutshell

  • *
  • Posts: 170
I noticed with HTML5 and Win/Mac that they get their assets from websites. Could I store my files on any old site and draw them from there?
Plot Twist... I'm a ghost

mdotedot

  • Posts: 1551
You would have to experiment with 'any old site'. I use my own server.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

NerdinaNutshell

  • *
  • Posts: 170
Oh ok, it would probably have be custom made?
Plot Twist... I'm a ghost

NerdinaNutshell

  • *
  • Posts: 170
Yipee! I got it working with HTML5! Thanks   :D
Plot Twist... I'm a ghost