I am trying to create a custom data tip for a pie chart that is an imported swf.
Basically I have the pie wedge move the swf on rollOver.
The problem is that swf is on a higher depth than the pie chart it is not getting the rollOut call when the mouse rolls out of the wedge.
Can anyone tell me if there is a way to disable the hitArea of the swf?
try setting mouseEnabled = false (eg: mySwf.mouseEnabled = false; )
That only seems to affect the mouse cursor.
I actually found a work around by setting the visibility of the swf to false on rollout of the pie wedge.
I was mistaken when I thought the pie wedge was not getting it's rollOut call while the swf was visible.
However any pie wedges that are hidden by the swf do not get their rollOver call, so it necessitates turning the visibility off.
The same effect is achieved by setting the swf alpha to 0.
Figured it out thanks to ickydime.
Basically it involves setting mouseChildren = false for the SWFLoader.
For a more detailed explanation go here.