Flex Developers: Get 'with' it!
I just re-discovered a little-used statement in Flex that can save a lot of typing.
Let's say I've got a block of code which sets a bunch of values into my value Object:
customerVO.lastname = 'Flintstone';
customerVO.city = 'Bedrock';
customerVO.dog = 'Dino';
I can write the same code like this:
firstname = 'Fred';
lastname = 'Flintstone';
city = 'Bedrock';
dog = 'Dino';
}
You can use the with statement to say: 'Everything inside this block refers to the object I specified in the parentheses'. You can access both properties and methods of the defined object.
Cool, eh?

Really nice tips!
will try to keep it in my mind
thanks!