[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): Application VBox ApplicationControlBar ToggleButtonBar dataProvider=x/ /ApplicationControlBar ViewStack id=x v:Products v:Login /ViewStack /Application After

[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

[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

Re: [flexcoders] Printing a DataGrid using a PrintDataGrid

2007-02-15 Thread Ian Shafer
. printJob.send(); } Best On 2/14/07, *Ian Shafer* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 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

[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

[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: mx:VBox initialize=myHandler mx:Script![CDATA[ private function myHandler():void { // Do something } ]]/mx:Script /mx:VBox My guess is that I can do

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

2007-02-01 Thread Ian Shafer
] wrote: Hi Ian, I'm using XML over HTTPService in my current app and may be able to help with some of this. Responses inline below. --- In flexcoders@yahoogroups.com, Ian Shafer ian@ wrote: ...regarding using HTTPService: * Should I be using it? I'm choosing to use HTTPService

[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=UScountry=AU This doesn't seem to be possible using an

[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