clicking on avatar with transparency
Posted: 15 Apr 2009, 21:20
We have an avatar movie clip, AvatarMovieClip, which implements the IAvatarMovieClip interface. The avatar is composed of png images, which have transparency.
I would like it so that the clicks on the transparent part did not register with the avatar, but instead got passed through to the openspace background.
I have added bits of debugging code to my AvatarMovieClip class to try to see where the clicks are being caught. It appears that the clicks are not registering anywhere within the class, so I am thinking openspace is taking the clicks and then not passing them through to the movieclip.
I dont really mind that openspace captures the clicks, but it is a problem that it registers the click with the avatar, and not with the background, when I click on the transparent region.
Do you have any suggestions for how to deal with this?
Thanks,
Daniel
I would like it so that the clicks on the transparent part did not register with the avatar, but instead got passed through to the openspace background.
I have added bits of debugging code to my AvatarMovieClip class to try to see where the clicks are being caught. It appears that the clicks are not registering anywhere within the class, so I am thinking openspace is taking the clicks and then not passing them through to the movieclip.
I dont really mind that openspace captures the clicks, but it is a problem that it registers the click with the avatar, and not with the background, when I click on the transparent region.
Do you have any suggestions for how to deal with this?
Thanks,
Daniel