I am trying to embed a cfchart file... it doesn't matter if it is png or jpg either, but I can't get it to work.
Main Topics
Browse All TopicsIs there a way to include a html page in one of my flash forms, similar to making an iframe?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Try this:
<cfchart
format="jpg"
chartwidth="400"
chartheight="200"
scalefrom="155"
scaleto="160"
gridlines="10"
showxgridlines="yes"
showlegend="no"
seriesplacement="default"
databackgroundcolor="FFFFF
font="Arial"
fontsize="11"
labelformat="number"
xaxistitle="Day"
yaxistitle="Avg"
show3d="no"
tipstyle="mouseOver"
showmarkers="yes"
markersize="5"
name="flashImg">
<cfchartseries
type="line"
query="myQueryName"
itemcolumn="newDate"
valuecolumn="NewPrice"
serieslabel="TheAvg"
seriescolor="0000FF"></cfc
</cfchart>
<cffile action="WRITE" file="c:\wwwroot\flashImag
Notes: The cffile output should be the name assign in the chart.
then, in the cfform
<cfformitem type="html" height="220" width="400" visible="Yes" enabled="Yes">
<img src="flashImage.jpg" />
</cfformitem>
Michael
I am using this exact code now and it works like a charm.
1. Make sure you are writing the image to the directory containing the page (not a subdirectory or an image folder under thie directory).
2. Check the directory you are writing the image to and make sure the image is there.
3. Check the coldfusion-out.log file for an error.
Michael
Business Accounts
Answer for Membership
by: trailblazzyr55Posted on 2005-08-04 at 20:33:00ID: 14604648
You can add html with <cfformitem type="html">, I'm not sure specifically what you are trying to do, but this would be how you would include html in a cfform with attribute "flash".
~trail