1 Reply Latest reply on Aug 14, 2007 3:34 AM by koushks

    FLEX application integration in HTML page!!

      Hi there,,,

      I have dev.swf file. now i wanted to integrate this file to my html page. i have written code in HTML page like

      <object id='flexApp' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase=' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,5,0,0' height='200' width='400'>
      <param name='flashvars'/>
      <param name='src' value='dev.swf'/>
      <embed name='flexApp' pluginspage=' http://www.macromedia.com/go/getflashplayer' src='dev.swf'/>

      In flex builder the HTML page showing currect output but when we run this file as seperate html with IE or Mozilla , its just showing flex frame not the the desire out of dev.swf...

      is it require that we have to call this html page through any web server ???

      can anybody has suggestion?
        • 1. Re: FLEX application integration in HTML page!!
          Flex builder generates a html file for every MXML application, once you run it. The html file usually exists in the bin folder as <mxml application name>.html
          You can directly use this html file instead of coding it yourself.

          Note that you will also need other files in the bin folder to make your flex app work (like history.swf, AC_OETags.js etc). Your best bet would be to deploy the whole bin folder. That should work.