I’m experiencing some weirdness with some MCs I’ve got nested within a larger MC. I’m using _ymouse to detect when a user mouses near the bottom of video player, which triggers the “main” controls clip to fade into view, revealing the nested MCs (rewind, play, time scrub, volume scrub, mute) which have onRelease events assigned to them. trackAsMenu was not working how I wanted it to, so I used _ymouse.
The problem I’m having is when I mouse near the bottom, the main clip fades in, and when I click the rewind, play, or mute buttons, they seem to detach from the main controls clip, so that when I roll off that bottom area, they no longer fade back out with the rest of the controls. The time scrub and volume scrub clips (track bars that you can drag to skip back & forth through the movie or drag volume up & down) don’t have this problem for some reason, but the simple click buttons do.
Originally I had the main controls clip sliding up from off screen, and the button behavior was that they wouldn’t slide back down after they were clicked. It’s almost as if there’s a bug in Flash that’s causing them to detach from the timeline of the main clip they’re nested in.