Hi, 2005/10/27, Jim Kremens <[EMAIL PROTECTED]>: > Hi, > > Putting <buildnumber/> and <tstamp/> into an Ant build file makes them > accessible to other tasks: > > <buildnumber /> > <tstamp><format property="timestamp" pattern="MM/dd/yyyy hh:mm:ss" > /></tstamp>
Why not use an ant echo task to generate a BuildInformation.as / class containing build number, build date, and version as static class members just before compilation. That way the class is updated on every build, you can keep your version number in one location (e.g. in a build.properties file) and have easy access in AS / Flash. I have used it to successfully create version information classes in Java projects. It should not be much different for Actionscript projects. -- Alex _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
