ASPNETnewbie
Programmer
Hi,
I have a .swf object that I would like to wrap in a User Control along with other server controls. Basically what I want to happen is to allow users to specify the WIDTH, HEIGHT, DATASOURCE properties for the embedded Flash File
( which uses the information to generate a Pie or BarChart depending on Input collected from user at run time).I have the code below for my flash object and would like to have this all work from within the same User control.
What is the best way to take the code below apart at run time and then put it all back together at runtime using information inputted by user?
ASPNETNEWBIE
I have a .swf object that I would like to wrap in a User Control along with other server controls. Basically what I want to happen is to allow users to specify the WIDTH, HEIGHT, DATASOURCE properties for the embedded Flash File
( which uses the information to generate a Pie or BarChart depending on Input collected from user at run time).I have the code below for my flash object and would like to have this all work from within the same User control.
What is the best way to take the code below apart at run time and then put it all back together at runtime using information inputted by user?
ASPNETNEWBIE
Code:
<object id="FC_2_3_Column3D" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"height="350"[/URL] width="700">
<param name="movie" value="../Charts/FC_2_3_Column3D.swf">
<param name="FlashVars"value=" &dataURL=Data.xml&chartWidth=700&chartHeight=350">
<param name="quality" value="high">
<param name="bgcolor" value="#FFFFFF">
<embed bgcolor="#FFFFFF" flashvars="&dataURL=Data.xml&chartWidth=700&chartHeight=350" height="350" name="FC_2_3_Column3D" pluginspage="[URL unfurl="true"]http://www.macromedia.com/go/getflashplayer"[/URL]
quality="high" src="../Charts/FC_2_3_Column3D.swf" type="application/x-shockwave-flash"
width="700"></embed>
</object>