[flexcoders] textInput databinding

2010-07-15 Thread mark.embrey
Adobe, in their infinite wisdom, removed the data property from Spark TextInput. There is an example of assigning bindable data to a variable for use in the text value with Flex 4 at Binding to an MXML TextInput control http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6\

[flexcoders] Re: textInput databinding

2010-07-15 Thread mark.embrey
thanks for the suggestion, but that doesn't work --- In flexcoders@yahoogroups.com, Brendan Meutzner bmeutz...@... wrote: [Bindable] public var collection:String = myDataProvider.data.name.[0]; Does that work? On Thu, Jul 15, 2010 at 12:59 PM, mark.embrey mark.c.emb...@...wrote

[flexcoders] Re: textInput databinding

2010-07-15 Thread mark.embrey
thanks for the suggestion, Oleg, but that didn't solve my problem... any other ideas? thanks, Mark --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: That won't also work because there's a redundant dot before the bracket. ;)

[flexcoders] Re: textInput databinding

2010-07-15 Thread mark.embrey
. You are trying to use a binding expression in ActionScript code which will never work. Binding expressions like that will only work in MXML code. --- In flexcoders@yahoogroups.com, mark.embrey mark.c.embrey@ wrote: Adobe, in their infinite wisdom, removed the data property from Spark

[flexcoders] Re: textInput databinding

2010-07-15 Thread mark.embrey
, mark.embrey mark.c.emb...@...wrote: thanks for the suggestion, Oleg, but that didn't solve my problem... any other ideas? thanks, Mark --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Oleg Sivokon olegsivokon@ wrote: That won't also work because

[flexcoders] Re: textInput databinding

2010-07-15 Thread mark.embrey
, huh!? Mark --- In flexcoders@yahoogroups.com, Brendan Meutzner bmeutz...@... wrote: Why wouldn't you just do this: TextInput text={myDataProvider.data.name[0]} / On Thu, Jul 15, 2010 at 4:38 PM, mark.embrey mark.c.emb...@...wrote:

[flexcoders] Re: textInput databinding

2010-07-15 Thread mark.embrey
Bingo! that did it! the final solution, in my example, is: text={myDataProvider.getItemAt(0).name} thanks for your help, Oleg, and to everyone who contributed to the conversation. best, Mark --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: Hi, I think square

[flexcoders] Re: How to retrieve name property of file object in ArrayCollection

2010-07-20 Thread mark.embrey
Amy, thanks for the suggestion, I'll look it up right now. I'm learning all of this from scratch... how does an ObjectProxy compare to a Value Object? thanks, Mark --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: That's why God invented ObjectProxy. Google it...

[flexcoders] Value Object --- Object Proxy --- huh???

2010-07-22 Thread mark.embrey
I'm trying to wrap my feeble brain around these concepts. Are they the same? -similar? -completely different? Your feedback will be appreciated by this greenhorn. Mark

[flexcoders] Adobe AIR - interimittent online/offline storage (à la Google Gears)

2010-08-08 Thread mark.embrey
What is the best way to to store data locally while offline and to automatically detect a connection and sync local data with remote services? thanks!

[flexcoders] is there a way to restrict height of a TileGroup?

2011-08-12 Thread mark.embrey
I have a TileGroup with the following properties: requestedColumnCount=3 requestedRowCount=3 As I add more items to the TileGroup I get more than 3 rows (though, for some reason, columns remain unchanged). Is there a way to make this behave like a List and cause it to scroll if the row count