Skip to main content

Flex 4 Fun: Available in PrePrint

Chet's handy AcrtionScript algorithm for writing a programming book:


public function writeBook():FinishedManuscript
{
var manuscript = new FinishedManuscript();
writeDemos(manuscript);
writeText(manuscript);
while (true)
{
edit(manuscript);
revise(manuscript);
}
// TODO: Next line never executes
return manuscript;
}

Finally, after months of writing, editing, revising, coding, explaining, revising, deliberating, cogitating, revising, formatting, reformatting, revising, snapshotting, describing, captioning, revising, and dying a little inside, my book Flex 4 Fun is finished. Almost. It just needs a little more editing and revising.


The book is content complete: all of the chapters are done, all of the demo applications compile and run, all of the text is correct as far as I know, and there are no known typos.The book could still benefit from one more review cycle, but rather than wait for that plus the printing delay until it would actually be available on bookshelves (usually 2-3 months after a book is completely complete), I wanted to push out this early version close to last month's Flex 4 release.


Flex 4 Fun is different than other Flex, or Flex 4, books I've seen; it focuses on the graphics and animation side of the SDK. I figured that's what I like to play with on Flex, it's what I know best about the platform, and it deserved a book that went deeper into these topics than the other Flex books. Sure, an overview book is good to have. Yes, you should understand how to connect Flex to a back end. Alright, you probably want to understand how to architect large Flex applications. But when you get around to creating better user experiences for that Flex client, you'll want to know more about graphics, states, skinning, and animation. And hopefully this book and its 65+ examples can help teach you how that stuff works.


Here's the books Contents page:


1. Introduction 13

2. Graphics 18

3. Filters: Easy Image Processing 60

4. States 96

5. Transitions 105

6. Skinning Components 119

7. Animation 138

8. The Animation Class 152

9. Flex Effects: The Basics 184

10. Effect Choreography 209

11. Advanced Flex Effects 230

12. Go Have Fun 258

The book is available in PrePrint form on artima.com. Go check it out and have some fun!

Comments

Popular posts from this blog

Austerity-A Fancy Word for Destitute.

The reason for this post is not for the folks who have been caught in the first wave of personal economic hard reality, but the next wave. Regardless of the optimism espoused by grinning leaders and sycophant press, we are entering the final stage of global economic collapse. It began in 2008 and was forestalled for five years with fudge putty, but the weight of global indebtedness cannot be propped any longer and the final crunch is imminent. Austerity measures herald the final throes.  Indications of coming austerity.   Austerity measures are the final last ditch effort, futile or not! Back in the day many of us old-timers went through periods of "hard-times". In retrospect I realize there is no comparison to yesteryear hard times and today's version. Back then, expectations were never very high for the working class, there were no sophisticated systems or conveniences anyway. In fact the difference between being "set" or not was about having treats or not. Si...

Terrifying Arctic methane levels

A peak methane level of 3026 ppb was recorded by the MetOp-B satellite at 469 mb on December 11, 2021 am. This follows a peak methane level of  3644 ppb  recorded by the MetOp-B satellite at 367 mb on November 21, 2021, pm. A peak methane level of 2716 ppb was recorded by the MetOp-B satellite at 586 mb on December 11, 2021, pm, as above image shows. This image is possibly even more terrifying than the image at the top, as above image shows that at 586 mb, i.e. much closer to sea level, almost all methane shows up over sea, rather than over land, supporting the possibility of large methane eruptions from the seafloor, especially in the Arctic.  Also, the image was recorded later than the image at the top with the 3026 ppb peak, indicating that even more methane may be on the way. This appears to be confirmed by the Copernicus forecast for December 12, 2021, 03 UTC, as illustrated by the image below, which shows methane at 500 hPa (equivalent to 500 mb). Furthermore, ...

Women and children overboard

It's the  Catch-22  of clinical trials: to protect pregnant women and children from the risks of untested drugs....we don't test drugs adequately for them. In the last few decades , we've been more concerned about the harms of research than of inadequately tested treatments for everyone, in fact. But for "vulnerable populations,"  like pregnant women and children, the default was to exclude them. And just in case any women might be, or might become, pregnant, it was often easier just to exclude us all from trials. It got so bad, that by the late 1990s, the FDA realized regulations and more for pregnant women - and women generally - had to change. The NIH (National Institutes of Health) took action too. And so few drugs had enough safety and efficacy information for children that, even in official circles, children were being called "therapeutic orphans."  Action began on that, too. There is still a long way to go. But this month there was a sign that ...