CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Adding Flash to CCS 2

Print topic Send  topic

Author Message
NBDesign
Posted: 05/16/2003, 6:11 PM

On your HTML page, add a label to the page where you want your Flash to show.

Use the Before Show function and add this code:

label1.Value = "<div align=center><object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 width=760 height=58><param name=movie value=??????.swf><param name=quality value=high><param name=LOOP value=false><embed src=??????.swf width=760 height=58 loop=false quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash></embed></object></div>"

Replace ??????.swf with the name of your flash file. The flash file will have to be in the same folder as the html page, or modify: src=??????.swf with soemthing like this src=../flashFiles/??????.swf

Hope this helps... works for me. :-)


NBDesign
Posted: 05/16/2003, 6:18 PM

I forgot to mention to set the label properties from Text to HTML.

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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