Solved

How to Cover duplicate movie clip.

Posted on 2004-04-13
8
292 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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…
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 what frame rate is, how to control it and what effect it has on the video.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now