Answered
Hit test / collision detection and AS
Hi there,
I am trying to figure a way to run a hit-test to an object on the stage. The object is appearing via actionscript (Block)
and the object that hits it is Player.
This will work once I put the Block on the stage not manually, and not via actionscript, but I want to use code to call the block because i am calling several blocks.
See attached code...
Could anyone please tell me what am I doing wrong?!
is it not possible this way?
Thanks!
I am trying to figure a way to run a hit-test to an object on the stage. The object is appearing via actionscript (Block)
and the object that hits it is Player.
This will work once I put the Block on the stage not manually, and not via actionscript, but I want to use code to call the block because i am calling several blocks.
See attached code...
Could anyone please tell me what am I doing wrong?!
is it not possible this way?
Thanks!
