Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5 Canvas on Adobe Animate CC: Tweening any object to 0 causes all objects with mouse events to not respond anymore #94

Open
jpgmx84 opened this issue Mar 8, 2017 · 1 comment
Labels

Comments

@jpgmx84
Copy link

jpgmx84 commented Mar 8, 2017

I reported this as a bug to Adobe. Someone at the Adobe Community suggested to submit an issue here as well. Here's the bug report:

  1. Download and open the file in Adobe Animate CC.
    buttons.zip.
  2. Select the first frame in the "as" layer in the Timeline and open the Actions panel (Window > Actions).
  3. Go to code line 59 (it is a CreateJS Tween). Change the scaleX, scaleY and alpha values to 0, instead of 0.01.
  4. Test the project (Control > Test).
  5. Click on an image. A "window" opens with some info.
  6. Click on the orange circle with an "x" at the top right corner of the canvas.
  7. Move the cursor over an image and click.

Results: The images don't respond to mouse events anymore.
Expected results: The images should respond to the mouse when over, out and when clicked.

@jpgmx84
Copy link
Author

jpgmx84 commented Mar 8, 2017

Thought it might be useful to include the Adobe Community Forum thread: https://forums.adobe.com/message/9379800#9379800.

The original code had some issues with gotoAndStop(), and a user reports that removing masks from the images makes tweening to 0 work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants