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()"
Hello,
Is it possible to specifc a class property to be an ArrayCollection of a
certain Interface rather than just an ArrayCollection?
Thanks,
Nick
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
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,
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
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
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
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
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
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
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);
}
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
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
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
/ 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
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
____
> 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
, 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
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
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
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
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
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
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
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",
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
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
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
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
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
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
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
...@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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
[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
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
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
s.
> >
> >
> >
> > Tracy
> >
> >
> >
> > ----------
> >
> > *From:* flexcoders@yahoogroups.com [mailto:
> flexcoders@yahoogroups.com ]
> > *On Behalf Of *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
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
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
: [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
-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
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
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
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
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
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 (
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
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 ?
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
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.
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
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
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;
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).
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
>
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
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
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
: [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,
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
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
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
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
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
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
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
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
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?
: 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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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 - 100 of 128 matches
Mail list logo