hi i have a timer function that creates 2 types of objects every 2 seconds and ads them to the stage.
Next, i also have another function that has two argumets and both are objects.
I also have onEnterFrame function which is supposed to call the hitTest function to check for a hit.
The problem that i can’t seem to resolve is how do i reference the two objects in the hitTest function. Since the objects are created in another function thus not global i can’t just use their original names…
any input is appreciated, ty