Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[e4-dev] Image embedding in E4 AS3

I'm trying to workout how to embed an image in E4 AS3.

I see that the compiler creates a resource class with all the resources e.g.:

package {

public class Resources {

[Embed(source="test/test.png", mimeType="image/png")]
public var test_test_png:Class;

}
}

But I can't work out how to access this without resorting to native code. Are there some classes around that I'm missing?

Thanks in advance,

From Richard.

Back to the top