Hi.
If I want to send an object to a function with one child called foo equals "bar", i need to do the following:
var obj:Object = new Object();
obj.foo="bar";
myfunction(obj);
is there a way to declare the object in the function itself ? something like that:
myfunction(new Object{foo:"bar"});
thank you!
using flash-as3.