CGI for Slide show

Jim Ault JimAultWins at yahoo.com
Tue Oct 17 12:39:27 EDT 2006


On 10/16/06 11:32 PM, "Sivakatirswami" <katir at hindu.org> wrote:

> My main headaches had to do with paths and lineoffset and the fact
> that "the files" of a default folder so not necessarily in alpha order
> by default... anyway... it works.

Suggestion for the issue of variable parameters passed to the rev.cgi that
might work for you

I do some slide show manipulation/direction in Flash, and my system uses a
Rev stack to publish a text file I call 'packageLoop.txt'.  This contains
several parameters that (in my case) are read by the Flash swf.

My Rev stack handles all the path names, naming conventions, format
checking, etc, as well as the titles, subtitles, locations, and more.

----32 params----  
----saved in the same folder as the images, always the same name
----now the order of the jpgs is in order of the list appearance
----and the same image can be used more than once
---------packageLoop.txt---
vimgarr=awardsTennis005.jpg^awardsTennis010.jpg^awardsTennis020.jpg^awardsTe
nnis030.jpg^awardsTennis040.jpg^awardsTennis050.jpg^awardsTennis060.jpg^awar
dsTennis070.jpg^awardsTennis080.jpg^awardsTennis090.jpg^awardsTennis100.jpg^
yyytanBgwfg4q00.jpg^zzztanBgwfg4q00.jpg
&vimgXArr=0^0^0^0^0^0^0^0^0^0^0^0^0
&vimgYArr=0^0^0^0^0^0^0^0^0^0^0^0^0
&vimgFadeInStartArr=100^100^100^100^100^100^100^100^100^100^100^100^100
&vimgFadeInEndArr=100^100^100^100^100^100^100^100^100^100^100^100^100
&vimgFadeInIncrmArr=2^2^2^2^2^2^2^2^2^2^2^2^2
&vimgFadeInDurArr=0^0^0^0^0^0^0^0^0^0^0^0^0
&vimgHesArr=1000^1000^1000^1000^1000^1000^1000^1000^1000^1000^1000^1000^1000
&vimgFadeOutStartArr=100^100^100^100^100^100^100^100^100^100^100^100^100
&vimgFadeOutEndArr=0^0^0^0^0^0^0^0^0^0^0^0^0
&vimgFadeOutIncrmArr=8^8^8^8^8^8^8^8^8^8^8^8^8
&vimgFadeOutDurArr=10^10^10^10^10^10^10^10^10^10^10^10^10
&vimgXscaleArr=100^100^100^100^100^100^100^100^100^100^100^100^100
&vimgYscaleArr=100^100^100^100^100^100^100^100^100^100^100^100^100
&vImgFolderPath=swfLoop1/jpgsToUse
&vOvlayCnt=1
&vOvLayFolderPath=
&vBkDropCnt=1
&vBkDropFolderPath=
&vSwfBasicVer=1139737304†Sunday 2/12/06†1:41 AM
&vcptColorArr=0x800517^0xece5c6^0xece5c7^0xece5c8^0xece5c9^0xece5c10^0xece5c
11^0xece5c12^0xece5c13^0xece5c14^0xece5c15^0xece5c16^0xece5c17^
&vcptXArr=20^20^20^20^20^20^20^20^20^20^20^20^20^
&vcptYArr=330^330^330^330^330^330^330^330^330^330^330^330^330^
&vcptTxtArr=<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I>
^
&vsubTitleColorArr=
&vsubTitleXArr=
&vsubTitleYArr=
&vsubTitleTxtArr=
&vmainTitleColorArr=
&vmainTitleXArr=
&vmainTitleYArr=
&vmainTitleTxtArr=
&vSwfName=awardsTennis

Hope this gives you some ideas

Jim Ault
Las Vegas





More information about the use-livecode mailing list