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
clicking on avatar with transparency
Check this post.
It refers to skins with transparencies, but with avatars it is exactly the same.
It refers to skins with transparencies, but with avatars it is exactly the same.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
-
josuedavid
- Posts: 7
- Joined: 24 Sep 2008, 11:58
change png bounding box at runtime
hello Bax, I need to do the same that morgflast wants to do, but I need to do it at runtime because all the images are loading externally.
I have tried with dynamic masking and others tricks like the famous Moses Gunesch's InteractivePNG but nothing seems to work
.
you have any suggestion to my trouble??, thanks in advance...
I have tried with dynamic masking and others tricks like the famous Moses Gunesch's InteractivePNG but nothing seems to work
you have any suggestion to my trouble??, thanks in advance...