1 Reply Latest reply on Aug 4, 2008 5:41 PM by Gregory Lafrance

    Embedding multiple images?

    johnnyleitrim
      I have been using the [Embed] tag for a while and everything works fine in simple cases. The particular issue I am having is that I have about 40 images that make up an animation. I wish to embed these 40 images, but is there a better way that just having 40 different [Embed] tags in my code?

      I was hoping that there might be some regular expression for it:

      [Embed(source="images/animation-*.png")]
      private var images:Array;

      Obviously the above does not work, but is there some equivalent? It seems very cumbersome to have to specify individual [Embed] tags for every image.

      Thanks,
      John.