CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to pass variable to data page

Print topic Send  topic

Author Message
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/&#13;&#10;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">

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.