what i want to happen is this… i have a number of bases at which i can land. when i do land at one it becomes the active base and a dock button comes up. when clicked on a screen exclusive to the active base comes up, values are changed by the player, and then the player may launch.
what goes on now… i have three bases so far…the ship can land. if the ship is close enough the near by base becomes active and the the dock button appears. if the dock button is clicked the alpha of the active base is decreased by .25.
so it’s working…
when the mining bases are added to the display(in the playScreen class) they are added as miningBase1,miningBase2,…etc
when the dock button is clicked i need to have a the instance name ie miningBase1 passed into my screenHandler
here is the problem…how can i get a hold of that instance name? now i’m tracing
view428 ACTIVEbASE IS [object MiningBase]
from this line of code
trace("view424 ACTIVEbASE IS " + activeBase);
flash can tell the difference between the bases because the alpha will go down on the active base…how is this happening??? is there a little man in my computer???if so how can we meet and should i bring a present???