Learning Flex 3 (Alaric Cole)

Getting Up to Speed with Rich Internet Applications (RIAs)

Chapter 13 Examples

Here are the example applications for Chapter 13: Applying Behaviors, Filters, and Transitions.

4 comments

4 Comments so far

  1. Scott Gardner August 28th, 2008 4:36 pm

    I added the Resize effect to the ContactViewer. When I click Edit in the base state (details), the resize effect doesn’t work. But when I click Save in the edit state, the resize effect does work. I also tried adding the resize effect to each state in the component. Same results.

  2. Alaric August 28th, 2008 4:39 pm

    Ensure that you’re adding the effect to the instance in its base state.

  3. Scott Gardner August 28th, 2008 4:44 pm

    When I tried adding the Resize effect directly in the component, I did make sure I added it to the base state (and of course it then also was entered for the edit state automatically). But, as directed in the book, I first had just added the resize effect to the ContactViewer component embedded in the ContactManager app.

    I also noticed in the source code a commented-out block containing transition and sequence tags. Were you also experiencing this resizing issue and were trying a different approach here?

  4. Scott Gardner August 30th, 2008 6:21 am

    I discovered that my problem was an errant SetProperty name=”height” entry with no value property. I think I had set and then removed the height value in Design mode. Once I removed this tag, the resizing worked fine both ways.

Leave a reply