blah-de-blah
August 12th, 2003, 11:12 PM
So i'm trying to figure out how to drop a dragged object onto any box, but no where else. So i tried using this:
targArray = new Array();
targArray = [theTarget1, theTarget2, theTarget3, theTarget4, theTarget5, theTarget6, theTarget7, theTarget8, theTarget9];
theTarget1 and stuff are all instance names of the box. Then later on, i use:
if (eval(this._droptarget) == targArray) {
So doesn't that mean if i drop the target anywhere on the instances then do whatever is next??
The bad thing is, it doesn't seem to be working :-\ Anyone know whY? thanks! I'm helping someone out for this problem, but i got stuck myself :P
targArray = new Array();
targArray = [theTarget1, theTarget2, theTarget3, theTarget4, theTarget5, theTarget6, theTarget7, theTarget8, theTarget9];
theTarget1 and stuff are all instance names of the box. Then later on, i use:
if (eval(this._droptarget) == targArray) {
So doesn't that mean if i drop the target anywhere on the instances then do whatever is next??
The bad thing is, it doesn't seem to be working :-\ Anyone know whY? thanks! I'm helping someone out for this problem, but i got stuck myself :P