You're outputting the flash twice.

<cfcontent type="application/x-shockwave-flash"
variable="#qPromoImage.promoFlash#">

That says to output the content directly from the variable.

Then you have;

<cfoutput>#qPromoImage.promoFlash#</cfoutput>

That tries to output it again. This line is unnecessary.

However, according to the docs, the cfoutput will be ignored anyway,
but you should still remove it.

You can verify that the file is being served properly by linking to
your appFlashPrep.cfm in an <a> tag and using a right-click save-as on
the link in your browser. Save the content as a .swf file and try
opening it.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



2009/10/18 Kim Hoopingarner <[email protected]>:
>
> Small correction - the appFlashPrep.cfm is this:
>  <!--- retrieves the binary data from the BLOB in Oracle --->
>  <cfinvoke component="cfc.msr_promotions" method="getPromoImage"
>  returnvariable="qPromoImage"></cfinvoke>
>
>  <cfcontent type="application/x-shockwave-flash" variable="#qPromoImage.
>  promoFlash#">
>
>  <cfoutput>#qPromoImage.promoFlash#</cfoutput>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327301
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to