Hi!
I am trying to load this URL that is a video player from my broadcast provider but I am getting an error saying Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.
This is the URL :SiteHosting
and I am using this code:
import flash.events.Event;
var l : Loader = new Loader();
var url : URLRequest = new URLRequest("http://www.sitehosting.com.br/controle/player.php?nome=djchambinho&servidor=streaming29.si tehosting.com.br&width=640&height=480&autostart=true&iframe=iframe&playerimg=http%3A%2F%2F sitehosting.com.br%2Fimagens%2Fhospedagemestreaming.png%3Fe%3D2%26u%3Ddjchambinho&playermo vie=&skin=&versao=PREMIUM");
l.load(url);
l.contentLoaderInfo.addEventListener(Event.COMPLETE,completo);
function completo(e:Event):void
{
addChild(l);
}
what am I doing wrong?
thank you