We're trying to create an (associative) array of images in
actionscript. Is there a way to embed an image using an inline
syntax? The best I've been able to do is this which is a bit cumbersome.
[Embed(source=assets/blank.gif)]
static var blank:String;
...
images[blank] = blank;
This
Couldnt you just do this in an
Assets object?
class Assets
{
[Embed()]
public var blank:String;
}
var images:Assets = new Assets();
Matt
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Raymond
Sent: Thursday, October 20, 2005
2 matches
Mail list logo