I was wondering if someone could help, as I am not much of an actionscript guru.

I just inherited some code that produces an embedded rdio music player into a swf. It works great in firefox and safari, except the embedded player does not appear in Firefox...

Is this a common issue with the Loader class or contentLoaderInfo events?


import flash.display.Loader;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.*;
import flash.net.URLRequest;


flash.system.Security.allowDomain('rd.io');
flash.system.Security.allowDomain('rdio.com');


/* AD SPECIFIC VARIABLES */

var loader_url:String = 'rd.io/e/QUzrrjNWMC8/220/500/';
var loader_x:int = 40;
var loader_y:int = 50;


/* RDIO EMBED */


stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
var loader:Loader = new Loader();
loader.load( new URLRequest(loader_url) );
loader.contentLoaderInfo.addEventListener(Event.CO MPLETE, loaderDone);
var sprite:Sprite = this;
function loaderDone(event: Event):void
{
event.target.removeEventListener(Event.COMPLETE, loaderDone);
loader.x = loader_x;
loader.y = loader_y;
sprite.addChild(loader);
}