If the XML object in question contains only a single node only the text value of the node will be returned : ToString : XML Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » XML » ToString »

 

If the XML object in question contains only a single node only the text value of the node will be returned


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

        var movieList:XML = <listName>My favorite movies</listName>;
        trace(movieList.toString());

    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo XML
» ToString