1 Reply Latest reply on Jul 8, 2008 6:30 AM by SujitG

    set dynamic path at runtime

      Hi All,

      I am trying embed different images to [embed] property...
      here is my code

      public var imageUrl:String = "defaultLogo.png";

      please tell me how can we add images at runtime to "embed source".

      thanks in advance
        • 1. Re: set dynamic path at runtime
          SujitG Level 2

          You meant compile time right? Embed is the tag which will embed the resources in the SWF at compile time.
          I don't think what ever you are trying to do is possible because "+" is an operator and is executed during run time, where as the Embed is a meta tag which is executed at compile time.

          Just my thought :)

          Hope this helps.