Hi
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:
//Style.as
class Style
{
var id:Number
function Style(id:Number)
{
this.id=id;
}
}
and when I instantiate it
//styletest.fla
var newStyle:Style = new Style(1);
It causes the components to disappear. Any idea of what could be causing this?