Thanks for all the help, finally i figuered it out, i just made of couple of 
changes like http:// instead of file: and make sure file was in same directory 
or not? Finally progress bar is displaying now.

Thanks for getting me on right direction.

Actually what i am trying to do is, on the fly make a single zip file of more 
than 10-15 pdfs, at the time of zipping all pdfs i want to show some progress 
bar.

Once again Thank you and Happy New year.

>The first observation is that you can only run this through the file system
>not through a web browser ... For that you would need "http://"; not
>"file://" .... Secondly, running it through the file system will likely
>cause the content to be blocked based on security settings so you will have
>to overcome that hurdle. Third, the "id" param in your object bar should be
>something for use with JS (i.e. get rid of the ".swf"), and finally there is
>usually some accompanying javascript with these things... Something setting
>a variable from 1 to 100 or whatever.... The purpose of CFFLUSH is to cause
>the browser to fire a setvariable command and adjust that variable from 1 to
>100 based on the level complete. Cfflush sends stuff to the browser
>prematurely where it is executed in advance of receiving the entire buffer.
>The way I've seen it is...
>
>
>
><object ...id="movie" ...>
></object>
>
><cfouput query="somequery with lots of rows">
>       <cfif NOT currentrow MOD 10>
>       
><script>document.movie.setVariable(#int((currentrow/queryname.recordcount) *
>100)#);
>       </cfif>
>
>       output some values....
></cfoutput>
>
>-Mark
>
>Mark A. Kruger, CFG, MCSE
>www.cfwebtools.com
>www.coldfusionmuse.com
>www.necfug.com
>
>
>
>-----Original Message-----
>From: chr chr [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, December 26, 2006 10:40 AM
>To: CF-Talk
>Subject: Re: Flash progress bar in coldfusion
>
>This is the simple coldfusion code i'm trying to do
>
><!-- Flash movie tag-->
>
><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
>b#version=6,0,0,0"
>    WIDTH="221" HEIGHT="70" id="proggybar.swf" ALIGN=""> <PARAM NAME=movie
>VALUE="file:///C|/Documents and
>Settings/rchandra/Desktop/proggybar/proggybar.swf"> <PARAM NAME=quality
>VALUE=high> <PARAM NAME=bgcolor VALUE=ffffff> <EMBED
>src="file:///C|/Documents and
>Settings/rchandra/Desktop/proggybar/proggybar.swf" quality=high bgcolor=dd
>WIDTH="221" HEIGHT="70"
>    NAME="proggybar.swf" ALIGN="" TYPE="application/x-shockwave-flash"
>PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer";>
></OBJECT>
>
><cfflush>
>
><cfoutput> Helllllllllooooooooooo...............</cfoutput>
>
>Any ideas please.
>
>Thanks!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265028
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