I have built a galaxy of data structures, in a hierarchical order. I can easily transverse and zero-on onto the object given a few params.
Now what i want to do is write an E4X like statement like: var myObject:Object = car.objects().(name() == "radiator" && @id =="PART2234" && @r=="12"); and it calls name() of my carpart object, and retrieve id, r..... my carpart class is dynamic Here are a few points on my class. 1. Objects() will return an Array of various car parts like radiator, carb, hoses, enginebox etc etc 2. i wanna avoid filtering using filter function callbacks in arraycollection..... just wanna enable use of e4x like expressions in my class 3. all my classes returned by objects() are of type class partbase which does not have a base class (like XML, XMLList) I opened Global.as. and looked at XMLList nd XML class headers.. pretty straight, has no base class nothing at all to raise eyebrows. Oh i get an run time error: TypeError: Error #1123: Filter operator not supported on type com.parts.EngineBlock an object of com.parts.EngineBlock was in the first of the Objects array... Thanks a ton, ady