I have a main movie clip that is dynamically created to be the same width and height as the stage. I then have this clip set so that it’s .onRollOver creates several clips above it as a kind of overlaid menu. It’s .onRollOut then clears the menu.
My problem is that once the menu has been created and is put on top of the main clip none of the menus individual .onRollOver, .onPress, onRollOut, etc functions will work. The main clips .onRollOver is still being called and is ignoring the menu which is at a higher depth than it.
Is there any way around this. Did I just pick a crappy way to do it?
is it because you have a transparent button over the other buttons? Flash will only be able to recognise being over one at once, and any buttons made under a large transparent button will be ignored.
the menu buttons should be on top of the stack as they are created with the .getNextHighestDepth() method. I’ve created a simple recreation of what I’m trying to do and attached the .FLA to this post. It dosen’t look like Flash will be able to do this. It seems to ignore all other .onRollOver events if it hasn’t initialized the accompanying .onRollOut. Any ideas on this would be greatly appreciated.