load link image into movieclip problem
hi,
the problem resolved, turns out fail on test movie works on real swf.
second problem "load link image movieclip problem"
i have these code, ask user input text 'input text' field, must link image somewhere, , load link(image) movieclip on stage.
button1.onpress = function() { <<button1
var linktext = inputtext.text; <<inputtext input text field
trace (linktext);
loadimage(linktext);
}
function loadimage(imagename) {
avatarcontainer.avatarheadouter.avatarhead.loadmovie(imagename); << avatarcontainer mc on stage
overlaycontainer.overlayheadouter.overlayhead.loadmovie(imagename); <<overlaycontainer mc on stage
overlaycontainer.overlayheadouter._alpha = 15;
stats.text = imagename; }
when run on test movie (ctrl-enter), loadmovie work.
when run on actual html after publish, loadmovie nothing. flash player stopped insecure operation.
my wild guess problem html file?? there can bypass secure bs
problem resolved, turns out pics work , doesn't, server did protect hosted images.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment