PDA

View Full Version : How to integrate Asp.net with Flex 2.0?


tanusree
10-03-2007, 10:37 AM
I have created a MXMl file. Now I want to integrate with web form of Asp.net.

In the web form I have written:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
id="MArketWatch">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="MarketWatch.swf" />
<param name="quality" value="high" />
<param name="loop" value="true" />
<param name="bgcolor" value="#ffffff" />
</object>

Can anyone please tell me what I'm missing here.

box86rowh
10-03-2007, 03:59 PM
you seem to be missing embed tags..I use:


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="file" width="810"
height="570" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
<param name="movie" value='file.swf' />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#869ca7" />
<param name="allowScriptAccess" value="sameDomain" />
<embed src='file.swf' quality="high" bgcolor="#869ca7" width="810"
height="570" wmode="transparent" name="file" align="middle" play="true" loop="false" quality="high"
allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer">
</embed>
</object>