Thanks Amy. it works!!!

 

dennis

...we are what we are doing...  P Think! before you print. 

 


Try:

private function getXY(x:int, y:int):Object {
return {x:10, y:20);
}

private function test():void {
var obj:Object = getXY(0, 0);
trace('x: ' + obj.x + ' y: ' + obj.y);
]

HTH;

Amy





__________ NOD32 4563 (20091101) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

Reply via email to