4 Replies Latest reply on Nov 5, 2008 10:07 AM by Myhr_Photography

    Help with editing a template

    Myhr_Photography
      I am trying to load an image that is located on the internet onto a flash site. I bought this site as a template. Here is the code already associated with the panel I want to edit.

      onClipEvent (load) {
      imageNumber=1;

      imageProperties=_root.getCurrentImageName(imageNumber);
      loadMovie(_root.url+imageProperties['name'], this.cont.cont1);
      url=imageProperties['linkToOpen'];
      }

      What this does, to the best of my limited understanding is loads the image from the root of the directory. The image is named: tfile_pic2.png

      So replacing this image is as easy as overwriting the tfile.pic2.png. But how would I go about changing this so that it loads an external file, in particular:

      http://badge.facebook.com/badge/505287599.500.343637158.png

      If I am going about this all wrong, please point me in the right direction. Thank you.