There is a way - if you want to use a zip file. You can embed the whole zip file containing all of the images into your application. Then, open the zip file at runtime to retrieve the images you need. You can write your own zip util, or, as shown below, just use the free one from nochump:
When you call the zip.getInput() function, that's when that single zip entry's contents are extracted, so use that call only when you are ready to pull out a specific file.
Here's an entire demo application:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Script>
<![CDATA[
import nochump.util.zip.ZipEntry;
import nochump.util.zip.ZipFile;
[Embed(source="images.zip",mimeType="application/octet-stream")]
private var imagesZip:Class;
protected function init():void
{
var theImages:Object = new imagesZip();
var zip:ZipFile = new ZipFile(theImages as IDataInput);
for each(var entry:ZipEntry in zip.entries)
{
var fileName:String = entry.name.toLowerCase();
if(fileName == "image2.jpg")
{
var loader:Loader = new Loader();
this.rawChildren.addChild(loader);
loader.loadBytes(zip.getInput(entry));
}
}
}
]]>
</mx:Script>
</mx:Application>
I hope that helps you out!