flash - Dealing with a transparent png file symbol -


in project, there frame(png files) placed on top of symbols. after that, apply mouse click event symbols place underneath frame symbol, when run the game, cannot click below symbols frame symbol, although frame transparent.

the problem is, although png picture has transparent area, mouse click cannot pass through it. there solution? there anyway can disable symbol being clicked , mouse click event can recognize symbol placed under it? me? thx lot ^0^

you may put png in movieclip, give name (myframe), , write:

myframe.mouseenabled = false; myframe.mousechildren = false; 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -