Month: December 2008
How Load Runner Works
Event Propagation Phases
There are three phases in event propagation where Flex looks for event listeners: Capturing phase: Flex checks to see which ancestors are registered as listener’s for the event starting from the root application object to the direct ancestor of the target Targeting phase: Flex invokes the target’s event listeners Bubbling phase: Each registered listener is […]
Event Propagation Phases
There are three phases in event propagation where Flex looks for event listeners: Capturing phase: Flex checks to see which ancestors are registered as listener’s for the event starting from the root application object to the direct ancestor of the target Targeting phase: Flex invokes the target’s event listeners Bubbling phase: Each registered listener is […]
Update XML object
Its not easy to update XML object with Flex 3.0 and theres a work around… Lets walk with the example… Lets assume, you have xml object <root><child name=”c1″/></root> and update to <root><child name=”c1″>am child</child></root> var xmlObj:XML = new XML (<root><child name=”c1″/></root>); delete xmlObj.child[0]; param.appendChild( new XML(<child name=”c1″> am child</child>) ); Attribute xmlObj.child[0].@name = “am 1”;
Update XML object
Its not easy to update XML object with Flex 3.0 and theres a work around… Lets walk with the example… Lets assume, you have xml object <root><child name=”c1″/></root> and update to <root><child name=”c1″>am child</child></root> var xmlObj:XML = new XML (<root><child name=”c1″/></root>); delete xmlObj.child[0]; param.appendChild( new XML(<child name=”c1″> am child</child>) ); Attribute xmlObj.child[0].@name = “am 1”;