Skip to main content
Known Participant
August 23, 2022
Answered

Movieclip not working when adding camera layer

  • August 23, 2022
  • 1 reply
  • 1086 views

I am creating simple animation in HTML5 Canvas. I have placed a simple classic tween animation and placed a STOP script after 50 frames. there is a button at the end to replay the animation. I have placed a movie clip over button to keep it playing until replay button is clicked. It works perfectly fine. 

As soon as I add CAMERA LAYER and publish it again, Movie clip at the end stops working. Once I remove the Camera layer, it starts working again.

What would be the issue?

This topic has been closed for replies.
Correct answer kglad

I have attached 2 videos to make it easy for you. 

  1. In file "Without Camera Layer", you can see that movieclip keeps playing at the end.
  2. In file "With Camera Layer", you can see that movieclip becomes static at the end.

 

In both files, difference is just the camera layer. Everything else is same


report the problem here, https://www.adobe.com/products/wishform.html

 

though the issue should be simplified:

 

create a multiframe movieclip and put on the main timeline at any frame other than frame 0.

add a this.stop() to the main timeline after the movieclip is instantiated

test

 

movieclip continues to play even after main timeline stops play, as expected.

 

add a camera layer

test

movieclip returns to frame 0 and stops when main timeline stops.

1 reply

kglad
Community Expert
Community Expert
August 24, 2022

what does this " I have placed a movie clip over button to keep it playing until replay button is clicked." mean?

 

does it mean you added a movieclip to the over state of your replay button?

Known Participant
August 24, 2022

no no ... I placed a hand movieclip above the layer of the button on the main scene, which indicates to click on the button. but that movie clip stays static and does not play when I add camera layer. Once I remove camera layer, it works perfectly fine.

Known Participant
September 1, 2022

report the problem here, https://www.adobe.com/products/wishform.html

 

though the issue should be simplified:

 

create a multiframe movieclip and put on the main timeline at any frame other than frame 0.

add a this.stop() to the main timeline after the movieclip is instantiated

test

 

movieclip continues to play even after main timeline stops play, as expected.

 

add a camera layer

test

movieclip returns to frame 0 and stops when main timeline stops.


Reported. Thanks.