0 Replies Latest reply on Feb 19, 2010 12:15 PM by Jamie_Thompson

    Detecting Flash Player/SWF object in mx.HTML

    Jamie_Thompson Level 1

      I've been struggling with this for some time. Is there any way to:

      1. detect if there is a flash player/swf embedded in a page rendered in a mx.HTML object?
      2. get a reference to any/all embedded swf elements so I can test to see if they are playing?


      The only solution I can come up with would be navigate the DOM and search for "embed" and "object" tags. This wouldn't allow me to tell if they were playing, but I could check to see if they exist. Does anyone else have any other ideas? Is there an event I have overlooked?


      Currently using Flex 3.5 and AIR 1.5.x


      Thanks in advance,