Why do scaled and masked captivate swfs respond to clicks outside the mask? Can it be stopped?
We load Captivate 3 SWFs at runtime into our own course player, with movieclip.loadmovie. Our player is built with AS2 and published to Flash 8. We publish our Captivate movies to the same specs. Our latest challenge requires scaling and masking the Captivate SWF.
A click outside the masked Captivate still triggers a click as far as Captivate is concerned, and it throws up a “that’s incorrect” message. Specifically, it only happens when you click in a spot that has masked Captivate “behind” it. In other words, if there would be Captivate there if the mask was turned off, Captivate will respond even when the mask is turned on.
Is there a way to make Captivate ignore mouse clicks outside of the mask? I think it must be responding to Mouse.onMouseDown() since normally a masked object won’t respond to clicks outside the mask.
I’ve put together a small test file to demonstrate exactly what’s happening, and I’ve posted it here: http://www.tbgprod.com/_experiments/captivatemasktest/captivatemasktest.swf
I’ve also uploaded the .fla file. It’s ony 50kb and it’s available here: http://www.tbgprod.com/_experiments/captivatemasktest/MaskTest01.fla
You’ll also need the Captivate .swf file if you want to test locally. Here’s the direct link. Right-click and save target as: http://www.tbgprod.com/_experiments/captivatemasktest/DisplayProperties.swf
My question is "how do I make Captivate ignore clicks outside the mask?"
Many thanks,
Todd S