Solved

How to Cover duplicate movie clip.

Posted on 2004-04-13
8
295 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
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.

839 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