[Flashcoders] __DATE__ or similar in AS2 ?

2006-12-01 Thread Stefan Thurnherr
Hi flashcoders, I am looking for an easy way to indicate an SWF's version on the stage (i.e. via a textfield). I guess the easiest way would be if there was a compiler literal like __DATE__ (indicating the time/date of compilation) available within ActionScript. But I couldn't find any such

Re: [Flashcoders] __DATE__ or similar in AS2 ?

2006-12-01 Thread Ian Thomas
We haven't found an easy way to do it - we've done it two ways: i) Use Ant to update a textfile as part of the build process, and read that textfile in at runtime. A good way to get a version number / date for an entire _deployment_, rather than just for one .swf. or ii) Use Ant to update a

Re: [Flashcoders] __DATE__ or similar in AS2 ?

2006-12-01 Thread Michael Stuhr
Stefan Thurnherr schrieb: Hi flashcoders, I am looking for an easy way to indicate an SWF's version on the stage (i.e. via a textfield). I guess the easiest way would be if there was a compiler literal like __DATE__ (indicating the time/date of compilation) available within ActionScript. But I

Re: [Flashcoders] __DATE__ or similar in AS2 ?

2006-12-01 Thread Yehia Shouman
I think the JSFL offers a great solution if you can have a command to publish which will alter a variable __DATE__ (perhaps a counter) on the root of the swf before calling publish document. Not sure if this is possible, but thats how I'd think of it theoritically Y Shouman On 12/1/06, Michael