Hi
I have made a behaviour where I am parsing an object as a variable.
This object has many instance variables that I need to read in my script
I tried to read the instance variables as if they were x,y,opacity variables ...etc, but it is not working.
This is what I am trying:
Acts.prototype.MyFunction= function (object_){
var inst_only = object_.getCurrentSol().getObjects();
inst_only = inst_only[0];
console.log(inst_only.x); // it is working, I can see my x position in console
console.log(inst_only.MyInstanceVariable); //NOT working, giving me undefined.
...[/code:28unziqc]
I am stuck with my project at this stage, your help is highly appreciated.
thanks