Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XAJAX + Open Flash Chart not rendering chart. Please help!

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
I have PHP scripts which uses XAJAX to emulate an AJAX call to a user defined function. Called function then uses
Code:
	///////
		$_SESSION['error']='; $_SESSION['procfailed']=0;
		ob_start();
		include $filename;
		$contents = '<center>' . ob_get_contents() . '</center>';
		ob_end_clean();
	///////
to load what would be the rendered content which in turn is pushed back to calling script using XAJAX standard code (return $objResponse after having set $objResponse accordingly).

Everything about the expected page is shown (data grid and all basic HTML content) but not the flash object or the chart.

Running in debug mode, I can see that the code for the flash object is there but the movie itself does not show.

If I bypass the calling script and execute the PHP script which is responsible for rendering the data grid and the chart graph, it works fine.

Any suggestions?

thank you all in advance!


--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top