Is there a easy / good way of getting the url from the URLLoader object? It seems at least two other people (this guy and this this guy) have wondered the same thing. Maybe we can get an answer here on s.o.?
package
{
import flash.net.URLLoader;
import flash.net.URLRequest;
public dynamic class urlURLLoader extends URLLoader
{
private var _req:URLRequest;
public function urlURLLoader( request:flash.net.URLRequest = null ):void
{ super( request );
_req = request;
}
public override function load( request:flash.net.URLRequest ):void
{ _req = request;
super.load( request );
}
public function get urlRequest( ):URLRequest
{ return _req;
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With