Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Vega webforumsuser@macromedia.com #1
Matching values of an 2 arrays then move
i am pulling data via the param tags in to 2 different arrays. Here is what I want to happen:
when value1 of the first array matches pullDate of the 2nd array i want to move date_mc to a specific _x _y location. what i am i doing wrong.
arr = [value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, value17, value18, value19, value20, value21, value22, value23, value24,];
pullDate = new Array (pullDate)
matchData = function (value1,pullDate){
if (value1==pullDate) {
trace ("working");
date_mc._x = 87
date_mc._y = 64
}
}
thanks,
vega
Vega webforumsuser@macromedia.com Guest
-
Nesting Arrays within arrays.
How do i nest an array inside another array? something like array(i).aray2(j); Can I do that? -
Looking up values in arrays?
use List::Util "first"; sub has_element($$) { my( $aref, $value ) = @_; first { $aref-> eq $value } 0..$#$aref } ? -
Sort a hash based on values in the hash stored as arrays of hashes
Hmm. I'm not quite sure if I got the subject right, but I'll try to explain. :-) I've got a hash of elements stored like this: $VAR1 = {... -
Matching array index to values retrieved from database
Hello friends, I have this dynamic array(shown below) that I need to match to values (1 - 10) that I am returning from the database via DSN... -
Finding the non-matching values collection/array
Hi all, Ok, lets say I have the following, Request.Form collection which produces this (as the element names) a b c d



Reply With Quote

