Hey! I've been following the instructions on Stencylpedia to make an HTTP Request and I keep getting an error. I tried something simple like getting a number from a .txt file on dropbox like in the example but it won't work. I've been trying for hours and no luck. Does this block still work? Does anyone have an example of this still working?
Thanks
This is the error message. It looks like it "cannot load data from
https://www.dropbox.com/s/pm5ufn9xmnqwhuc/Test.txt". I tried running on Android as well.
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:///C|/Users/Wasanni/AppData/Roaming/Stencyl/stencylworks/games%2Dgenerated/Project%20M/Export/flash/bin/Project%20M.swf cannot load data from
https://www.dropbox.com/s/pm5ufn9xmnqwhuc/Test.txt.
at com.stencyl.behavior::Script$/visitURL()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\behavior\Script.hx:3661]
at scripts::SceneEvents_0/init()[C:\Users\Wasanni\AppData\Roaming\Stencyl\stencylworks\games-generated\Project M\Source\scripts\SceneEvents_0.hx:91]
at com.stencyl.behavior::Behavior/initScript()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\behavior\Behavior.hx:107]
at com.stencyl.behavior::BehaviorManager/initScripts()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\behavior\BehaviorManager.hx:97]
at com.stencyl::Engine$/initBehaviors()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:1257]
at com.stencyl::Engine/loadScene()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:1156]
at com.stencyl::Engine/begin()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:949]
at com.stencyl::Engine()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\com\stencyl\Engine.hx:738]
at Universal/preloaderComplete()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib\stencyl\1,00\Universal.hx:410]
at lime.app::_Event_Void_Void/dispatch()
at scripts::StencylPreloader/unload()[C:\Users\Wasanni\AppData\Roaming\Stencyl\stencylworks\games-generated\Project M\Source\scripts\StencylPreloader.hx:334]
at scripts::StencylPreloader/onLoaded()[C:\Users\Wasanni\AppData\Roaming\Stencyl\stencylworks\games-generated\Project M\Source\scripts\StencylPreloader.hx:303]
at lime.app::_Event_Void_Void/dispatch()
at lime.utils::Preloader/start()
at lime.utils::Preloader/updateProgress()
at lime.utils::Preloader/current_onEnter()