• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

On Roll Over and Competing Objects

New Here ,
Mar 28, 2011 Mar 28, 2011

Copy link to clipboard

Copied

       In my project I have the need to fade up a play symbol over a square box. I am using an event listener for this, and am testing for mouse over the square box. The issue is that when the play symbol becomes visible over the square, it in effect means that the mouse is now over another region and starts the onRollOut code.

       How can I test for an object region and not have it affected by what is overlayed above it?

TOPICS
ActionScript

Views

427

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 28, 2011 Mar 28, 2011

Copy link to clipboard

Copied

playButton.mouseEnabled = false;

Should work

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 29, 2011 Mar 29, 2011

Copy link to clipboard

Copied

LATEST

playButton.mouseEnabled = false;

playButton.mouseChildren = false;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines