Hi all,
I initialize the “point” object like:
point = {x:‘209’, y:‘270’};
trace(point.x);
this is working fine,
But I have to initialize the “point” object with a string variable which holds the initialization properties like:
str = “{x:‘209’, y:‘270’}”;
point = {}
point = str;
I know this is not working.
Is there any method to initialize the object with a string variable which holds the initialization properties (without parsing the text) ? Thanks…