Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to Cover duplicate movie clip.

Posted on 2004-04-13
8
Medium Priority
?
313 Views
Last Modified: 2012-08-13
I got one movie clip name "mc", i duplicate it, i set each duplicated movie clip with unique name and depth, and the _y is from 80 to 640.

so now my movie size is 640x480. so the duplicated movie location is over 480. Then i create a scroll to set each movie clip change _y = _y - 10. At my top got one banner, Now my problem is when i scroll movie clip up, why it will at the top of the banner, how i can make it at the bottom of banner? (when movie at banner position is cover by banner)
And why the duplicated movie clip when i invisible it, the button inside it still got function?
Thanks
Max
0
Comment
Question by:MaxTo
8 Comments
 
LVL 9

Expert Comment

by:j3one
ID: 10819996

-> not realy following you here... could you post what you have so far or a sourse file?

-> by invisible it do you mean hide it in your timeline or alpha tween it out or somthing?
0
 
LVL 9

Expert Comment

by:krishnaprathab
ID: 10820172
Hi,
 
Yes I agree with j3one you need to give more explanation or better post your source file.

For the second part of your button still accessible what you have to do is, aprat form making it invisible you have make it disabled like.

myMc._visible=false;
myMc.enabled=false;

Now your button in the invsible movie will not be accessible.

Thanks,
KP
0
 

Author Comment

by:MaxTo
ID: 10820345
// scroll bar function
function scroll(value) {
      switch (value) {
      case "down" :
            if (bottom>410) {
                  bottom = bottom-10;
                  scrollMC(-10);
            }
            break;
      case "up" :
            if (bottom<y) {
                  bottom = bottom+10;
                  scrollMC(10);
            }
            break;
      }
}
function scrollMC(value) {
      for (i=1; i<=mcNow; i++) {
            mcRef = eval("mc"+i);
            mcRef._y += value;
      }
}
// duplicate for the question * operand
function duplicateMC() {
      if (x>460) {
            newLines();
      }
      mcNow++;
      mcRef = mc.duplicateMovieClip("mc"+mcNow, mcNow);
      mcRef._x = x;
      mcRef._y = y;
}
// new line
function newLines() {
      x = 10;
      y += 80;
      bottom = y;
      if (y>400) {
            bUp._visible = true;
            bDown._visible = true;
      }
}

when i press btn1 it will call duplicateMC to duplicate new movie clip.
when i create many movie clip, some movieClip _y will more than 480.

Then now if i click scroll bar btn it will scroll the movieClips which _y is more that 480 to up, so i call scroll("Up"); or scroll("Down");

I got one banner is on the top of movie. WHen scroll, the movie clip will at the front of banner, how i can make it at the back of banner?

How i send the source file to both of you? can give me email, then i send, if still not sure what i said.

Max
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 2

Expert Comment

by:BobFett
ID: 10821677
Why don't you put the file on that interwebnet thing and give us the address?
0
 
LVL 9

Expert Comment

by:krishnaprathab
ID: 10822659
Try placing the scroll in a layer under the banner movielcip layer. In other words place the banner movielip in a higher layer stack than the scroll. This may help. Its better you post the file to some place rather than the code.

Thanks,
KP
0
 

Author Comment

by:MaxTo
ID: 10829697
For all the experts, especially krishnaprathab, Thanks for helping me. Sorry, cause i had solve this problem. I didn't provide a proper description, cause i can't descript it in clear. But lucky, i solve this problem. Cause i just swapdepth the banner movieclip. Thanks to all.

i will close this question.
Bye
Max
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 10830475
User resolved; closed, 100 points refunded.

Netminder
Site Admin
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question