In the as3 compiler, assets are embedded into the binary at compile
time using this syntax:

    [Embed(source="embeds/photo.jpg")]
    private var Photo:Class;

    [Embed(source="embeds/line.svg")]
    private var SVGLine:Class;

    [Embed(source="embeds/fp9app.swf")]
    private var FP9App:Class;

    [Embed(source="embeds/fp8app.swf", symbol="Ball")]
    private var FP8Ball:Class;

    [Embed(source="embeds/fp9app.swf", mimeType="application/octet-stream")]
    private var FP9BinaryData:Class;

When we compile an app, we need to have a way to support adding these
to the as3 code which is emitted.
Maybe as a compiler #pragma in Laszlo script?

#pragma embedAsset(source="resources/foo.swf")

?





-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to