2 Replies Latest reply on Aug 6, 2006 12:55 AM by Newsgroup_User

    javascript document.all equivalent array or way

    Level 7
      Does anybody knows if there are in Flex an equivalent array from
      Javascript "document.all['name_of_component']" to get a specific object.

      The final target of this issue is for one thing that i dont know if cant
      made with AS3 and i use frecuentlly in Javascript for DHTML purposes:

      public function setProp(obj:String, prop:String, val:*):void{

      var o:Object= (get the object indicated by obj parameter)


      To get the object indicated by obj parameter could use getChildByName
      but this method doesnt found childs components inside a child component.

      Can anybody help me?

      Thanks in advance.