1 Reply Latest reply on Sep 12, 2011 9:28 AM by Joe ... Ward

    Stage into DOM?





      I'm working on HTML+JS AIR app, and I need to develop some drawing - arrows beetwen DOM-elements. Since AIR doesn't support SVG I must use Flash drawing API, which isn't convinientin in use because it's shown above HTML and all HTML-elements, regardless of it's z-index. (i.e. it's always above popups, and hiding-showing of items isn't looking good because popups are shown with different effects)



      Is there any opportunity to embed stage with arrows *inside* DOM?

        • 1. Re: Stage into DOM?
          Joe ... Ward Level 4

          I believe data URLs are now supported, so you could create a graphic in Flash and convert it to a data URL to insert into the DOM.


          Also the Sifr technique could work here (only for graphics rather than text) -- i.e. small embed swfs displaying an arrow.