its been 2 days since ive come to know about security sandbox violation. and its been a troubling 2 days.
well, first off. ive searched this forum and encounter a few threads about this problem. the thing is, most of them are different. as in, they got this problem, but from a different way than how i got it. while the one with the same way as how i got it remainds unanswered. hence and therefore, i thought starting a new thread is d only way to get answers
so first off,
how i got this error:
im creating a flash website which of course had buttons that load different things when clicked. and the buttons load movie from an external source. to make things simple, the external source is fileden.com while the thing that the button(s) is supposed to load is the swf file stored in fileden.
by putting the code
button.onRelease = function(){
loadMovieNum"(http://www.fileden.com/bunch of things", “movieclipname”;
}
i happily pressed ctrl enter, feeling happy that i would see what i want; button loading the movie.
and presto, it does load the movie.
and here comes d problem.
the loaded movie had buttons which will play something when pressed. and when that button is clicked, the security sandbox violation error appears!
and thats how i got to know security sandbox violation. it kills all the joy that i had had.
and before u tell me the solution, i think its appropriate that i tell u that i found the solution, *sort of. *
its this magic code :
its been 2 days since ive come to know about security sandbox violation. and its been a troubling 2 days.
well, first off. ive searched this forum and encounter a few threads about this problem. the thing is, most of them are different. as in, they got this problem, but from a different way than how i got it. while the one with the same way as how i got it remainds unanswered. hence and therefore, i thought starting a new thread is d only way to get answers
so first off,
how i got this error:
im creating a flash website which of course had buttons that load different things when clicked. and the buttons load movie from an external source. to make things simple, the external source is fileden.com while the thing that the button(s) is supposed to load is the swf file stored in fileden.
by putting the code
System.security.allowDomain(“www.fileden.com”);
but its magic works only on the security sandbox violation error. true, the error doesnt appear when the loaded movie’s button is clicked, but something even more joy-killing appears.
the button still doesnt play what its supposed to play when clicked! how much of a kill-joy is that?
thus i really appreciate all the help i can get from you people
2 days is enough and i dont want to drag this problem even further. :puzzle:
and once again, thanks!
if u, whoever is reading this do know, please tell me by posting it here
and again and again, thanks!