How can I make this work? Basically I want to load an image from a URL, then set it as bitmapData, as shown below (down incorrect)…
var imageLoader:Loader = new Loader();
var image:URLRequest = new URLRequest("http://www.mysite.com/hair/hair_" + hairStyleId + "_" + hairColorId);
imageLoader.load(image);
hairBitmap = new imageLoader(0,0) as BitmapData;