I’m making a menu with rollovers.
So when I go over a coloured part, it’s getting larger and soms subitems appear. Those subitems must be clickable, but when I use an onRelease, my coloured part is getting smaller again.
this is my code so far:
for(var i=0;i<aantalSubItems;i++)
{
subItem_mc = blokje_mc.createEmptyMovieClip("subItemMC"+i,blokje_mc.getNextHighestDepth());
subItem_mc.createTekstVeld(subItems*.attributes["text"],"tekst",stijl);
subItem_mc._y = i*12+15;
subItem_mc.onMouseMove=function()
{
if(this.hitTest(myObject.$root._xmouse,myObject.$root._ymouse,false))
{
trace(this);
}
}
}
I’m first using a rollover and then a hitTest, should I switch??
Or does anybody have a solution??
grtz