Hi
I am using a for loop to create text to use as buttons. Which works fine. The problem is when I rollover them it is not calling the correct ID. I had a work around for it in AS2.
var name:String = "titleButton"+i;
_level3["titleButton"+i].ID = i;
//ROLLOVER FUNCTION FOR SECOND NAVIGATION
_level3[name].onRollOver = function() {
I am trying to trace out the correct ID in AS3
var name:String = "issueNumber_tf"+i;
var ID:int = i;
issueNumber_tf.addEventListener(MouseEvent.MOUSE_OVER, listenerFunction);
function listenerFunction(evt:MouseEvent):void {
trace("PLEASE CHANGE "+this.ID);
But I am getting different errors and need a little guidance.
Please any suggestions would be helpful
Thanks
Tara