Drag and drop on Mac OS Sierra

2016-09-29 Thread DanielMcQ
Hi all,

I'm getting some reports from users that drag and drop in my Flex/AIR app
isn't working on Mac OS Sierra. Has anybody else experienced? If so any
thoughts on resolutions?

Thanks for any thoughts. Happy Friday!

Daniel



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Drag-and-drop-on-Mac-OS-Sierra-tp13691.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Clearing List Control

2016-09-29 Thread Alex Harui
I don't know if you are referring to MX List or Spark List, but it may not
matter.  IIRC, there is logic in the List classes to recalculate selection
when the data provider is changed.  For sure, most of Flex uses an
invalidation/validation model.  This allows you to set a property multiple
times without it actually having an effect on the component.  I'd bet if
you sprinkled a few more validateNow() calls in there you'd get different
results.

IOW, if at some point:

  list.dataProvider = ac;

Later if you just do:
  list.dataProvider = null;
  list.dataProvider = ac;

It may not have an affect since the change to DP will not be processed
until later (or on validateNow()).

By making a deep copy of the original DP, you are changing the DP and the
UID of its items to something different which might trigger the change
detection logic and also result in different behavior.


HTH,
-Alex

On 9/29/16, 1:47 PM, "Matthew Weir"  wrote:

>Apparently this works,  But I don't understand why you just can't say the
>selectedIndicies are null or new Vector
>var ac:ArrayCollection = new
>ArrayCollection(ObjectUtil.copy((list.dataProvider as
>ArrayCollection).source) as Array);
>ac.refresh();list.dataProvider = ac;
>
>On Thursday, September 29, 2016 4:31 PM, Matthew Weir
> wrote:
> 
>
> I'm stumped guys.  I must be missing something completely, ridiculously,
>easy.
>list.selectedIndices = new Vector.();
>var ac:ArrayCollection = list.dataProvider as
>ArrayCollection;
>list.dataProvider = null;
>ac.refresh();
>list.selectedIndices = null;
>list.selectedIndex = -1;
>list.dataProvider = ac;
>list.invalidateDisplayList();
>list.validateNow()
>Still shows selected items.
>Help!  Please :)
>
>
>   



Re: Clearing List Control

2016-09-29 Thread Kyle McKnight
Nevermind. I'm silly. I just realized what I sent lol. If it's null it'll
set it to a new empty Vector. Ignore me please :)


Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)

On Thu, Sep 29, 2016 at 4:52 PM, Kyle McKnight  wrote:

> Did you try list.selectedIndices = []?
>
> The documentation says that the default value is []. So I looked at the
> source for List for selectedIndices setter. Looks like if value is null, it
> won't set the indices, so it won't get updated.
>
> if (value)
>  _proposedSelectedIndices = value;
> else
>  _proposedSelectedIndices = new Vector.();
>
>
>
>
> Kyle McKnight
> Senior UI Engineer - Accesso
> 602.515.1444 (M)
>
> On Thu, Sep 29, 2016 at 4:47 PM, Matthew Weir <
> mattcomm...@yahoo.com.invalid> wrote:
>
>> Apparently this works,  But I don't understand why you just can't say the
>> selectedIndicies are null or new Vector
>> var ac:ArrayCollection = new 
>> ArrayCollection(ObjectUtil.copy((list.dataProvider
>> as ArrayCollection).source) as Array);
>> ac.refresh();list.dataProvider = ac;
>>
>> On Thursday, September 29, 2016 4:31 PM, Matthew Weir
>>  wrote:
>>
>>
>>  I'm stumped guys.  I must be missing something completely, ridiculously,
>> easy.
>> list.selectedIndices = new Vector.();
>> var ac:ArrayCollection = list.dataProvider as
>> ArrayCollection;
>> list.dataProvider = null;
>> ac.refresh();
>> list.selectedIndices = null;
>> list.selectedIndex = -1;
>> list.dataProvider = ac;
>> list.invalidateDisplayList();
>> list.validateNow()
>> Still shows selected items.
>> Help!  Please :)
>>
>>
>>
>
>
>


Re: Clearing List Control

2016-09-29 Thread Kyle McKnight
Did you try list.selectedIndices = []?

The documentation says that the default value is []. So I looked at the
source for List for selectedIndices setter. Looks like if value is null, it
won't set the indices, so it won't get updated.

if (value)
 _proposedSelectedIndices = value;
else
 _proposedSelectedIndices = new Vector.();




Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)

On Thu, Sep 29, 2016 at 4:47 PM, Matthew Weir  wrote:

> Apparently this works,  But I don't understand why you just can't say the
> selectedIndicies are null or new Vector
> var ac:ArrayCollection = new 
> ArrayCollection(ObjectUtil.copy((list.dataProvider
> as ArrayCollection).source) as Array);
> ac.refresh();list.dataProvider = ac;
>
> On Thursday, September 29, 2016 4:31 PM, Matthew Weir
>  wrote:
>
>
>  I'm stumped guys.  I must be missing something completely, ridiculously,
> easy.
> list.selectedIndices = new Vector.();
> var ac:ArrayCollection = list.dataProvider as
> ArrayCollection;
> list.dataProvider = null;
> ac.refresh();
> list.selectedIndices = null;
> list.selectedIndex = -1;
> list.dataProvider = ac;
> list.invalidateDisplayList();
> list.validateNow()
> Still shows selected items.
> Help!  Please :)
>
>
>


Re: Clearing List Control

2016-09-29 Thread Matthew Weir
Apparently this works,  But I don't understand why you just can't say the 
selectedIndicies are null or new Vector
var ac:ArrayCollection = new ArrayCollection(ObjectUtil.copy((list.dataProvider 
as ArrayCollection).source) as Array);
ac.refresh();list.dataProvider = ac; 

On Thursday, September 29, 2016 4:31 PM, Matthew Weir 
 wrote:
 

 I'm stumped guys.  I must be missing something completely, ridiculously, easy.
list.selectedIndices = new Vector.();
                var ac:ArrayCollection = list.dataProvider as ArrayCollection;
                list.dataProvider = null;
                ac.refresh();
                list.selectedIndices = null;
                list.selectedIndex = -1;
                list.dataProvider = ac;
                list.invalidateDisplayList();
                list.validateNow()
Still shows selected items.
Help!  Please :)


   

Clearing List Control

2016-09-29 Thread Matthew Weir
I'm stumped guys.  I must be missing something completely, ridiculously, easy.
list.selectedIndices = new Vector.();
                var ac:ArrayCollection = list.dataProvider as ArrayCollection;
                list.dataProvider = null;
                ac.refresh();
                list.selectedIndices = null;
                list.selectedIndex = -1;
                list.dataProvider = ac;
                list.invalidateDisplayList();
                list.validateNow()
Still shows selected items.
Help!  Please :)



Re: flex unit test can't install

2016-09-29 Thread Kyle McKnight
Thanks!


Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)

On Thu, Sep 29, 2016 at 1:03 PM, Kyle McKnight  wrote:

> I just found teh git repo though after you say that https://github.com/
> apache/flex-flexunit and I do see the downloads.xml is there
>
>
> Kyle McKnight
> Senior UI Engineer - Accesso
> 602.515.1444 (M)
>
> On Thu, Sep 29, 2016 at 1:02 PM, Kyle McKnight  wrote:
>
>> I downloaded the source from the website https://flex.apache.or
>> g/download-flexunit.html. Would these not have the updated links?
>>
>>
>> Kyle McKnight
>> Senior UI Engineer - Accesso
>> 602.515.1444 (M)
>>
>> On Thu, Sep 29, 2016 at 12:59 PM, Alex Harui  wrote:
>>
>>> How did you get the code?  From the repo or a release package?  If repo,
>>> did you switch to the develop branch?
>>>
>>> -Alex
>>>
>>> On 9/29/16, 5:00 AM, "Kyle McKnight"  wrote:
>>>
>>> >I'm trying to build the FlexUnit 4 project.
>>> >
>>> >The thirdparty-downloads target fails because there is no downloads.xml
>>> in
>>> >the base directory.
>>> >
>>> >Kyle McKnight
>>> >Senior UI Engineer - Accesso
>>> >602.515.1444 (M)
>>>
>>>
>>
>


Re: flex unit test can't install

2016-09-29 Thread Kyle McKnight
I just found teh git repo though after you say that
https://github.com/apache/flex-flexunit and I do see the downloads.xml is
there


Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)

On Thu, Sep 29, 2016 at 1:02 PM, Kyle McKnight  wrote:

> I downloaded the source from the website https://flex.apache.
> org/download-flexunit.html. Would these not have the updated links?
>
>
> Kyle McKnight
> Senior UI Engineer - Accesso
> 602.515.1444 (M)
>
> On Thu, Sep 29, 2016 at 12:59 PM, Alex Harui  wrote:
>
>> How did you get the code?  From the repo or a release package?  If repo,
>> did you switch to the develop branch?
>>
>> -Alex
>>
>> On 9/29/16, 5:00 AM, "Kyle McKnight"  wrote:
>>
>> >I'm trying to build the FlexUnit 4 project.
>> >
>> >The thirdparty-downloads target fails because there is no downloads.xml
>> in
>> >the base directory.
>> >
>> >Kyle McKnight
>> >Senior UI Engineer - Accesso
>> >602.515.1444 (M)
>>
>>
>


Re: flex unit test can't install

2016-09-29 Thread Kyle McKnight
I downloaded the source from the website
https://flex.apache.org/download-flexunit.html. Would these not have the
updated links?


Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)

On Thu, Sep 29, 2016 at 12:59 PM, Alex Harui  wrote:

> How did you get the code?  From the repo or a release package?  If repo,
> did you switch to the develop branch?
>
> -Alex
>
> On 9/29/16, 5:00 AM, "Kyle McKnight"  wrote:
>
> >I'm trying to build the FlexUnit 4 project.
> >
> >The thirdparty-downloads target fails because there is no downloads.xml in
> >the base directory.
> >
> >Kyle McKnight
> >Senior UI Engineer - Accesso
> >602.515.1444 (M)
>
>


Re: flex unit test can't install

2016-09-29 Thread Alex Harui
How did you get the code?  From the repo or a release package?  If repo,
did you switch to the develop branch?

-Alex

On 9/29/16, 5:00 AM, "Kyle McKnight"  wrote:

>I'm trying to build the FlexUnit 4 project.
>
>The thirdparty-downloads target fails because there is no downloads.xml in
>the base directory.
>
>Kyle McKnight
>Senior UI Engineer - Accesso
>602.515.1444 (M)



Re: how to uninstall apache flex sdk installer

2016-09-29 Thread Alex Harui
Are you on a Mac or Win?  What error are you getting?

-Alex

On 9/29/16, 2:35 AM, "javig"  wrote:

>Hi Fuad,
>
>I´m having exactly the same problem than you.
>Do you finally find a solution for this problem?.
>
>Many thanks in advace!
>
>
>
>--
>View this message in context:
>http://apache-flex-users.246.n4.nabble.com/how-to-uninstall-apache-fle
>x-sdk-installer-tp1475p13673.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.



Re: Load External File

2016-09-29 Thread Alex Harui
For FlexJS, HTTPService has a send() method.  You would set the url
property before calling send().

HTH,
-Alex

On 9/29/16, 1:23 AM, "Lane"  wrote:

>I'm wanting to load an external file, as in:
>
>var myTextLoader:URLLoader = new URLLoader();
>
>myTextLoader.addEventListener(Event.COMPLETE, onComplete);
>myTextLoader.load(new URLRequest("myFile.html"));
>
>It appears that there is no 'load' option yet activated under URLLoader
>on 
>FlexJS. Is there a way to do this, other than using URLLoader and then
>load?
>
>Thanks,
>
>Lane. 
>
>
>---
>This email has been checked for viruses by Avast antivirus software.
>https://www.avast.com/antivirus
>



Re: Rookie ArrayCollection Question

2016-09-29 Thread bilbosax
Thanks for the heads up kamcknig.  I will read up!



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Rookie-ArrayCollection-Question-tp13649p13679.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


flex unit test can't install

2016-09-29 Thread Kyle McKnight
I'm trying to build the FlexUnit 4 project.

The thirdparty-downloads target fails because there is no downloads.xml in
the base directory.

Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)


Re: Rookie ArrayCollection Question

2016-09-29 Thread Matthew Weir
Do to only have access to the flex portion of the code?  Do you have the 
ability to manipulate the SQL or the web service?

Sent from Yahoo Mail on Android 
 
  On Wed, Sep 28, 2016 at 7:59 PM, bilbosax wrote:   So 
I have a 2D ArrayCollection that has about 40k records in it with about 40
elements in each record.  I need to add an element or property to the end of
each record so that each record now contains 41 elements, but have no idea
how to do this.  Any suggestions?



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Rookie-ArrayCollection-Question-tp13649.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
  


Re: Rookie ArrayCollection Question

2016-09-29 Thread Kyle McKnight
Actually you would need to do new
ArrayCollection(compArrayCollection.source.concat());

Also, this won't work if the elements of compArrayCollection are also
complex such as other ArrayCollections. You'd have to do a deep copy.

Here is a stackoverflow that goes over it.

http://stackoverflow.com/questions/7918194/how-can-i-copy-an-arraycollection-of-transfer-objects-in-actionscript


Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)

On Thu, Sep 29, 2016 at 6:19 AM, Kyle McKnight  wrote:

> ArrayCollections are a complex data type  meaning they are passed around
> by reference. You are actually passing a pointer to the array. The pointer
> points to the memory location. You'll have to make a copy of the array.
>
> Try
>
> Comps.dataProvider = compArrayCollection.source.concat();
>
> Google passing by value and passing by reference to learn the difference
> between how simple and complex data types are handled
>
> On Sep 29, 2016 2:17 AM, "bilbosax"  wrote:
>
>> Thanks again for the help Justin.  Have another question for you regarding
>> ArrayCollections.  My main app loads an ArrayCollection from a service.  I
>> then pass it to an ArrayCollection in a component by a simple assignment:
>>
>> Comps.dataArrayCollection = compArrayCollection;
>>
>> So I am setting the dataArrayCollection in my Comps component to the
>> values
>> in my compArrayCollection in the main app.  What is weird though is that
>> whenever I change any values in the dataArrayCollection, they are also
>> changing back in my compArrayCollection back in the main app.  I don't
>> want
>> this to happen, I want their values to be independent of one another once
>> the values are passed.  Is there any way to make this not happen?
>>
>> Thanks,
>> Bill
>>
>>
>>
>> --
>> View this message in context: http://apache-flex-users.2
>> 46.n4.nabble.com/Rookie-ArrayCollection-Question-tp13649p13662.html
>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>


Re: how to uninstall apache flex sdk installer

2016-09-29 Thread javig
Hi Fuad,

I´m having exactly the same problem than you.
Do you finally find a solution for this problem?.

Many thanks in advace!



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/how-to-uninstall-apache-flex-sdk-installer-tp1475p13673.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Rookie ArrayCollection Question

2016-09-29 Thread Kyle McKnight
ArrayCollections are a complex data type  meaning they are passed around by
reference. You are actually passing a pointer to the array. The pointer
points to the memory location. You'll have to make a copy of the array.

Try

Comps.dataProvider = compArrayCollection.source.concat();

Google passing by value and passing by reference to learn the difference
between how simple and complex data types are handled

On Sep 29, 2016 2:17 AM, "bilbosax"  wrote:

> Thanks again for the help Justin.  Have another question for you regarding
> ArrayCollections.  My main app loads an ArrayCollection from a service.  I
> then pass it to an ArrayCollection in a component by a simple assignment:
>
> Comps.dataArrayCollection = compArrayCollection;
>
> So I am setting the dataArrayCollection in my Comps component to the values
> in my compArrayCollection in the main app.  What is weird though is that
> whenever I change any values in the dataArrayCollection, they are also
> changing back in my compArrayCollection back in the main app.  I don't want
> this to happen, I want their values to be independent of one another once
> the values are passed.  Is there any way to make this not happen?
>
> Thanks,
> Bill
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Rookie-ArrayCollection-Question-tp13649p13662.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


RE: Load External File

2016-09-29 Thread Kessler CTR Mark J
You can use FileReference[1] to load a file.  Browse for the file, load it.  
Once the complete event is dispatched you should be able to use the "data" 
property to access the file data.

If you need to you can convert the ByteArray to string just by casting it.



[1] 
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html


-Mark

-Original Message-
From: Lane [mailto:lanefrie...@hotmail.com]
Sent: Thursday, September 29, 2016 4:23 AM
To: users@flex.apache.org
Subject: [Non-DoD Source] Load External File

I'm wanting to load an external file, as in:

var myTextLoader:URLLoader = new URLLoader();

myTextLoader.addEventListener(Event.COMPLETE, onComplete);
myTextLoader.load(new URLRequest("myFile.html"));

It appears that there is no 'load' option yet activated under URLLoader on
FlexJS. Is there a way to do this, other than using URLLoader and then load?

Thanks,

Lane.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: Problem using latest SDK in Flashbuilder

2016-09-29 Thread OK
>I assume I don’t need them in the Flash builder directory as well. 
To my knowlegde is's definately crucial to manually add the SDK to your IDE
as it is described in the above link.
But if it already appears in your project as default project it seems to be
ok. Maybe you want to double check it: Right click at your
project->Properties->Flex compiler:
The 'default' or 'specifik' SDK should point to 4.15.0.

Sometimes FlashBuilder is a bit messy and sometimes it is helpful to 'clean'
a project:
Try "Project->Clean..." from the toolbar.

HTH,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problem-using-latest-SDK-in-Flashbuilder-tp13667p13672.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Load External File

2016-09-29 Thread Lane
I'm wanting to load an external file, as in:

var myTextLoader:URLLoader = new URLLoader();

myTextLoader.addEventListener(Event.COMPLETE, onComplete);
myTextLoader.load(new URLRequest("myFile.html"));

It appears that there is no 'load' option yet activated under URLLoader on 
FlexJS. Is there a way to do this, other than using URLLoader and then load?

Thanks,

Lane. 


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: Problem using latest SDK in Flashbuilder

2016-09-29 Thread Richard Hirstle
Thanks - that’s good to know.

To be clear if I try to create a new project the SDK (Apache Flex 4.15.0 FP20.0 
en_US) appears
as the default SDK but if I try to use it I get the “Flash Builder only 
supports  ….” message.

Looks as if all the XML files etc are in the correct directories in the 
installed SDK directory so I assume
I don’t need them in the Flash builder directory as well.

Cheers

Richard


-- 
Richard Hirstle
Sent with Airmail

On 29 September 2016 at 5:28:11 PM, OK (p...@olafkrueger.net) wrote:

BTW:  
Don't hesitate to ask if you stuck with a problem. I'm sure anybody here  
will be glad to help.  



--  
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problem-using-latest-SDK-in-Flashbuilder-tp13667p13669.html
  
Sent from the Apache Flex Users mailing list archive at Nabble.com.  


Re: Problem using latest SDK in Flashbuilder

2016-09-29 Thread OK
BTW:
Don't hesitate to ask if you stuck with a problem. I'm sure anybody here
will be glad to help.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problem-using-latest-SDK-in-Flashbuilder-tp13667p13669.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Problem using latest SDK in Flashbuilder

2016-09-29 Thread Richard Hirstle
Hi 

Apologies for the naivety of this question but I have successfully installed 
the latest SDK (windows) and want to start using it in Flash builder 4.6. If I 
try to create a new project I get the message 'Flash builder 4 only supports 
Flex SDK 3.9 and higher. 

Can someone tell me what I am missing? 

Cheers 

Richard 

-- 
Richard Hirstle
MD Evolution Software
m: 0438 858 025

Problem using latest SDK in Flashbuilder

2016-09-29 Thread Richard Hirstle
Hi 

Apologies for the naivety of this question but I have successfully installed 
the latest SDK (windows) and want to start using it in Flash builder 4.6. If I 
try to create a new project I get the message 'Flash builder 4 only supports 
Flex SDK 3.9 and higher. 

Can someone tell me what I am missing? 

Cheers 

Richard 

-- 
Richard Hirstle
Sent with Airmail

Re: Rookie ArrayCollection Question

2016-09-29 Thread Justin Mclean
Hi,

> So I am setting the dataArrayCollection in my Comps component to the values
> in my compArrayCollection in the main app.  What is weird though is that
> whenever I change any values in the dataArrayCollection, they are also
> changing back in my compArrayCollection back in the main app.

Not weird at all what you have is two array collections that contains 
references to the same objects, if you change one then other one will also 
changes.

Code like this:
var ac:ArrayCollection = new ArrayCollection(someArray);

or this:

var ac:ArrayCollection = new ArrayCollection(otherAC.source);

Will make a shallow copies like this.

>  I don't want this to happen, I want their values to be independent of one 
> another once
> the values are passed.  Is there any way to make this not happen?

In that case you need to duplicate or deep copy the objects one way to do this 
is this:

var ac:ArrayCollection = new ArrayCollection(ObjectUtils.copy(otherAC.source) 
as Array);

But realise you now have doubled the memory needed to store everything.

Thanks,
Justin

Re: Rookie ArrayCollection Question

2016-09-29 Thread Deepak MS
var arr:Array = ObjectUtil.copy(compArrayCollection.toArray()) as Array;
Comps.dataArrayCollection = new ArrayCollection(arr);

On Thu, Sep 29, 2016 at 12:01 PM, Deepak MS 
wrote:

> try this:
>
> Comps.dataArrayCollection = (ObjectUtil.copy(compArrayCollection.toArray())
> as Array);
>
> On Thu, Sep 29, 2016 at 11:41 AM, bilbosax  wrote:
>
>> Thanks again for the help Justin.  Have another question for you regarding
>> ArrayCollections.  My main app loads an ArrayCollection from a service.  I
>> then pass it to an ArrayCollection in a component by a simple assignment:
>>
>> Comps.dataArrayCollection = compArrayCollection;
>>
>> So I am setting the dataArrayCollection in my Comps component to the
>> values
>> in my compArrayCollection in the main app.  What is weird though is that
>> whenever I change any values in the dataArrayCollection, they are also
>> changing back in my compArrayCollection back in the main app.  I don't
>> want
>> this to happen, I want their values to be independent of one another once
>> the values are passed.  Is there any way to make this not happen?
>>
>> Thanks,
>> Bill
>>
>>
>>
>> --
>> View this message in context: http://apache-flex-users.2
>> 46.n4.nabble.com/Rookie-ArrayCollection-Question-tp13649p13662.html
>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>
>


Re: Rookie ArrayCollection Question

2016-09-29 Thread Deepak MS
try this:

Comps.dataArrayCollection = (ObjectUtil.copy(compArrayCollection.toArray())
as Array);

On Thu, Sep 29, 2016 at 11:41 AM, bilbosax  wrote:

> Thanks again for the help Justin.  Have another question for you regarding
> ArrayCollections.  My main app loads an ArrayCollection from a service.  I
> then pass it to an ArrayCollection in a component by a simple assignment:
>
> Comps.dataArrayCollection = compArrayCollection;
>
> So I am setting the dataArrayCollection in my Comps component to the values
> in my compArrayCollection in the main app.  What is weird though is that
> whenever I change any values in the dataArrayCollection, they are also
> changing back in my compArrayCollection back in the main app.  I don't want
> this to happen, I want their values to be independent of one another once
> the values are passed.  Is there any way to make this not happen?
>
> Thanks,
> Bill
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Rookie-ArrayCollection-Question-tp13649p13662.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Rookie ArrayCollection Question

2016-09-29 Thread bilbosax
Thanks again for the help Justin.  Have another question for you regarding
ArrayCollections.  My main app loads an ArrayCollection from a service.  I
then pass it to an ArrayCollection in a component by a simple assignment:

Comps.dataArrayCollection = compArrayCollection;

So I am setting the dataArrayCollection in my Comps component to the values
in my compArrayCollection in the main app.  What is weird though is that
whenever I change any values in the dataArrayCollection, they are also
changing back in my compArrayCollection back in the main app.  I don't want
this to happen, I want their values to be independent of one another once
the values are passed.  Is there any way to make this not happen?

Thanks,
Bill



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Rookie-ArrayCollection-Question-tp13649p13662.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.