OK this is definitely an odd solution, but it seems if I set a background
color to my container (just a white one) the mouse functionality suddenly
works.  Bit of a hack I guess, but I'll take it.

On Fri, Oct 9, 2009 at 1:34 AM, James Lynn <[email protected]> wrote:

> MouseOver has the same problem and it also has the disadvantage of firing
> EVERY time a different child node is moused over, not the functionality I
> want.
>
>
> On Fri, Oct 9, 2009 at 12:02 AM, Darin Kohles <[email protected]> wrote:
>
>> My guess is that your event choice - roll over - is only fired by items
>> that expect input/interaction. I you just want the HBox to say change color
>> or something - then use mouse over.
>>
>>
>> On Thu, Oct 8, 2009 at 11:34 PM, James Lynn <[email protected]>wrote:
>>
>>> Hey this is an issue I that didn't seem to exist before I imported a
>>> project from Flex Builder 3 into the new Flash Builder 4 Beta (even though I
>>> believe they're both running the same Flex 4 SDK).
>>>
>>> Suddenly I'm having problems getting MouseEvents to trigger over
>>> containers.  I've got code similar to this:
>>>
>>> <mx:Box width="80" height="80" rollOver="onRollOver(event)"
>>> rollOut="onRollOut(event)">
>>>        <mx:Text text="Blah"/>
>>>        <mx:Text text="Blah/>
>>>        <mx:Image source="{imageUrl}"/>
>>>  </mx:Box>
>>>
>>> Those Roll Over Events are triggering whenever I roll over or out of any
>>> of the child components, but not when I roll over any of the blank space in
>>> the rest of the container.  So what should I do if I want I want an event to
>>> fire when I roll over the 80x80 container itself and not just its children?
>>>
>>> Perhaps this has always been an issue and I just noticed it, but I don't
>>> think so.  Any ideas?
>>>
>>> -James Lynn
>>
>>
>>
>>
>> --
>> Darin Kohles
>> RIA Developer
>>
>
>

Reply via email to