i've played around with the scripts on both a gmap and a level, on the level, the script worked fine, on the gmap, it didn't.
so, i'm guessing it's the x/y that needs to be compared to the x/y on the map.
i've heard of "getmapx/y()" but i've never used it, i suggest you play around with it

(between, u can use this.alpha to change the trans instead of setColorEffect() )
EDIT:
switch found out how to fix it, by setting the shape to the width and height of the img (i think).