muhd fauzi
|
| Posted: 01/03/2006, 6:27 PM |
|
I have a page with flash chart embed. The flash graph requires xml data provide under DATAURL as shown in code below.
<object id="FC_2_3_StckdColumn3D" codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,0,0" height="420" width="700" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="./charts/FC_2_3_StckdColumn3D.swf">
<param name="FlashVars" value="&dataURL=AggSummHourlyCountryXml.asp&s_country=USA&s_callyear=2005&s_callmonth=10&s_callday=7&chartWidth=700&chartHeight=420">
<param name="quality" value="high">
<param name="bgcolor" value="#FFFFFF">
<embed src="./charts/FC_2_3_StckdColumn3D.swf" flashvars="&dataURL=AggSummHourlyCountryXml.asp" quality="high" bgcolor="#FFFFFF" width="700" height="420" name="FC_2_3_StckdColumn3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>
The issue is that the passing paramenter cannot completely parsed by the data provide thus it return no data.
My question is how do I ensure that the data passed to the data provider works<param name="FlashVars" value="&dataURL=AggSummHourlyCountryXml.asp&s_country=USA&s_callyear=2005&s_callmonth=10&s_callday=7&chartWidth=700&chartHeight=420">
TIA
|
|
|
 |
muhd fauzi
|
| Posted: 01/03/2006, 6:39 PM |
|
managed to solved it after converting the urlencode it
<param name="FlashVars" value="&dataURL=AggSummHourlyCountryXml.asp%3Fs_country={country}%26s_callyear={callyear}%26s_callmonth={callmonth}%26s_callday={callday}%26chartWidth=700%26chartHeight=420">
|
|
|
 |
|