RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Tracy Spratt
, 2008 12:02 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help Hi Guys Thanks for your different approaches to solve this problem.I will try all of them and see which one will suit my management, but i really

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread john fisher
@mark: thanks will check it out @anuj: this is just exactly what the adobe sample code does, except not directly to the database. anuj sharma wrote: ... Can I use the Timer class to create a timer instance which will periodically call HTTP a

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
Hi Mark I looked at the official website of Light stream , it seems that that's what we need. Now my question to you is if I am using this for my company do i have to pay something or is it totally going to be free. Are there any licensing issues involved with that. Please let me know Thanks Anuj

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
, 2008 12:02 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help Hi Guys Thanks for your different approaches to solve this problem.I will try all of them and see which one will suit my management, but i really

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
Hi John I am not sure i get what you are trying to say. Can you be please elaborate little bit more. Thanks Anuj On Wed, Oct 22, 2008 at 10:13 AM, john fisher [EMAIL PROTECTED] wrote: @mark: thanks will check it out @anuj: this is just exactly what the adobe sample code does, except not

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Fotis Chatzinikos
Hi Anuj, i would go for Paul's recommendation with some small variations: 1) if the application is single user, the you do not need to poll, you can insert the data directly in your data source as at any given point you know that new nodes are added to the database. For example: You do some sort

RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Tracy Spratt
Tree control synchronized with the database. Please Help Hi Tracy Thanks for the link. Now in the link i couldn't find the specific example using timer for constant calling for HTTP service. Can you please tell me where exactly the example is located. Your help will be appreciated. Thanks Anuj

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
:[EMAIL PROTECTED] *On Behalf Of *anuj sharma *Sent:* Wednesday, October 22, 2008 2:20 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help Hi Tracy Thanks for the link. Now in the link i couldn't find

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread john fisher
Anuj I meant, search through the online adobe docs for 'timer polling example' or other keywords like those. there are many many examples in the online docs at Adobe. John anuj sharma wrote: Hi John I am not sure i get what you are trying to say. Can you be please elaborate little bit more.

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread anuj sharma
Bingo Guys Thats' exactly what i need. Tracy's Timer example works perfect for me. Again thanks a lot for your help. Anuj On Wed, Oct 22, 2008 at 2:29 PM, john fisher [EMAIL PROTECTED] wrote: Anuj I meant, search through the online adobe docs for 'timer polling example' or other keywords

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Paul Andrews
, 2008 11:31 PM Subject: Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help Bingo Guys Thats' exactly what i need. Tracy's Timer example works perfect for me. Again thanks a lot for your help. Anuj On Wed, Oct 22, 2008 at 2:29 PM, john fisher

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Paul Andrews
: Wednesday, October 22, 2008 11:31 PM Subject: Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help Bingo Guys Thats' exactly what i need. Tracy's Timer example works perfect for me. Again thanks a lot for your help. Anuj On Wed, Oct

RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Tracy Spratt
: Wednesday, October 22, 2008 11:39 PM Subject: Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help A word of caution Anuj. I don't know if your timer works once a second or once a minute, or once every two minutes

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Paul Andrews
- Original Message - From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Thursday, October 23, 2008 12:17 AM Subject: RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help Obviously you must look at the overall picture, but I have

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Josh McDonald
] *To:* flexcoders@yahoogroups.com *Sent:* Wednesday, October 22, 2008 11:31 PM *Subject:* Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help Bingo Guys Thats' exactly what i need. Tracy's Timer example works perfect for me. Again thanks a lot for your help. Anuj

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Fotis Chatzinikos
:39 PM *Subject:* Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help A word of caution Anuj. I don't know if your timer works once a second or once a minute, or once every two minutes. If you have only one online user, it's not too huge a deal either

RE: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-22 Thread Tracy Spratt
: Wednesday, October 22, 2008 7:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help I'd start the timer only when a successful result returns, and then I'd set it for (pollingFrequencyDelay + Math.round(Math.random

Re: [flexcoders] Re: How to keep Tree control synchronized with the database. Please Help

2008-10-21 Thread anuj sharma
Hi Guys Thanks for your different approaches to solve this problem.I will try all of them and see which one will suit my management, but i really appreciate that. I have one solution which recently struck me , please let me know if this is the right one. Can I use the Timer class to create a timer