0 Replies Latest reply on Jun 2, 2008 1:50 PM by ron.piterman

    Removing div with flash/flex from page crushes browser

    ron.piterman
      Hallo to all Flex experts !

      For an application based on dojo ( javascript ) we prototype the migration to flex -

      The application is very big, we already work on it more than 2 years, so we try to make the migration smooth by implementing parts of the application in flex.

      To do that, we dynamically open a div with an <object> / <embed> in it, and close it on demand, by calling javascript from flex, and simply remove the div from the document.

      Problem is: this results in a browser crash ! (linux, FF 2, Flash 9.0.31)

      So, what is the recommended way to do that ( without crashing the browser) ? how do we gracefully remove a flash/flex from the page ?

      Cheers,
      Ron