0 Replies Latest reply on Jan 20, 2009 10:44 AM by J Cellini

    Stacking movie clips

    J Cellini Level 3
      I am using Flash 8 and here is the presentation I am working on:

      [L= [L=http://www.elanwebservices.com/clinical_discussion/presentation.html]]http://www.elanw ebservices.com/clinical_discussion/presentation.html][/L] [L=http://www.elanwebservices.com/clinical_discussion/presentation.html[/L]]http://www.el anwebservices.com/clinical_discussion/presentation.html[/L][/L]

      When you click on each slide button number, everything progresses along without problem. When you click a previous button, things still work fine. But when you start clicking randomly, especially buttons 4 and 5 and then back to 2 and others, the text from one slide begins to stick and show up on other slides and then all the text starts sticking so you have a mess.

      How can I prevent this?

      I have set all the movie clips of the entire presentation to a visibility of 0 on each slide except for the movie clips I want to display. For example, on slide 5 I have the following ActionScript:

      var logo2 = new ImageViewer(this, 3, 572, 32, 193, 49);
      logo2.loadImage("images/logo2.jpg");

      var egfr_3 = new ImageViewer(this, 6, 40, 149, 350, 360);
      egfr_3.loadImage("images/egfr_3.jpg");

      // display references in front of the compass image
      topDepth = 40;

      slide5text_mc.onEnterFrame = function() {
      this.swapDepths(_root.topDepth);
      ++_root.topDepth;
      };

      container_mc2._visible = 0;
      container_mc4._visible = 0;
      container_mc5._visible = 0;
      container_mc7._visible = 0;
      container_mc8._visible = 0;
      container_mc9._visible = 0;
      container_mc10._visible = 0;
      references_mc._visible = 0;
      slide2text_mc._visible = 0;
      slide3text_mc._visible = 0;
      slide4text_mc._visible = 0;
      slide6text_mc._visible = 0;
      slide7text_mc._visible = 0;
      slide11text_mc._visible = 0;

      The images are no problem. It's the slide text I converted into movie clip symbols that I am having trouble with.

      How can I prevent the slide text movie clips from stacking up on each other?

      Thanks in advanced for your expertise (something that I am lacking presently).

      John