You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.
I can't transform a movieClip AND play a movieClip at same time. What can I do? How can I play a movieClip AFTER the command "comp.stop()"? Is "comp.stop()" a global command and prevent the playing of nested movieClips?
function handle_AJAX_Complete() {
if (AJAX_req.readyState == 4 && AJAX_req.status == 200) {
json = JSON.parse(AJAX_req.responseText);
comp = new SVGAnim(
json,
width,
height,
fps
);
comp.stop();
var myMovieClip1 = comp.mc.mc_Test1;
var myMovieClip2 = comp.mc.mc_Test2;
myMovieClip1.play(); // this doesn't work
myMovieClip2.el.transform("t" + [0, 100]); // This work
comp.play();
myMovieClip1.play(); // this work
myMovieClip2.el.transform("t" + [0, 100]); // This doesn't work
}
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can't transform a movieClip AND play a movieClip at same time. What can I do? How can I play a movieClip AFTER the command "comp.stop()"? Is "comp.stop()" a global command and prevent the playing of nested movieClips?
The text was updated successfully, but these errors were encountered: