views:

101

answers:

0

Hello.

I'm loading a flash file as a sub application to my main flex application.

The Flex application's stage is bigger then the flash i'm loading into it. The flash application starts at top=300 and left=300 in the main flex application.

the flash file uses hitTest(_root.mouse._x,_root.mouse._y,true) to find out if the mouse cursor collides with some objects. because the flash application is a sub application and the stage changes, the hitTest fails to return proper results.

I know the exact X and Y parameters (300,300) that i need to add to the current mouse parameters in order for the application to work properly. is there a way for me to override the hitTest function for every object in the application ?

thanks!!