flashy Q

Out of context: Reply #7

  • Started
  • Last post
  • 15 Responses
  • ganon0

    ok thanks unfit, i got the for loop to pull out the 17 instances of the MC "circle" and add a number to their instance names...i have spaced them out in the MC "largeLine", which moves on _xmouse...now i am stuck trying to pull up the corresponding MCs...i have 17 different MCs titled "textField0..16."...i need these to appear when the corresponding circle number falls in the center range...thoughts?..:

    for(i=0; i_this.totalYears; i++) {
    this.largeLine.attachMovie("circ... "newcircle"+i, i);
    this.largeLine["newcircle"+i]._a... = 50;
    this.largeLine["newcircle"+i]._x = this.leftYears + (this.mySpace * i);
    this.largeLine["newcircle"+i].on... = function(){
    if(this._x "greater" 20 && this._x "less" -20) {
    trace("center");
    this._parent._parent["textField" + i]._visible = true;
    } else {
    trace("no center");
    _this._parent._parent["textField... + i]._visible = false; }
    }
    }

View thread