[flexcoders] DataGrid CheckBox Renderer

2008-05-29 Thread David C. Moody
OK I'm having some trouble with a datagrid checkbox renderer. I have the renderer workign properly. It updates the dataprovider and updates the actual datasource. My problem is if I want to disable the checkbox, how can I do that? Here is my flex code: mx:DataGrid y=309 height=200

[flexcoders] Re: DataGrid CheckBox Renderer

2008-05-29 Thread David C. Moody
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David C. Moody Sent: Thursday, May 29, 2008 10:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid CheckBox Renderer OK I'm having some trouble with a datagrid checkbox renderer. I have

[flexcoders] Re: Add New Item to Datagrid

2008-05-23 Thread David C. Moody
Well I came in this morning and was beginning to start debugging and I don't believe it but the stupid thing is working now?!?!?!? Here's what my code ended up being: private function generateObject():Object { return { ap_trans: } } private function isObjectEmpty(obj:Object):Boolean {

[flexcoders] Re: Add New Item to Datagrid

2008-05-23 Thread David C. Moody
the NewEntryArrayCollection up as so: ac = new NewEntryArrayCollection (evt.result.source as Array ); It will accept a mysql/mysqli result set. This has cost me 2 days, but now I know and now other people will know as well. HTH, -David --- In flexcoders@yahoogroups.com, David C. Moody [EMAIL

[flexcoders] DataGrid placement

2008-05-23 Thread David C. Moody
Is there a particular way to place a user in a certain cell? Like I have a check one one row, and if that check comes back invalid, I want to place the user back in that cell. If its valid I want the user to go to the next cell. A setFocus for a dataProvider is what I'm looking for I guess.

[flexcoders] Add New Item to Datagrid

2008-05-22 Thread David C. Moody
Hi, I'm having trouble. I have done this before, and it is actually running in a program now. But for the life of me I can't make it work again. I'm using Alex Harui's method: http://blogs.adobe.com/aharui/2008/03/custom_arraycollections_adding.h tml Here's my AS code: private function

[flexcoders] Re: Add New Item to Datagrid

2008-05-22 Thread David C. Moody
like you're working on a local var From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David C. Moody Sent: Thursday, May 22, 2008 10:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Add New Item to Datagrid Hi

[flexcoders] Re: DateField disabledRanges

2008-05-21 Thread David C. Moody
: Did yesterday have the correct value at the time it was plugged into the range? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David C. Moody Sent: Tuesday, May 20, 2008 12:41 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: DateField disabledRanges

2008-05-21 Thread David C. Moody
. --- In flexcoders@yahoogroups.com, David C. Moody [EMAIL PROTECTED] wrote: I'm trying to set a DateField's disabledRanges to yesterday and before. Everything I have tried will not do this, I can disabled today and before but I need to include today. Does anyone have any ideas? here's all I've tried

[flexcoders] Re: Debugging Flex3-AMFPHP

2008-05-20 Thread David C. Moody
Do you get results when you run the service function via the AMFPHP service browser? That's the first place to start, make sure your PHP code is returning what you expect. Then code always helps us to be able to help you. --- In flexcoders@yahoogroups.com, mr_delphi_developer [EMAIL

[flexcoders] Re: Debugging Flex3-AMFPHP

2008-05-20 Thread David C. Moody
I agree that WebORB is more advanced, but AMFPHP is much faster. Check out: http://blog.idsklijnsma.nl/weborb-closes-the-gap/ (Based on v3 of WebOrb) http://blog.idsklijnsma.nl/amfphp-vs-weborbphp/ (Based on older WebOrb) While I do agree that the Flex Messaging is very nice from WebOrb. I

[flexcoders] Re: drag from datagrid to textinput

2008-05-20 Thread David C. Moody
{ if (evt.dragSource.hasFormat(items)) { DragManager.acceptDragDrop(TextInput (evt.currentTarget)); } } --- In flexcoders@yahoogroups.com, David C. Moody [EMAIL PROTECTED] wrote: Hi, Is is possible to drag from a datagrid

[flexcoders] DateField disabledRanges

2008-05-20 Thread David C. Moody
I'm trying to set a DateField's disabledRanges to yesterday and before. Everything I have tried will not do this, I can disabled today and before but I need to include today. Does anyone have any ideas? here's all I've tried: Assign yesterday's date to a yesterday variable.

[flexcoders] Handle Large Dataset

2008-05-07 Thread David C. Moody
What is the best way to handle a large dataset?? I'm using AMFPHP. I need to display a datagrid that the user can then use to choose an entry to work on. The problem is this database has approximately 35,000 entries in it. I keep getting memory size exhausted errors from PHP. So I need a

[flexcoders] Re: Handle Large Dataset

2008-05-07 Thread David C. Moody
it a bit to suit your needs: http://weblogs.macromedia.com/mchotin/archives/2004/03/large_data_sets .html /r http://www.searchcoders.com/ On Wed, May 7, 2008 at 9:44 AM, David C. Moody [EMAIL PROTECTED] wrote: What is the best way to handle a large dataset?? I'm using AMFPHP. I

[flexcoders] Re: Handle Large Dataset

2008-05-07 Thread David C. Moody
, David C. Moody davidm@ wrote: What is the best way to handle a large dataset?? I'm using AMFPHP. I need to display a datagrid that the user can then use to choose an entry to work on. The problem is this database has approximately 35,000 entries in it. I keep getting

[flexcoders] AMFPHP Dates?

2008-04-29 Thread David C. Moody
Using AMFPHP 1.9beta2... I have a function in an AMFPHP Service like this: function getEditorListing($startDate = '', $endDate = '', $type = 1) { if ($startDate == '') return StartDate Required; if ($endDate == '') return EndDate Required; $startTime = strtotime($startDate . 00:00:00);

[flexcoders] Re: AMFPHP Dates?

2008-04-29 Thread David C. Moody
OK I was able to figure this out on my own. I just used the getTime() function which returns dates in milliseconds since 1/1/1970, divided that result by 1000 and sent Unix TimeStamps. -David --- In flexcoders@yahoogroups.com, David C. Moody [EMAIL PROTECTED] wrote: Using AMFPHP 1.9beta2

[flexcoders] Editting Blank Row in DataGrid

2008-04-25 Thread David C. Moody
Hello, Is there any way to make it so you can edit a blank row in a dataGrid for adding new records?? I'm turning up no results in Google or here. Thanks, -David

[flexcoders] AIR App Printing

2008-04-25 Thread David C. Moody
I have an AIR app with an HTML component, how exactly can I print what shows up in the HTML component (I plan on using this component for reports, etc). Thanks, -David

[flexcoders] Re: Menu System

2008-04-04 Thread David C. Moody
. In your handler, use toXMLString() to verify your format. Try: mainAppMenuBar.dataProvider = resultXML.menuitem; Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David C. Moody Sent: Thursday, April

[flexcoders] Re: Menu System

2008-04-04 Thread David C. Moody
); dataProvider={menuBarCollection} / I don't know if this is the right way or not but it works for me. --- In flexcoders@yahoogroups.com, David C. Moody davidm@ wrote: Here's the XML the script returns: menuitems menuitem label=Retail data=top menuitem label=Current Year

[flexcoders] Re: Flex PHP

2008-04-03 Thread David C. Moody
you send'em. good luck... --- In flexcoders@yahoogroups.com, David C. Moody davidm@ wrote: Hi guys, Using Flex 3 AMFPHP to do my database operations. I have a report that you specify all the options in flex, and currently I'm just using a navigateToURL() function to open

[flexcoders] Menu System

2008-04-03 Thread David C. Moody
Hi guys, I'm developing a pretty large multi-user application. I need a good menu system for and was looking for some help, maybe someone has come up with something they'd like to share or at least has some ideas. The general menu will be the same for everyone. But some users will have

[flexcoders] Re: Menu System

2008-04-03 Thread David C. Moody
following the root element must be well-formed. So I could possibly be headed on a track that will work, but need a little help. Or a completely different idea. Thanks, -David --- In flexcoders@yahoogroups.com, David C. Moody [EMAIL PROTECTED] wrote: Hi guys, I'm developing a pretty large multi

[flexcoders] Re: Menu System

2008-04-03 Thread David C. Moody
= resultXML.menuitems.menuitem; But all I get with this is a blank menubar, I've also tried: resultXML.menuitems And that still gave me just a blank menubar. Thanks for the help! -David --- In flexcoders@yahoogroups.com, David C. Moody [EMAIL PROTECTED] wrote: OK guys, in my example I'm returning XML to set

[flexcoders] Flex PHP

2008-04-02 Thread David C. Moody
Hi guys, Using Flex 3 AMFPHP to do my database operations. I have a report that you specify all the options in flex, and currently I'm just using a navigateToURL() function to open a web browser. I do not like this it is very unsecure as the variables are all passed in the URL string. How

[flexcoders] Re: Flex PHP

2008-04-02 Thread David C. Moody
; navigateToURL(request, _new); Hope this helps! --GC --- In flexcoders@yahoogroups.com, David C. Moody davidm@ wrote: Hi guys, Using Flex 3 AMFPHP to do my database operations. I have a report that you specify all the options in flex, and currently I'm just using a navigateToURL

[flexcoders] Module Positioning

2008-03-31 Thread David C. Moody
Hi guys, Fairly new to flex, and I'm trying to figure out how to position modules. What I mean is when I'm loading the module they always go to the top-right corner of the app. How can I position the module exactly where I want it? I've tried x y variables but that didn't seem to work.

[flexcoders] Re: Module Positioning

2008-03-31 Thread David C. Moody
I figured it out. For those that might need help in the future, set the x y variables of the ModuleLoader not the module. -David --- In flexcoders@yahoogroups.com, David C. Moody [EMAIL PROTECTED] wrote: Hi guys, Fairly new to flex, and I'm trying to figure out how to position modules

[flexcoders] Re: Shortcut Keys

2008-02-27 Thread David C. Moody
/flexcoders/message/91469 http://tech.groups.yahoo.com/group/flexcoders/message/90567 The solution lies in javascript/externalInterface. Can you be specific on the browser/OS you intend to support? On Sat, Feb 23, 2008 at 3:35 AM, David C. Moody [EMAIL PROTECTED] wrote: Performed

[flexcoders] Dynamically Load Applications?

2008-02-27 Thread David C. Moody
Hi guys, One more question and I think my company can make our decision of whether or not to use Flex. What we have is one large system that is composed and 100's of small programs. Under the current system we have a menu, and then once they choose a program from the menu it dynamically

[flexcoders] Shortcut Keys

2008-02-22 Thread David C. Moody
Performed a search and didn't turn up too much. I know I can do shortcut keys inside flex, my question is, is there a way to trap ALL shortcut key combinations and not all the browser to process them? My current application (not flex-based) uses alot of shortcuts and it'd be nice to be able to