[flexcoders] Re: Caching issue in HTTPService

2007-06-07 Thread powertool786
Hi Brent, --- brent_trx [EMAIL PROTECTED] wrote: I've written a CachedHTTPService which extends mx.rpc.http.mxml.HTTPService to implement a caching mechanism, if you ever wanted to force custom-caching of data. It behaves exactly like the standard HTTPService in declaration and all that,

[flexcoders] Re: mxmlc can't find embed source in different -source-path. Bug?

2007-06-06 Thread powertool786
Without looking at any documentation, I'd guess that the '/' at the start of myasset's path specifies an absolute url (not relative to current folder or search paths), and as such is being looked for at the root. --- seriousbraincancer [EMAIL PROTECTED] wrote: Here's an example. If I put my

[flexcoders] Re: Flex Reflection

2007-06-05 Thread powertool786
For ECMAScript in general (Javascript and ActionScript) you'd use a for..in loop to iterate over the properties (including methods) of an Object. ActionScript changes for..in to only work over the dynamic properties of an Object instance. The docs say: To get a list of fixed properties, use

[flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread powertool786
How much like a spreadsheet do you want it to be? If you just want every cell to be editable, does setting the 'editable' attribute on the DataGridColumn to 'true' not do the trick for you? If you wish to implement formulas and automatic 'trickle-on' updating of cells references in formulas

[flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread powertool786
Wow, that post looks quite unreadable. Does this forum allow any code of literal (or fixed width) formating ? -David

[flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread powertool786
I think you just need to set editable to true on the DataGrid and on the DataGridColumn's. --- In flexcoders@yahoogroups.com, Mark Ingram [EMAIL PROTECTED] wrote: Hi, thanks for the response. I meant like a spreadsheet as in I can type into any cell I like. If you just imagine I have a data

[flexcoders] Re: Make datagrid into spreadsheet

2007-06-05 Thread powertool786
Well, if you think about it, that makes sense. Where is the empty row when the rows overflow the height of the DataGrid container? Either add and maintain a pseudo item in the dataProvider (which appends a new Object when edited), or add some button/widget near your DataGrid which appends an

[flexcoders] Re: Actionscript SAX Parser ?

2007-06-01 Thread powertool786
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I'd be interested to know what your use case is that requires a SAX parser. In my application, I had two list/search forms which: * query billing-related events (fairly static) * query/rank/prioritise tickets in a

[flexcoders] Re: Actionscript SAX Parser ?

2007-05-31 Thread powertool786
The XML4JS SAX Parser seems to be written pretty reasonably... I think I'll have a go at automatically porting it to AS3.0 with a Perl script. If it works at all, I'll continue by doing some profiling, then fill out the API a little. I don't need much working for my purposes. -David --- In

[flexcoders] Re: Socket Connection to Port 80 on Serving Host

2007-05-31 Thread powertool786
Why do I need to implement an XMLSocket server, to open a Socket to a service on my server that isn't an XMLSocket service? Why can't it get the information it needs from an HTTP resource? It would seem that the Flash designers/implementors thought that perhaps the ubiquity of the Flash

[flexcoders] Actionscript SAX Parser ?

2007-05-28 Thread powertool786
Hi Flex Folks, Is there a purpose-built incremental SAX Parser component available for ActionScript? Some background (please excuse the novella): In a Flex project I shipped about 4 months ago, I needed to accommodate a web-service that can sometimes return a large amount of data. I saw that

[flexcoders] Anyone doing the XULRunner + Flex thang ?

2007-05-28 Thread powertool786
Hi Folks, I have some experience deploying XULrunner applications (standalone not .xulapp type). I've found XULrunner to be preferable to Apollo (as it stands) for various kinds of non-Flash interaction with the host system and the user. I noticed some interest in a SWFRunner project at

[flexcoders] Re: Actionscript SAX Parser ?

2007-05-28 Thread powertool786
Nobody on this high-volume list wants/needs a SAX parser? Thats just crazy. I'm going back to .NET ;)

[flexcoders] Remove a state from a component at run-time ?

2007-02-01 Thread powertool786
I've written a small view-switching component that is based on mx:Canvas: CanvasSwitcher. It's set up so that if a child UIComponent is added to it at runtime (eg: via mx:AddChild in an mx:State), a new mx:State is automatically added to the CanvasSwitcher instance. The added state is also