开发者

TLF text is preventing onMouseOver event

开发者 https://www.devze.com 2023-03-18 23:02 出处:网络
Basically I have some TLF text as a symbol, it\'s read only, the font is embedded and I set mouseEnabled to false. It\'s sitting as a graphic, on top of a button. When I mouse over the text, or the ar

Basically I have some TLF text as a symbol, it's read only, the font is embedded and I set mouseEnabled to false. It's sitting as a graphic, on top of a button. When I mouse over the text, or the area where the text would be, it prevents 开发者_高级运维the button from receiving the on mouse over event. Using classic, dynamic text, this route normally works just fine. Any ideas what could be causing the problem?


Hard to debug without the .fla but see whether maybe mouseChildren=false will work in addition to mouseEnabled=false if the TLF text is inside a movieclip or similar... if it doesn't, it could be a bug...

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html#mouseChildren

http://ted.onflash.org/2008/12/mousechildrenfalse.php

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号