Actions on nested movieclips

I’ve recently been working on a dynamic scrollbar. one that loads a series of images and can scrol them up and down. The problem I was having was that the “button” movieclips were nested in a “scroller” movieclip, but only the scroller clip would capture mouse actions. I couldn’t assign mouse actions to the individual buttons which was causing me problems. I kind of got a cludge around it by dragging a created movieclip and doing eval(dragged._droptarget) it works pretty well and here’s the code for that section:


this.createEmptyMovieClip("drag", this.getNextDepth());
this.drag.startDrag(true);
//make slider
this.createEmptyMovieClip("sliderStrip_mc", this.getNextDepth());
var limit = this.imageArray.length;
for (var count = 0; count

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>