pupsnow / flex-object-handles

Automatically exported from code.google.com/p/flex-object-handles
0 stars 0 forks source link

how to creare "$f = array(array ( 'category_ids' => array ( 'eq' => 35) ));" this type of array in flex #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
php array:
$f = array(array ( 'category_ids' => array ( 'eq' => 35) ));

i try to:

var arrParams:Array = new Array();
var arrCats:Array = new Array();
var arrAtts:Array = new Array();

arrAtts.push({eq:35});

arrCats.push({category_ids:arrAtts});
arrParams.push(arrCats);

Original issue reported on code.google.com by abidr...@gmail.com on 7 Sep 2009 at 4:04

GoogleCodeExporter commented 9 years ago
You're mixing the concept of JSON with general AS3 arrays.  Unfortunately this 
issue
lies outside the scope of ObjectHandles.

Original comment by marc.hug...@gmail.com on 22 Dec 2009 at 3:48