Search code examples
flashrolloverflash-cs5tlf

TLF text is preventing onMouseOver event


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?


Solution

  • 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