Load external images into flash MX

Discussion in 'Programming' started by Fracisc, Mar 5, 2009.

  1. #1
    I am trying to replicate this. I don`t know how to code it to load external images just like that one.. Please help.
     
    Fracisc, Mar 5, 2009 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    var imgContainer = createEmptyMovieClip("imgContainer", this.getNextHighestDepth());
    imgContainer.loadMovie("http://www.whatever.com/whatever.jpg");

    imgContainer._x = 100;
    imgContainer._y = 100;

    should do it for yah :)
     
    ccoonen, Mar 6, 2009 IP
  3. Fracisc

    Fracisc Well-Known Member

    Messages:
    3,670
    Likes Received:
    10
    Best Answers:
    1
    Trophy Points:
    195
    #3
    Where or how do I add this? I am new to AS.
     
    Fracisc, Mar 7, 2009 IP