Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
fluffysocks #1
Array of objects copy
I have an array of objects, lets call it 'myArrayofObjects' I need to copy the
information from this array onto another array because it seems that
'myArrayofObjects' may be sent to garbage collection and any arrays that are
pointed at it get changed. I need to lose the reference to 'myArrayofObjects'
the array information is copied to another array. I have tried the slice
method but that doesn't seem to do anything. Any ideas?
fluffysocks Guest
-
Array out of Objects
Back in the old days of Flash, I was able to walk through all of the objects on the stage, and filter them by the type of object. I could then... -
How to search into an array of objects?
Hi, Is there a way to find an item into a array of object without parse each object? Ex: var : myArray : Array = new Array( {label : "cup",... -
Cannot Copy and Paste objects
Hi I cannot copy and paste any object in Acrobat Standard or Professional under Jaguar or Panther. I cannot even select with the "select" tool. ... -
array of objects
I currently have a number of buttons, which have image icons and when clicked, will display th associated image in a large viewing fram I would... -
What is this objects name in the array?!
I have this code sniplet.. function dragalong() { this.startDrag(); } function dropper() { this.stopDrag(); } -
fluffysocks #2
Re: Array of objects copy
Found that I had to use the 'shift' function to pull the elements out of one
array and move them to another. So the code in the 'for loop' should be
changed to: myNewArray = event.myArrayofObj.shift();
fluffysocks Guest
-
ntsiii #3
Re: Array of objects copy
var aCopy:Array = myArray.concat() //will also copy an array
If you need to copy an object, check out this link:
[url]http://www.darronschall.com/weblog/archives/000148.cfm[/url]
Tracy
ntsiii Guest



Reply With Quote

