Masking problem - not sure what code to use

hi,
I am designing something which has 4 buttons, linking to 4
seperate animations. the buttons are hairspray bottles and the
animation is a image which fades up, as if it were being sprayed.
The way I have designed it is for each bottle to have this code:
on (release) {
section1.play();
section2.gotoAndStop(1);
section3.gotoAndStop(1);
section4.gotoAndStop(1);
with each section having it's corresponding image/animation
fading through.
So when a user clicks on the first bottle, this is fine,
because the background is visible and then the animation sprays
over the top. But when the second bottle is clicked, rather than
spray over the top, the original background image is shown for a
second, then the animation comes over the top of this.
Any ideas how I could have each animation appearing over the
top of one another?

use the swapDepths() method of movieclips to change the
apparent depth of your movieclips.

Similar Messages

Maybe you are looking for

  • How to dynamically change the table name inside a view

    Hi All, create table t_auto_feeds id number, table_name vachar2(100)); insert into t_auto_feeds values(1,'T_FEED_POSITIONS'); insert into t_auto_feeds values(2,'T_KAP_MTM'); assume there are 100 records on id=1 in T_FEED_POSITIONS and 100 records of

  • How to report new master data in place of old master data in a report

    Hi Everyone, I have 0vendor master data which contains both old and new vendor numbers. I have transaction data that refers to both new and old vendor numbers. In my report I want to see the new vendor numbers with transaction data and new vendor num

  • Field rename in DB, how to refresh Business Area?

    I'm the Discoverer Administrator and one of the underlying tables in my database has has a field name change. How do I "refresh" the table/folder in the business area I created? I don't want to loose any customization I've done for that table/folder.

  • Can I create a separate Library for specific music?

    I've created a Playlist for Christmas music which works just fine but I don't want it in general rotation (we use Shuffle a lot). Can I create a separate library just for that - I can't seem to find any info on whether this is doable. Thx

  • Weblogic stops responding to JSP

    We are facing one interesting problem ,I am wondering if anyone has           faced that problem . We are using JSP with weblogic5.1 SP5 as the           Application and webserver.           After letting it run we get into situation where the server