Solved

How to Cover duplicate movie clip.

Posted on 2004-04-13
8
296 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Suggested Solutions

Title # Comments Views Activity
Link puzzle piece images together and change color on hover 2 449
HTML 5 or Flash 7 491
Adobe Flash Player - PPAPI plugin 6 755
flash professional 3 31
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to how to record live broadcast.
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.

685 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