1 Reply Latest reply on Apr 2, 2008 7:14 PM by slaingod

    Run Flex App in Frame?

    odnamra
      1. Can I run a flex app in a frame? Like a nav bar at the top of an html page for example.
      2. Can the flex app register mouse clicks from an html frame that it is not running in?
      3. Can anyone point me to references on these subjects?

      Thank you very much.
        • 1. Run Flex App in Frame?
          slaingod Level 1
          Yes you should be able to. I've personally run it in an iframe.

          You can use javascript and ExternalInterface to possibly have some message from the html frame passed to the navbar. However, ExternalInterface has issues with having your page open in multiple tabs/windows, so you may need to randomize the id of the navbar if that is a concern.

          Just google ExternalInterface, for the most part.