Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

load link image into movieclip problem

Participant ,
May 03, 2013 May 03, 2013

Hi,

the problem resolved, turns out fail on test movie but it works on the real swf.

second problem "load link image into movieclip problem"

I have these code, what it does is ask user input text to the 'input text' field, it must be a link to an image from somewhere, and then it will load that link(image) into a movieclip on stage.

button1.onPress = function() {      <<button1

    var linktext = inputText.text;    <<inputText is the input text field

    trace (linktext);

    loadImage(linktext);

}

function loadImage(imageName) {

    avatarContainer.avatarHeadOuter.avatarHead.loadMovie(imageName);  << avatarContainer is a mc on stage

    overlayContainer.overlayHeadOuter.overlayHead.loadMovie(imageName);  <<overlayContainer is another mc on stage

    overlayContainer.overlayHeadOuter._alpha = 15;

    stats.text = imageName;  }

when i run on test Movie (ctrl-enter),  loadMovie does work.

when I run on actual html after publish,  loadMovie does NOTHING. it say something like Flash Player stopped a insecure operation.

My wild guess is problem html file?? is there anything I can do to bypass that secure bs

TOPICS
ActionScript
381
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , May 03, 2013 May 03, 2013

problem resolved, turns out some pics work and some doesn't, probably some server did something to protect their hosted images.

Translate
Participant ,
May 03, 2013 May 03, 2013
LATEST

problem resolved, turns out some pics work and some doesn't, probably some server did something to protect their hosted images.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines