Hey
I’m loading thumbnail images from youtube and upon adding them to the stage I have encountered some issues.
If I simply addChild the loader to my parent it all works nice and dandy both locally and uploaded,
if I convert it to bitmapdata, it works locally but not uploaded.
Any thoughts on why I’m having this problem?
[LEFT]Note: The commented section is the one that is working locally but not uploaded.
[/LEFT]
private function buildThumb() : void {
$loader = new Loader();
$loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
$loader.load(new URLRequest(DataProxy.getInstance().getPlaylists()[$playlist][$id].thumbnail.image));
addChild($loader);
}
private function onComplete(e : Event):void{
// var bmp:Bitmap = new Bitmap(Convert.TO_BITMAPDATA($loader));
// this.addChild(bmp);
}