Thank you Troy for answer, what about arrays of embedded images, It will be nice to refer via index, what do you think, is it possible?
--- In flexcoders@yahoogroups.com, "Troy Gilbert" <[EMAIL PROTECTED]> wrote: > > That piece of code should be giving you a warning... I don't think you can > bind to static instances because the binding mechanism uses an object as > it's root, and in the case of a static there is no object. > > This is one situation where a Singleton is a "good thing" and is the reason > (I believe) why Cairngorm and other similar MVC architectures use a > singleton for their ModelLocator instead of statics. > > I got bit with exactly the same issue. Just make your class a singleton and > it'll all work out. > > Troy.