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

mouse up on stage and buttons AS2

New Here ,
Jun 06, 2014 Jun 06, 2014

I have a presentation that uses the following to play timeline when mouse is clicked (anywhere on screen)

onMouseUp = function ()

{

play();

        onMouseUp = null(); //cancels function after click

}

However i have added a YouTube video and a "click here to play" video button but when i click it runs the MouseUp function and continues the presentation and doesn't play the video pop up.

How can i tell flash that if i click the button not to perform the standard onMouseUp function ???? while still keeping that function available for the user to continue the presentation?

Thanks

TOPICS
ActionScript
312
Translate
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
Community Expert ,
Jun 06, 2014 Jun 06, 2014
LATEST

use a hittest.

Translate
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