Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generator setup (sorry =P)

Status
Not open for further replies.

Suizid

Programmer
Feb 9, 2001
1
GB
I'm trying to get generator to update a .swf. This would have to be done weekly. I have it running locally from a .txt data source (the information changing is tiny). However, the scant documentation included in the thing has left me perplexed. Is there any way of setting up an update to the swf when the txt file changes (or requesting the txt file variables every time) without having full access to a server? How can i specify what is 'online' or 'offline' handling of it - and what (in english) is the difference? Will Batman™ survive the perilous custard? I'll tune in to anyone who can help, and thanks in advance.
 
ok, offline requires someone or something to run a command line (dos prompt or similar) to generate the new swf, that then needs to be uploaded (or you can generate it directly into the active location eg i use apache so i generate the file directly to c:/apache/htdocs/filename.swf).

online generates (for developer edition) a new swf for every user that access your site. This way you know that the content is the most up to date, you do need to set up the generator server components though (i am using offline only)

You could write a script that checks if the text file has changed and then generate the new swf via offline and have it automatically put into the correct location (my prefered solution, i am doing this via a web form, when the submit button is hit it generates the text file then calls generator and replaces the old swf). If you don't mind doing the upload you can do this manually at your end then upload to the server, it all depends on how much control the server lets you have.

The online solution is best when data always updates, every user that logs in gets a swf made just for them with the current data. but you will need to have the server components installed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top