I’ve made a custom class as a test, but when I instantiate it, it causes all the components in my movie to disappear.
Here is the class:
and when I instantiate it
var newStyle:Style = new Style(1);
It causes the components to disappear. Any idea of what could be causing this?