3 Replies Latest reply on May 20, 2006 7:52 AM by rtreitner

    external jpgs

    rtreitner
      I am building a webpage and have my dynamic text loading from a text file, it loads whwnever the page loads. I also have a jpg loading through a blank movie clip which currently loads only when the button is clicked, my button code looks like this:

      on (release) {
      about.loadMovie("about.jpg");
      }

      How can I get this to load whenever the page loads, and still load it as an external jpg?
        • 1. Re: external jpgs
          gaurav_ch Level 1
          hi,

          if you want to load the external jpg when the head enters a frame on the timeline, then just add the actionscript on that frame. if you want to load the text and jpg together, just add that actionscript on the same frame as actionscript of the text loading.

          gaurav
          • 2. Re: external jpgs
            octav20xx Level 1
            it IS an external jpg ... but ... when the frame loads, it loads the scripts.
            gaurav_ch : add the actionscript on that frame

            • 3. Re: external jpgs
              rtreitner Level 1
              Thanks guys I had tried some script on the same frame, but everything didn't load the same, maybe it was the way I did it. So after a while of playing around I think I got it.

              I put a blank movie clip on the stage, gave it an instamce name, then added a loader into the movie, which was fairly easy all I had to do was use the component inspector and put the jpgs name in. After that everything loaded pretty good. now if can only figure out how to make transitions work.