Hi Jesse, Yeah Player and IDE do have build numbers...But a SWF file doesn't have a build number...
But I guessed, what he is looking for. In windows programming, if you develop a windows exe/dll, an incremental build number is assigned to exe/dll, each time you build the project. Probably same goes on other platforms(Unix, Mac etc) too. So he is actually looking same thing in SWF, I guess he is asking, does compiler embeds some kind of build-version number in SWF after every compilation? Dirk, is this you are looking for? If yes, then no compiler doesn't embed any such info AFAIK. But you can do something like that, as I mentioned couple of ways in previous mails... -abdul -----Original Message----- From: JesterXL [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 7:31 PM To: [email protected] Subject: Re: [flexcoders] Build version of SWF? He doesn't mean trace($version) or trace(System.capabilities.version), he means the build. Like, Flash MX came with 6.0.25.0 (or something close to it). As time went one, and sub-players were released, as was ellipsis, the default player DLL used to actually compile to the SWF as higher. So, if installed the player updater, even if you were still compiling to Flash 6 for projectors, you could still reap the benefits of a more advanced player (for instance, 6.0.79.0 had sooooo many upgrades/enhancments/fixes). If that's not what Dirk meant, then the first thing I said. ----- Original Message ----- From: "Abdul Qabiz" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, March 22, 2005 8:55 AM Subject: RE: [flexcoders] Build version of SWF? Hi, There is no build-version of SWF. Do you mean SWF version? In case of Flex, it would be 7 always.. You can probably have an ActionScript variable inside SWF, which represents the SWF build-version. You can write some code to keep version number in a persistent XML file and this xml file gets compiled in SWF via XML or Model tag. So before mxml compilation, this version number is incremented... You can then query the version number by actionscript.... That's something I can think now, there could be some better ways... What are you trying to achieve? Please tell us, we might suggest some way.. -abdul -----Original Message----- From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 7:04 PM To: [email protected] Subject: [flexcoders] Build version of SWF? Silly question but is there a built-in way to read out the "build version" of the compiled SWF file? Any ideas? Thanks, Dirk. Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

