coordinates for a point vector inside an object vector.
private var tileVector:Vector.<Object>;
private var visitedVector:Vector.<Point>;
Hi - I'm trying to make my cloudExplosion mc appear at the same position as a tile/actor mc clicked. That actor mc is inside a point vector and those point vectors are inside an Object vector.
cloudExplosion.x = tileVector[visitedVector.x][visitedVector.y]
I trace this out and I get [object Object] - I am trying to get the coordinates not the object itself.
I tried tracing the vector point and I got the coordinates BUT an error too - couldn't find the property (x=5, y=2),(x=4, y=3),(x=5, y=4) in vec.Vector.<Object>
trace(tileVector[visitedVector]);
Well, I want those vector coordinates so my animation mc can appear in all the places where the tiles/actors are clicked.