Seona, On Mon, May 4, 2009 at 7:03 PM, Seona Bellamy <[email protected]> wrote:
> Aha! I had obviously missed the bit about the "new User()" when I was > trying to adapt the example code. > Well, it kinda depends on what you're trying to do. In your example, you're trying to set an attribute on a User object -- the id -- so you have to create an instance of it first. If your code returns a User object from CF, then you could simply have something like: thisUser = ret; If "ret" represents the User object that CF sent, the process would create the instance. One more tip: none of this has anything to do with Mate. It's standard Flex/CF stuff. Since you're relatively new to both Flex and Mate, you might want to work through a few more examples without using Mate, so you'll be more easily able to separate issues you run into. Also, once you're more comfortable and starti working more in Mate, the folks at ASFusion have their own forums. And that's certainly the best place to go for Mate-specific advice. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560

