M
MarceloP
Guest
Hello,
Seems that the function layer_instance_get_instance is not defined neither for the HTML5 export, Test and Debug.
I've created a simple example with nothing except a call of this function and I get the same error. How come this function does not exist in HTML5? Should I file a bug report? Will I be answered (since my last 2 were ignored until now, 3 months after I submit them)?
My Code:
Code:
type = layer_get_element_type(elements[i]);
switch(type){
case layerelementtype_instance: //Element is an Object
var instanceId = layer_instance_get_instance(elements[i]);
if(instanceId != -1){
instanceId.image_alpha = image_alpha;
}
break;
//... other types
}