1 person found this helpful
you can designate any sprite to be the hit area for you text by using its hitArea property.
Are you suggesting to create another object that will detect the MOUSE_OVER event, then signaling the function associated with the line?
I could do this but since there are 43 trails (lines) I am worried this will take alot of code and polygon creation.
do you have 43 different links/listener functions?
if there's only one, use one sprite for the hitArea
I created my listeners with a loop that referenced the 43 trails in a XML.
//create listeners for all biketrails mc's and designate functions
var mc:MovieClip = MovieClip(allview.allthings.bktrls.getChildByName(bktrlXml.row[i].idlink));
mc.ivar = i;
I am not very familiar with a sprite. I understand the concept if you are suggesting to create an individual sprite for each MC which detects the mouse event. Is this what you're suggesting?
thanks in advance,