Andrew Trice, co-author of Flex 2 articles on Adobe's Developer Center,
maintains a blog at http://www.cynergysystems.com/blogs/page/andrewtrice in
which he helps orient newbies and experts alike about Flex. Web Developer's &
Designer's Journal is pleased here to bring a sampler of some of his more
recent shared insights.
Getters and Setters vs. Public Properties in Flex
I've been asked several times, why would you use get/set functions instead of
public variables in your Flex components and classes? Well, there are some
great things you can do with getters and setters that you can't do with
public variables. On the other hand, there are cases where public variables
work better. When using these functions and/or public variables, the code for
the caller will be the same:... (more)
Several months ago I posted some articles on my blog about Flex 2 components
and accessing/modifying their BitmapData. In one example, I sent the
BitmapData to the server and saved it as a JPG file, and I've been asked
numerous times since... "How did you do that?" It's surprisingly easy to do
once you understand the concepts involved. There are four ways to get binary
data from the Flex... (more)
Several months ago I posted some articles on my blog about Flex 2 components
and accessing/modifying their BitmapData. In one example, I sent the
BitmapData to the server and saved it as a JPG file, and I've been asked
numerous times since...
"How did you do that?" It's surprisingly easy to do once you understand the
concepts involved. There are four ways to get binary data from the Flex ... (more)