Namespaces question

Can anyone help me out with this one?

i’m passing a xml from my flex app to a loaded Flash swf.
I’m trying to get the data from the xml using e4x. But I can’t seem to get this trace to show what I want… The problem is the namespaces I think. Anyone here who can help me out with this?


stop();

var tempuri:Namespace = new Namespace("http://tempuri.org/");
var shemas:Namespace = new Namespace("http://schemas.xmlsoap.org/soap/envelope/");
var w3:Namespace  = new Namespace("http://www.w3.org/2001/XMLSchema-instance");
var w32:Namespace  = new Namespace("http://www.w3.org/2001/XMLSchema");

var vb:XML = <projectvisual xmlns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <visual>
          <visual_link>lnk1</visual_link>
          <visual_type>img</visual_type>
          <visual_description>this is text n1</visual_description>
        </visual>
        <visual>
          <visual_link>link2</visual_link>
          <visual_type>img</visual_type>
          <visual_description>dit is text 2</visual_description>
        </visual>
        <visual>
          <visual_link>link3</visual_link>
          <visual_type>vid</visual_type>
          <visual_description>dit is een filmpje</visual_description>
        </visual>
      </projectvisual>



function testFunction():void{
    vb.addNamespace(tempuri);
    vb.addNamespace(shemas);
    vb.addNamespace(w3);
    vb.addNamespace(w32);
    
    
    trace(" testing...");    
    trace("----------------------");
    trace(vb.visual.visual_link);
    trace("----------------------");
    
}

testFunction();