PDA

View Full Version : [Embed(source="images/default_noImage.png")]


uncle
12-06-2007, 10:07 AM
Hi all!

Is there a way of doing this in a .as file?

[Embed(source="images/default_noImage.png")]
private var defaultNoImage:Class;

It only works for me within a .mxml file.

regards
/u

dr_zeus
12-06-2007, 06:06 PM
Can you explain in more detail what the problem is? Embed metadata works just fine in ActionScript files.