[flexcoders] Dynamically updating the contents of a ViewStack

2007-06-08 Thread Ian Shafer
Hello, I'm building a Flex application that looks like this (warning, pseudo code): After a user logs in, I'd like the to become . How can I make this happen? PS, I'm also using Cairngorm. Thanks, Ian

[flexcoders] XML to AS3 object

2007-03-13 Thread Ian Shafer
Hello, I'm getting XML from an HTTPService call (and/or a WebService call, I don't think this matters). I want to take this XML and put it into my AS3 objects (ValueObjects using Cairngorm terminology). I'm currently using Darron Schall's ObjectTranslator, which is great but doesn't work for r

[flexcoders] HTML to Flash (Flex) application migration

2007-02-28 Thread Ian Shafer
Hello, I've been tasked with a project to migrate an HTML online store (very basic, add stuff to the cart, manage your profile, checkout) to Flash. I plan to use Flex to make this happen. My experience with Flex is minimal. I am an experienced Java developer. My big question is: How will I in

Re: [flexcoders] Printing a DataGrid using a PrintDataGrid

2007-02-15 Thread Ian Shafer
thePrintView.pageNumber++; > } > } > } > // All pages are queued; remove the FormPrintView > control to free memory. > Application.application.removeChild(thePrintView);

[flexcoders] Handling initialized event with AS3 custom component

2007-02-14 Thread Ian Shafer
Hello, How do I handle an "initialized" event using an AS3 custom component? In MXML it would be like this: My guess is that I can do something like this: package com.example.test { public class Test extends VBox { private function initialize():void { // Do something } }

[flexcoders] Printing a DataGrid using a PrintDataGrid

2007-02-14 Thread Ian Shafer
Hello, I'm using PrintDataGrid to print a DataGrid and everything is working fine except one thing. The size (height) of the PrintDataGrid same one every page. This would be okay if I were just printing the PrintDataGrid, but I have a header on the first page (and footers on subsequent pages).

[flexcoders] HTTPService request parameters - multiple values for the same name

2007-02-01 Thread Ian Shafer
Hello, I'm not 100% sure this is compliant with the HTTP spec (I know the Java servlet libraries handle it, so I'm guessing it is to spec), but I want to pass multiple values for the same name. Example: http://test.com/doit.cgi?country=US&country=AU This doesn't seem to be possible using an Ob

RE: [flexcoders] Re: Flex 2 HTTPService best practices

2007-02-01 Thread Ian Shafer
hat the text-node-to-object rules are? I > suppose I could go look at the source code, but figured I might as > well ask around first. > > Thanks, > Chris > > --- In flexcoders@yahoogroups.com, "Chris Luebcke" <[EMAIL PROTECTED]> > wrote: > > > > Hi Ian,

[flexcoders] Flex 2 HTTPService best practices

2007-01-31 Thread Ian Shafer
Hello, I'm pretty new to Flex and Flash (about two weeks in). I'm an experienced Java developer, so I do have a solid background. I have a number of questions regarding using HTTPService: * Should I be using it? I'm choosing to use HTTPService because I don't want to pay for FDS and it (HTTPServi