hey guys well i have this empty array setup on the main timelime.
var dialedsymbols:Array = new Array();
and i have a movie clip called jj_mc and i have the following onclipevent code added to that movie clip
onClipEvent (keyDown) {
if ( Key.getAscii() == 47 && this._alpha == 100 && _global.Isjj == 0 ){
this.gotoAndPlay("_engaging")
}
}
and finally i have this code which im useing cause want it too add the element jj_mc to the empty array.
_root.dialedsymbols.push(“jj_mc”)
============================
What i want that stuff to do
Ok well the _root.dialedsymbols.push(“jj_mc”) code works perfect if its put in an onEnterframe event in the main timlime where the array is but its not where im wanting it to go and if its on that enterframe even it adds it multiple times which again is not what im after but what im wanting is to add is to this code onClipEvent (keyDown) {
if ( Key.getAscii() == 47 && this._alpha == 100 && _global.Isjj == 0 ){
this.gotoAndPlay("_engaging")
}
}
that is the onclipevent attatched to the jj_mc movieclip. and ive tried _root, and just normally and ive tried this. and nothing works. can ne one suggest nething for me to try.
thanks cause ive been trying for sometime to figure this out.