[flexcoders] Re: Flex 4 - data push

2009-10-10 Thread fgnowfg
I guess it doesn't exist, then. Here's an example of the real-time feature I am seeking: I created the app and am connected w/ my mysql database. I open two browsers and changes made in browser 1 appear in browser 2. So far, so good. However, if I bypass the flex app completely and make a

Re: [flexcoders] Re: Flex 4 - data push

2009-10-10 Thread Jeffrey Vroom
LCDS won't automatically pick up changes from the database unfortunately. There is an api you can use if you control the code making the changes - see flex.data.DataServiceTransaction. You also could do some kind of polling on the server using the DataServiceTransaction.refreshFill method... it

[flexcoders] Re: Flex 4 - data push

2009-10-10 Thread fgnowfg
Are there any tutorials on the methods you suggest? I can't find any good explanations on how to implement it w/ mysql --- In flexcoders@yahoogroups.com, Jeffrey Vroom j...@... wrote: LCDS won't automatically pick up changes from the database unfortunately. There is an api you can use if you

Re: [flexcoders] Re: Flex 4 - data push

2009-10-10 Thread Jeffrey Vroom
There is this blog post which has the basic code you'd need: http://viconflex.blogspot.com/2007/12/dataservicetransaction-lcds.html If you are using the new LCDS that comes with Flex 4, there should be an option in the api which lets you both send calls to the DB and send them to clients (which

[flexcoders] Re: Flex 4 - data push

2009-10-10 Thread fgnowfg
Can I just turn on polling somehow? Would that do it? --- In flexcoders@yahoogroups.com, fgnowfg fgno...@... wrote: Are there any tutorials on the methods you suggest? I can't find any good explanations on how to implement it w/ mysql --- In flexcoders@yahoogroups.com, Jeffrey Vroom jeff@

[flexcoders] Re: Flex 4 - data push

2009-10-09 Thread fgnowfg
I should point out I am using lcds and flex 4. I've seen a couple examples of doing this in flex 3 but something I read said flex 4's data push is diff. than flex 3's, hence my question. thx