Jay,
If I understand you correctly, clipA is not intended to be clickable and you
want to block any incidental/experimental clicks on the part of users.
Ironically you need to give clipA a button behavior in order for it to
'intercept' clicks thereby shielding clipB.
<code>
//turn off hand cursor and disable clipA
clipA.enabled = false;
//give clipA a button behavior
clipA.onRelease = function(){
//any button behavior will do
//no actions needed here
}
</code>
Perhaps one of our venerable Flash insiders would like to explain the whys
and wherefores, but it works.
-Keith
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jay Lepore
Sent: Saturday, December 03, 2005 12:27 PM
To: 'Flashcoders Mailing List'
Subject: [Flashcoders] Disabling Buttons / Actions - FLASH 6
Hello,
Here is my need.
I have a rectangular clip (clipA) on the stage that does not move.
I have a scrollable mc (clipB) that lays underneath clipA but is much
longer and scrolls up and down underneath clipA.
When someone clicks on clipA, I do not want ANY button or mc actions
beneath it to be activated. However, if they click on clipB outside the
clipA bounds, such actions should occur.
I have tried many combinations of enable=false, fake shields beneath and
so on to no avail.
Anybody got a good suggestion on this?
What sayeth the group?
Jay
FlashBOMB.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders