[flexcoders] ArrayCollection, addAll and Refresh

2010-02-11 Thread johncch85
I understand that ArrayCollection.addAll was added in flex sdk 3.4. I'm coding a simple application and I'm hitting this problem. I would like to ask if anyone knows what's happening: Here's the source, just a simple mxml: http://www.adobe.com/2006/mxml"; creationComplete="creationComplete()"

[flexcoders] ArrayCollection of a specific type?

2010-02-11 Thread Nick Middleweek
Hello, Is it possible to specifc a class property to be an ArrayCollection of a certain Interface rather than just an ArrayCollection? Thanks, Nick

Re: [flexcoders] ArrayCollection of VO's Memory Leak??

2009-10-23 Thread Jake Churchill
eveloper > > Adobe Systems Inc. <http://www.adobe.com/> > > Blog: http://blogs.adobe.com/aharui > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Jake Churchill > *Sent:* Friday, October 23, 2009 9:30 AM > *To:* flexco

RE: [flexcoders] ArrayCollection of VO's Memory Leak??

2009-10-23 Thread Alex Harui
l Sent: Friday, October 23, 2009 9:30 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ArrayCollection of VO's Memory Leak?? Where do you go to see that? All I can see is the number of instances an object has and the memory those instances take up? On Fri, Oct 23, 2009 at 1:10 AM,

Re: [flexcoders] ArrayCollection of VO's Memory Leak??

2009-10-23 Thread Jake Churchill
er 22, 2009 10:57 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] ArrayCollection of VO's Memory Leak?? > > > > > > Hi all, > > I have a charting application where I have an ArrayCollection of VO's. The > chart has several series, each loo

RE: [flexcoders] ArrayCollection of VO's Memory Leak??

2009-10-22 Thread Alex Harui
l Sent: Thursday, October 22, 2009 10:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection of VO's Memory Leak?? Hi all, I have a charting application where I have an ArrayCollection of VO's. The chart has several series, each looking at one property in the VO. T

[flexcoders] ArrayCollection of VO's Memory Leak??

2009-10-22 Thread Jake Churchill
Hi all, I have a charting application where I have an ArrayCollection of VO's. The chart has several series, each looking at one property in the VO. There are several controls that when changed, require a re-calculation of the VO's in the ArrayCollection. Before I do the re-calculation, I call

[flexcoders] ArrayCollection back to Query

2009-08-11 Thread Warren
I'm using Remote Objects in Flex with Cold Fusion 8 to retrieve data. Flex makes a call to a Cold Fusion CFC which runs a query and sends that back to Flex. I pick it up in Flex and attach it to an ArrayCollection which powers my grids. No problems. Now I want to go the other way. I want

RE: [flexcoders] ArrayCollection filterFunction returning item in array;

2009-08-07 Thread Alex Harui
lexcod...@yahoogroups.com] On Behalf Of kpjj31 Sent: Friday, August 07, 2009 3:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection filterFunction returning item in array; Is it possible to use the ArrayCollection filterFunction that returns items from an Array? This return

RE: [flexcoders] ArrayCollection filterFunction returning item in array;

2009-08-07 Thread Tracy Spratt
code up into smaller parts and debug it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of kpjj31 Sent: Friday, August 07, 2009 6:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] ArrayCollection filterFunction returning item in array;

2009-08-07 Thread kpjj31
Is it possible to use the ArrayCollection filterFunction that returns items from an Array? This returns null... private function filterStatus(item:Object):Boolean { var statusgroup:Array = [0, 1, 88, 44]; return item.STATUSID in (statusgroup); }

Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-08-03 Thread Angelo Anolin
From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Wednesday, 8 July, 2009 12:48:27 Subject: RE: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService var sXML:String = “”; sXML += myXMLListCollection .toXMLSTring( ); sXML

RE: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-07 Thread Tracy Spratt
yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin Sent: Tuesday, July 07, 2009 8:09 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService Hi Tracy, I would certainly appreciate if

Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-07 Thread Angelo Anolin
4:45:56 Subject: RE: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService Why not use XMLListCollection and send the xml to .net as a string?  There is little value in building an ArrayCollection of generic obects.  You can sort/filter an

Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-07 Thread Angelo Anolin
/ article specifically tackling this kind of .NET and Flex integration. Do you know of some? Thanks and regards, Angelo From: Sam Lai To: flexcoders@yahoogroups.com Sent: Saturday, 4 July, 2009 12:54:53 Subject: Re: [flexcoders] ArrayCollection Does Not Show

RE: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-06 Thread Tracy Spratt
ks a lot. _ From: Sam Lai To: flexcoders@yahoogroups.com Sent: Friday, 3 July, 2009 13:52:12 Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService Instead of using an array list and trying to emulate the type-less abilities of AS3, I'd t

Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-03 Thread Sam Lai
____ > From: Sam Lai > To: flexcoders@yahoogroups.com > Sent: Friday, 3 July, 2009 13:52:12 > Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order When > Passed to .NET WebService > > Instead of using an array list and trying to

Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-02 Thread Angelo Anolin
, 3 July, 2009 13:52:12 Subject: Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService Instead of using an array list and trying to emulate the type-less abilities of AS3, I'd try to map the XML to typed objects in .NET. Or does the XML from your Flex a

Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-02 Thread Sam Lai
a solution on how I would be able to pass an > ArrayCollection to .NET and be able to parse it properly. > > Thanks. > > > From: Sam Lai > To: flexcoders@yahoogroups.com > Sent: Thursday, 2 July, 2009 15:46:58 > Subject: Re: [flexcoders

Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-02 Thread Angelo Anolin
solution on how I would be able to pass an ArrayCollection to .NET and be able to parse it properly. Thanks. From: Sam Lai To: flexcoders@yahoogroups.com Sent: Thursday, 2 July, 2009 15:46:58 Subject: Re: [flexcoders] ArrayCollection Does Not Show Items I

Re: [flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-02 Thread Sam Lai
How is it being parsed in .NET? You can parse it into a hashtable, or better yet, use a pre-defined object. Not sure why the order is different, but it is probably fragile to rely on the order in this case. 2009/7/2 Angelo Anolin : > > > Hi FlexCoders, > > I have an array collection which I am po

[flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-01 Thread Angelo Anolin
Hi FlexCoders, I have an array collection which I am populating as follows: var oTemp:Object; var xl:XMLList = _xmlData.children(); var i:int; for(i = 0; i < xl.length(); i++)  {  oTemp = {ID_TAG:xl[i].ID.text(), CAT_TAG:xl[i].CAT.text(), DET_TAG:xl[i].DET.text(), REP_DATE_TAG:xl[i].REP_DATE.te

Re: [flexcoders] ArrayCollection/Min Max Problem

2009-06-30 Thread Sam Lai
Maybe your trace statement is in the wrong place? Seeing your code would help in solving the problem. Another way to solve these problems is to sort the data (sub)set, then just pull the first and last elements. Depending on what you want to do with the data after, this may be faster. 2009/7/1 Sh

[flexcoders] ArrayCollection/Min Max Problem

2009-06-30 Thread Sherif Abdou
I have an array collection and I am trying to find the Min/Max of the values in groups. For Example my array collection has 100 values. I want to find the Min Value/Max Value between 1 to 26, 2 to 27, 3 to 28 , etc I tried to create 2 for loops in each other but for some reason during debugg

[flexcoders] ArrayCollection and Datagrid Binding and DataProvider Question

2009-06-11 Thread Angelo Anolin
Good day. Learning Flex here for the past two (like three actually) weeks.  Using only mxml compiler. I have a question with regards to the above subject: Assuming I declared an ArrayCollection as follows: [Bindable] private var _arrItems:ArrayCollection = new ArrayCollection([{"itemNo":"1",

[flexcoders] ArrayCollection to Delimited String

2009-06-04 Thread Angelo Anolin
Hi FlexCoders, Supposed I have an ArrayCollection variable represented like below:                          I want to store the same in a String variable where the resulting string would be like: var ResultString:String; ResultString = "MI|Lansing||MO|Jefferson City||MA|Boston||MT|Helena||M

RE: [flexcoders] ArrayCollection | DataGrid | SortonColumn

2009-04-08 Thread Alex Harui
lf Of ilikeflex Sent: Wednesday, April 08, 2009 12:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection | DataGrid | SortonColumn Hi I have datagrid with 150 records. I do sorting when someone clicks on datagrid. And i am using the ArrayCollection as dataprovider

[flexcoders] ArrayCollection | DataGrid | SortonColumn

2009-04-08 Thread ilikeflex
Hi I have datagrid with 150 records. I do sorting when someone clicks on datagrid. And i am using the ArrayCollection as dataprovider to the datagrid.When user changes the option in combo box then show the new data in the datagrid. In my command class i am doing MessagesModel.getInstance().m

RE: [flexcoders] arraycollection vs listcollectionview

2009-03-27 Thread Alex Harui
ps.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Scott Sent: Friday, March 27, 2009 4:57 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] arraycollection vs listcollectionview That's a nasty little bug. I haven't encountered that myself yet but I can see where that wo

RE: [flexcoders] arraycollection vs listcollectionview

2009-03-27 Thread Scott
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of arieljake Sent: Friday, March 27, 2009 1:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] arraycollection vs listcollectionview I'm confused. I have an ArrayCollection. And I listen for the COLLECTIO

[flexcoders] arraycollection vs listcollectionview

2009-03-26 Thread arieljake
I'm confused. I have an ArrayCollection. And I listen for the COLLECTION_CHANGE.Remove event to know when to delete the item from the database. For displaying the contents of my ArrayCollection, i am using a ListCollectionView with a filter function applied to it, so that the filter function d

[flexcoders] Arraycollection to xml

2009-03-20 Thread venkat eswar
Hi all, I am using advanceddatagrid with treestructure. I used Arraycollection as Dataprovider for advanceddatagrid.Now i want to convert the Arraycollection to xml for storing it to database with php as backend. How is it possible. Please help me

RE: [flexcoders] ArrayCollection or XML

2009-03-11 Thread Tracy Spratt
...@yahoogroups.com] On Behalf Of tiend...@ezweb.ne.jp Sent: Wednesday, March 11, 2009 9:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection or XML Hi all guru, [Database Table] id firstname lastname At Backend I use PHP and Mysql. PHP script can return Array or XML string. At Flex app

[flexcoders] ArrayCollection or XML

2009-03-11 Thread tiend...@ezweb.ne.jp
Hi all guru, [Database Table] id firstname lastname At Backend I use PHP and Mysql. PHP script can return Array or XML string. At Flex app, I use Remote Object 1)PHP script return Array: and in Flex code I get Array as : dp = new ArrayCollection( ArrayUtil.toArray(event.result)); If I show dp

RE: [flexcoders] ArrayCollection vs XMLListCollection

2009-02-22 Thread Alex Harui
harui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeffry Houser Sent: Sunday, February 22, 2009 2:24 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ArrayCollection vs XMLListCollection Some code magic in the background. I bet if you drill down into th

Re: [flexcoders] ArrayCollection vs XMLListCollection

2009-02-22 Thread Jeffry Houser
Some code magic in the background. I bet if you drill down into the component code for DataGrid and/or DataGridColumn you'll find comments that explain this. If I had to guess, it is relatively [knock on wood] easy to parse an object and find the properties on it. I think a for loop will d

[flexcoders] ArrayCollection vs XMLListCollection

2009-02-22 Thread brad.bueche
How come when I'm setting up a data grid using an ArrayCollection as the datasource I dont have to specify the contents of the data grid columns? I can just do this: But in order to get anything to appear on the data grid with either XML or XMLListCollection I have to do the column layout (l

RE: [flexcoders] ArrayCollection DataProvider question.

2009-02-11 Thread Tracy Spratt
coders@yahoogroups.com Subject: Re: [flexcoders] ArrayCollection DataProvider question. Hi Tracy, this is how I get the XML info into an ArrayCollection: private function get_days(event:ResultEvent):void { Arraydays.removeAll(); XMLdays = event.result as XML; for each(var

Re: [flexcoders] ArrayCollection DataProvider question.

2009-02-11 Thread - -
From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Tuesday, February 10, 2009 4:19:53 PM Subject: RE: [flexcoders] ArrayCollection DataProvider question. I suggest using e4x expressions against the XML, and then putting the result in an XMLListCollection. var xlResults:XMLList

RE: [flexcoders] ArrayCollection DataProvider question.

2009-02-10 Thread Tracy Spratt
t: Tuesday, February 10, 2009 2:19 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ArrayCollection DataProvider question. Humm, you have to make a filterFunction, like this: private function filterFucntion(item:Object):Boolean { return item.id == "1"; } Henrique

Re: [flexcoders] ArrayCollection DataProvider question.

2009-02-10 Thread Henrique
Humm, you have to make a filterFunction, like this: private function filterFucntion(item:Object):Boolean { return item.id == "1"; } Henrique F. Marino blog.dclick.com.br www.dclick.com.br On Tue, Feb 10, 2009 at 3:35 PM, sailorsea21 wrote: > I loaded the following xml as an ArrayCollection

[flexcoders] ArrayCollection DataProvider question.

2009-02-10 Thread sailorsea21
I loaded the following xml as an ArrayCollection. today 13154 654321 yesterday 21354 5468432 today 2665 4256 yesterday 7425 7542 How can I use this as a data

RE: [flexcoders] ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Alex Harui
oders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Keith Hughitt Sent: Friday, January 23, 2009 8:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection COLLECTION_CHANGE event doesn't fire right away? Hi all, I'm trying to detect changes in an ArrayC

[flexcoders] ArrayCollection COLLECTION_CHANGE event doesn't fire right away?

2009-01-23 Thread Keith Hughitt
Hi all, I'm trying to detect changes in an ArrayCollection which is bound to a DataGrid with some editable components. For some reason, however, the event only seems to fire when the focus is change. For example, I check a check-box, and nothing happens. When I then click somewhere outside of the

RE: [flexcoders] arraycollection merge

2008-12-06 Thread Alex Harui
This might help: http://blogs.adobe.com/aharui/2008/03/custom_ilists_checkboxdatagrid_1.html From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke Sent: Saturday, December 06, 2008 5:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] arraycollection merge Hi I

[flexcoders] arraycollection merge

2008-12-06 Thread hworke
Hi I have three different arraycollections and I want to bind them all as dataprovider to a datagrid. How do I do that? Can a datagrid have have 3 dataprovider and can it display all these dataproviders' info at the same time? Or I do need to merge my three arraycollections into one and then bin

Re: [flexcoders] ArrayCollection

2008-11-14 Thread Mike Duncan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tracy Spratt wrote: > > > The issue is that there is only one “lastResult” for the entire framework. > > > > “There is only one result” No, this is not correct. Because they are > asynchronous, there can be multiple pending RPC data calls. There

Re: [flexcoders] ArrayCollection

2008-11-13 Thread Fotis Chatzinikos
[mailto:[EMAIL PROTECTED] *On > Behalf Of *Fotis Chatzinikos > *Sent:* Thursday, November 13, 2008 4:21 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] ArrayCollection > > > > Sorry is that a problem with Cold Fusion? > > I get single element ArrayColl

RE: [flexcoders] ArrayCollection

2008-11-13 Thread Tracy Spratt
vember 13, 2008 6:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ArrayCollection The issue is that there is only one "lastResult" for the entire framework. "There is only one result" No, this is not correct. Because they are asynchronous, there can be multi

RE: [flexcoders] ArrayCollection

2008-11-13 Thread Tracy Spratt
oups.com Subject: Re: [flexcoders] ArrayCollection -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am not quite sure by what you mean "...are not garrunteed that it will have the value in the result you expect." There is only one result. And, by "dangerous", are you talking about a

Re: [flexcoders] ArrayCollection

2008-11-13 Thread Fotis Chatzinikos
s. > > > > > > > > Tracy > > > > > > > > ---------- > > > > *From:* flexcoders@yahoogroups.com [mailto: > flexcoders@yahoogroups.com ] > > *On Behalf Of *Mike Duncan > >

Re: [flexcoders] ArrayCollection

2008-11-13 Thread Mike Duncan
sult is intended only for use in binding expressions. > > > > Tracy > > > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of *Mike Duncan > *Sent:* Thursday, November 13, 2008 3:06 PM > *To:* flex

RE: [flexcoders] ArrayCollection

2008-11-13 Thread Tracy Spratt
Behalf Of Fotis Chatzinikos Sent: Thursday, November 13, 2008 4:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ArrayCollection Sorry is that a problem with Cold Fusion? I get single element ArrayCollections from by java backend all the time (I think? :-) On Thu, Nov 13, 2008 a

Re: [flexcoders] ArrayCollection

2008-11-13 Thread Fotis Chatzinikos
t; > lastResult is intended only for use in binding expressions. > > > > Tracy > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Mike Duncan > *Sent:* Thursday, November 13, 2008 3:06 PM > *To:* f

RE: [flexcoders] ArrayCollection

2008-11-13 Thread Tracy Spratt
: [flexcoders] ArrayCollection -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is how I got around this... - - import mx.uils.ObjectProxy; import mx.collections.ArrayCollection; [Bindable] private scans:ArrayCollection; private function handleGetScansResults(event:ResultEvent):void

Re: [flexcoders] ArrayCollection

2008-11-13 Thread Mike Duncan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is how I got around this... - - import mx.uils.ObjectProxy; import mx.collections.ArrayCollection; [Bindable] private scans:ArrayCollection; private function handleGetScansResults(event:ResultEvent):void { //Note: getScan is a H

RE: [flexcoders] ArrayCollection

2008-11-13 Thread Tracy Spratt
Array(), which is in one of the Utils packages. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jch92592 Sent: Thursday, November 13, 2008 2:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection All, I am

[flexcoders] ArrayCollection

2008-11-13 Thread jch92592
All, I am using an ArrayCollection that I populate with the results from a ColdFusion RPC. All works well when there is more than 1 record. When only 1 record is returned, the data is not assigned to the ArrayCollection. Any suggestions? Thank you, jh

Re: [flexcoders] ArrayCollection bound to an Array.

2008-08-26 Thread Sefi Ninio
groups.com ] On > Behalf Of flexaustin > Sent: Tuesday, August 26, 2008 11:17 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] ArrayCollection bound to an Array. > > Is it possible to bind an ArrayCOllection to an array, like so > > publi

RE: [flexcoders] ArrayCollection bound to an Array.

2008-08-26 Thread Battershall, Jeff
bject: [flexcoders] ArrayCollection bound to an Array. Is it possible to bind an ArrayCOllection to an array, like so public var summDataForControllers:Array = new Array; public var _summDataForContrAC:ArrayCollection = new ArrayCollection({summDataForControllers}); I

[flexcoders] ArrayCollection bound to an Array.

2008-08-26 Thread flexaustin
Is it possible to bind an ArrayCOllection to an array, like so public var summDataForControllers:Array = new Array; public var _summDataForContrAC:ArrayCollection = new ArrayCollection({summDataForControllers}); I have a modelLocator that contains these to items (

RE: [flexcoders] ArrayCollection ChangeEvent does noget get dispatched when filterFunction is set

2008-07-26 Thread Alex Harui
PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection ChangeEvent does noget get dispatched when filterFunction is set It appears that an arraycollection's changeEvent (CollectionEvent.COLLECTION_CHANGE) does not get called correctly when FilterFunction is set. Is a

[flexcoders] ArrayCollection ChangeEvent does noget get dispatched when filterFunction is set

2008-07-26 Thread dopenhagen
It appears that an arraycollection's changeEvent (CollectionEvent.COLLECTION_CHANGE) does not get called correctly when FilterFunction is set. Is anyone else experiencing this behavior, and if yes: is it a feature or a bug ?

Re: [flexcoders] ArrayCollection filterFunction only gets called on root item

2008-07-22 Thread Scott Bachman
The filterFunction only applies to the ArrayCollection. By hierarchy, I assume you mean you have an ArrayCollection that contains ArrayCollections. In other words, objects in your original ArrayCollection have, say, a children ArrayCollection. In order to do what you're describing, you would have t

[flexcoders] ArrayCollection filterFunction only gets called on root item

2008-07-21 Thread Greg Hess
Hi All, I have a tree control who's data provider is an ArrayCollection holding a single File object I defined. The File object represents the root of a remote file system hierarchy that has children getter that supports the tree control and each child is rendered in the tree with an ItemRenderer.

Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues?

2008-07-17 Thread Scott
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Thursday, July 17, 2008 5:24 PM To: flexcoders@yahoogroups.com Subject: {Disarmed} Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues? When I do that I get an error that the property is not defined. I c

Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues?

2008-07-17 Thread Scott
yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gold Sent: Thursday, July 17, 2008 8:45 AM To: flexcoders@yahoogroups.com Subject: {Disarmed} Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues? You're initializing the acUser collection when the singleton is created a

Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues?

2008-07-17 Thread Daniel Gold
You're initializing the acUser collection when the singleton is created and adding a listener, which is fine. However, when you're getting the results back, you're changing the acUser collection reference to a different ArrayCollection GlobalVars.instance.acUser = event.result as ArrayCollection;

[flexcoders] arrayCollection event COLLECTION_CHANGE issues?

2008-07-17 Thread Scott
First thanks for all your help guys. I'm making nice strides learning this language quickly. I'm working with events now. I created an arrayCollection to capture a query from coldfusion. I have the data being dumped into this variable just fine (I can do a combobox on it and see all of it).

Re: [flexcoders] ArrayCollection (AS) and ArrayList (java) not in sync)

2008-04-23 Thread Luke Vanderfluit
Hi. As always. On further inspection the array on the server isnt getting it right. Sorry for the noise )-: Kr. L. Luke Vanderfluit wrote: > Hi. > > Im having a problem retrieving a list of objects from the server. > Im using blazeds and have successfully retrieved lists of objects using the >

[flexcoders] ArrayCollection (AS) and ArrayList (java) not in sync)

2008-04-23 Thread Luke Vanderfluit
Hi. Im having a problem retrieving a list of objects from the server. Im using blazeds and have successfully retrieved lists of objects using the following construct: Im dealing with a list that has Site Objects On the server the ArrayList is being generated correctly with 2 different Site

Re: [flexcoders] arraycollection and tree

2008-03-25 Thread Nayan Savla
Hi Luke, Just create a List in Java and return it. alternatively you can add it to a Value Object and then return it. below is example of my function, CategoriesVo is simple java class with three public variables. public List getCategoriesAll(){ List list = new Array

[flexcoders] arraycollection and tree

2008-03-24 Thread Luke Vanderfluit
Hi. I am using remoteobject to get stuff from a database (java/mysql). I want to represent the List, generated on the server side and sent to the client as an arraycollection, as a tree. Does anyone have examples of how to do this. I have been reading the online docs but Im making very slow pro

RE: [flexcoders] ArrayCollection of String as single-column DataGrid provider

2008-03-21 Thread Alex Harui
: [flexcoders] ArrayCollection of String as single-column DataGrid provider Hi! I have ArrayCollection filled with String: String 1 String 2 DataGrid's dataProvider is array collection above and DataGrid has only one column. What I want is to have ComboBox as inplace ItemRenderer/Editor,

RE: [flexcoders] ArrayCollection refresh event listener

2008-03-21 Thread Alex Harui
CollectionEvent.CHANGE with CollectionEventKind.REFRESH From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of loc_tran106 Sent: Friday, March 21, 2008 10:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection refresh event

[flexcoders] ArrayCollection refresh event listener

2008-03-21 Thread loc_tran106
I wanted to do some custom calculations on the filtered data of an arraycollection. I set the filterfunction for the ac, and then called ac.refresh(). What is the proper event to listen for so I can handle my calculations when the refresh on is complete? Thanks, -Loc

[flexcoders] ArrayCollection of String as single-column DataGrid provider

2008-03-21 Thread mario.blataric
Hi! I have ArrayCollection filled with String: String 1 String 2 DataGrid's dataProvider is array collection above and DataGrid has only one column. What I want is to have ComboBox as inplace ItemRenderer/Editor, but I don't know what to set in DataGridColumn's dataField property

Re: [flexcoders] ArrayCollection question in Cairngorm?

2007-12-17 Thread Mark Shen
Thanks João Fernandes . Mark - Original Message From: João Fernandes <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Monday, December 17, 2007 1:28:20 PM Subject: Re: [flexcoders] ArrayCollection question in Cairngorm? Mark, your result is just fine, just define a labe

Re: [flexcoders] ArrayCollection question in Cairngorm?

2007-12-17 Thread João Fernandes
Mark, your result is just fine, just define a labelField or a labelFunction in your combobox. something like this -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org

Re: [flexcoders] ArrayCollection question in Cairngorm?

2007-12-17 Thread Sanjay Varma
None - Original Message From: markflex2007 <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Monday, December 17, 2007 12:22:59 PM Subject: [flexcoders] ArrayCollection question in Cairngorm? Hi, I have a simple cfc, the function is lik

[flexcoders] ArrayCollection question in Cairngorm?

2007-12-17 Thread markflex2007
Hi, I have a simple cfc, the function is like this,it get a department list SELECT Id, Dept FROM tlkpDept 2.This is the modellocator .I want to save department list to the acDept (A

RE: [flexcoders] ArrayCollection Question

2007-10-27 Thread Alex Harui
ailto:[EMAIL PROTECTED] On Behalf Of Mark Forsberg Sent: Friday, October 26, 2007 6:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ArrayCollection Question I am dragging/dropping rows from one grid to another. At the drop I will be calling a .cfc to get more information for the s

[flexcoders] ArrayCollection Question

2007-10-27 Thread Mark Forsberg
I am dragging/dropping rows from one grid to another. At the drop I will be calling a .cfc to get more information for the second datagrid. I have several questions about the data that I'm adding. 1. To add the data "manually" after I've captured my drop event do I need to use the Icollection?

RE: [flexcoders] ArrayCollection XMLList?

2007-10-05 Thread Tracy Spratt
: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ArrayCollection XMLList? Whether the objects are strongly-typed or not, you can stick the AC in as the Tree's DP, but you'll need a custom ITreeDataDescriptor to tell the tree what is a branch and what the ch

RE: [flexcoders] ArrayCollection XMLList?

2007-10-05 Thread Alex Harui
TECTED] On Behalf Of Scott - FastLane Sent: Friday, October 05, 2007 12:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ArrayCollection XMLList? Assuming your ArrayCollection contains strongly typed objects, I think you can make the ArrayCollection itself be the dataprovider for

Re: [flexcoders] ArrayCollection XMLList?

2007-10-05 Thread Scott - FastLane
Assuming your ArrayCollection contains strongly typed objects, I think you can make the ArrayCollection itself be the dataprovider for your tree. Your class (the data stored in the ArrayCollection) just needs to implement the get children():Array and get label():String method iirc. hth Scott

[flexcoders] ArrayCollection XMLList?

2007-10-05 Thread candysmate
I have an ArrayCollection in Flex which contains the delivery information for a given stock item: boxes quantity 10 20 15 20 17 20 etc how can I convert this into an XMLList so that it can be a dataProvider for a tree control where each line is a branch o

RE: [flexcoders] arraycollection contains() method

2007-10-02 Thread Alex Harui
oders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of freska Sent: Monday, October 01, 2007 11:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] arraycollection contains() method Hi there, I want to compare two arraycollection and take the different items out. I tried using contains() meth

[flexcoders] arraycollection contains() method

2007-10-02 Thread freska
Hi there, I want to compare two arraycollection and take the different items out. I tried using contains() method to check if the first item of arraycollection arrayControl is in arraycollection arrayColPref, but it just doesn't work. I mean, it is supposed to say "True" instead of "False". So, her

Re: [flexcoders] ArrayCollection not working? Pulling out my HAIR!!!

2007-06-06 Thread Brendan Meutzner
Any reason you're going through the trouble of converting to an ArrayCollection? The following will work with your XML data just fine... Brendan On 6/6/07, Jason Ervin <[EMAIL PROTECTED]> wrote: Hey eve

[flexcoders] ArrayCollection not working? Pulling out my HAIR!!!

2007-06-06 Thread Jason Ervin
Hey everyone I am having issues with using an arraycollection as a dataprovider. I start with an xml variable (see below) then I convert it to an ArrayCollection using ArrayUtil.toArray and I use the result as a dataprovider. If I trace the dataprovider it prints out the xml data, but my chart is e

[flexcoders] ArrayCollection to xml file function

2007-03-30 Thread Impudent1
I am trying to get some things working with my app and apollo preview. I can get it to save a file locally when it goes offline fine. But I would like to start extending it so that I can give it an arrayCollection(s) and it will write out an xml structured file. This is what I am using to save

Re: [flexcoders] ArrayCollection problem (binding to a Datagrid)

2007-03-25 Thread leds usop
this has been addressed in a previous post. do a type check for objectproxy before assigning here: grilleTerrainsACDP = event.result.terrains.terrain; to have this: if(event.result.terrains.terrain is ObjectProxy){ var t:Array= ArrayUtil.toArray(event.result.terrains.terrain); grilleTerrains

RE: [flexcoders] ArrayCollection problem (binding to a Datagrid)

2007-03-23 Thread Alex Harui
ObjectProxy or an Array/ArrayCollection and convert it to an array if needed. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Boulet-Lavoie Sent: Friday, March 23, 2007 11:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] ArrayCollection problem (binding to a Datagrid)

2007-03-23 Thread Nicolas Boulet-Lavoie
Hi, When I try to bind an empty ArrayCollection or with only 1 item to a Datagrid, I'm getting a runtime error (sorry it's in french but the error number means something in this case): TypeError: Error #1034: Echec de la contrainte de type : conversion de mx.utils::[EMAIL PROTECTED] en mx.collect

Re: [flexcoders] ArrayCollection length

2007-02-28 Thread feiy
u can use the mx.collections.ArrayCollection 's filterFunction: Functionproperty 2007/2/28, Mehul Doshi <[EMAIL PROTECTED]>: If I have my dataprovider in the following manner: var dataProvider = [{Date: "02-12-2007", Company1: 20, Company2: 30}, {Date: "02-09-2007", Company1: 20, Company2:

[flexcoders] ArrayCollection length

2007-02-27 Thread Mehul Doshi
If I have my dataprovider in the following manner: var dataProvider = [{Date: "02-12-2007", Company1: 20, Company2: 30}, {Date: "02-09-2007", Company1: 20, Company2: 30}, {Date: "02-08-2007", Company1: 20, Company2: 30}] How can I determine programatically

[flexcoders] ArrayCollection to comma-delimited list?

2007-02-26 Thread qnotemedia
Couldn't quite figure this one out. I have a multi-level arraycollection and I need to write it out in flex as two separated lists - i.e. itemA[0]: 1, 2, 3, 4 itemB[1]: 5, 6 itemC[2]: 7, 8 I'm currently using two repeaters with mx:Text to properly view the data, but of course, that just ends

[flexcoders] ArrayCollection "contains" not working

2007-02-17 Thread Carlos Rovira
Hi, I've been trying to filter an ArrayCollection with the objects that not exist in another ArrayCollection. I use the "contains" method, but it seems that does not work. In the following thread seems that others are having the same problem with XMLListCollectionView: http://www.mail-archive.co

[flexcoders] ArrayCollection Splice?

2007-02-14 Thread napearson99
I'm porting over one of Ely's component's data provider from accepting an Array to accept an ArrayCollection. He uses item.splice a lot where item is typed as an array. I want the same functionality in an array collection. Item[0].splice works, but im not sure this is the right way to do it.

  1   2   >