1 Reply Latest reply on Jun 21, 2006 1:06 PM by kglad

    Swap Background image using ActionScript

    JohnKirk
      I need to know how to change (swap) background images.

      Explanation:
      The main file (level 0) is named "Master".
      In the Master timeline, the lowest layer is named "bg" (for backgrround).
      On the bg layer is an image the size of the stage, and this image forms the background against which other movie clips (.swf) are shown.

      Purpose:
      In response to a user (ie: the user clicks a button), I want to change the background image.

      Problem:
      I have searched through Flash 8 Help system, and cannot find how to delete the 1st image from the "bg" layer, and add a different image.

      Hoping someone knows the answer,
      Thanks,
      John