I'm getting an error:
TypeError: Error #2022: Class PlayerResource$ must inherit from
DisplayObject to link to a symbol.
for the class, which looks like this:
package com.powtoon.assets
{
import flash.utils.ByteArray;
[Embed(source="../../../../assets/hx-player.swf",
mimeType="application/octet-stream")]
public class PlayerResource extends ByteArray { }
}
When this is compiled with Falcon, this must be incorrectly linked to
a (wrong kind of) symbol?
The relevant bit of the Ant build script looks like this:
<mxmlc file="${basedir}/as3/com/powtoon/preloader/PreloaderFrame.as"
output="${basedir}/bin/player-next.swf"
static-link-runtime-shared-libraries="true"
debug="${debug}" use-network="true"
warn-unlikely-function-value="false"
optimize="true">
<frame label="start" classname="com.powtoon.player.PlayerNext"/>
<includes>com.powtoon.assets.PlayerResource</includes>
Best,
Oleg