Archives for March 2009

target: ROLL_OVER vs. MOUSE_OVER

This is what happend: In a big MovieClip container I put some child MovieClips. I wanted to make just one line for the whole container accesing the child movieclips. But this code didn’t work:
cont_mc.addEventListener(MouseEvent.ROLL_OVER, over);

function over(e:Event):void
{
    trace(e.target.name);
}

// trace
cont_mc
I had to change the MouseEvent.ROLL_OVER to MOUSE_OVER, and then it worked:
cont_mc.addEventListener(MouseEvent.MOUSE_OVER, over);

function over(e:Event):void
{
trace(e.target.name);
}

// trace
child1_mc
Don’t ask me [...]

FlexBuilder and Eclipse Galileo on Ubuntu (Working!)

I just finished installing FlexBuilderAlpha4 on Eclipse 3.5. It is working like a charm.
Here are the instructions I followed: http://blog.danyul.id.au/?p=68&cpage=1#comment-88
Christian