title: load a variable in URLRequest .?
body: <p>what  want to make is let people submit a URL and then show the image on the stage ..
  so i went an wrote my code but it doesn't work as i expected .. here is the code </p>
  
  <pre><code>var myurl:String ; // a var to load the text in it
  var reques:URLRequest = new URLRequest (myurl) ; // the urlrequest (i know that this only accept strings but what to do !!)
  var loader:Loader = new Loader(); // the loader
  
  
  loadit.addEventListener (MouseEvent.CLICK , loadthatimage ) //  button
  
  function loadthatimage (ev : MouseEvent){
  myurl = geurl.text ;  // geurl is the txt box i have on the stage
  loader.load (reques);
  addChild(loader);
  
  }
  </code></pre>
  
  <p>some help would be appreciated .. thanks in advance</p>