RE: [Flashcoders] JSFL - Saving FLAs
If you check the Preferences in Flash 8, there is a 'Warnings' section and you can turn on Warn on save for Macromedia Flash MX 2004 compatibility Is that what your looking for? -DC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ChrisRM Sent: Monday, April 02, 2007 9:01 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] JSFL - Saving FLAs Hey Everyone, I'm in the unfortunate position of developing in an environment where not everyone has the same version of Flash and remembering to Save As gets overlooked. Some have Studio 8, others have MX 2004. Is there a way to check the version of the FLA? I know there is fl.version, but that's only for the IDE. If I can determine the version the least I'd like to do it pop up an alert saying that the file needs to be saved as MX 2004 for compatibility with others. FL Object has the function saveDocumentAs() but I don't see a way to specify the version (in the Document object). Ideas? Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] JSFL - Saving FLAs
Unfortunately, that's not it. That warning will only show if you choose Save As MX 2004. I'm trying to find a method so when one of my Studio 8 users forgets to save down to 2004 that they'll get a message or when they run the JSFL batch compiler it'll detect it's saved version and auto-save it down for them. Like I said, I notice there is a fl.saveDocumentAs() command but see no where to (or if I can) specify the file version. Chris If you check the Preferences in Flash 8, there is a 'Warnings' section and you can turn on Warn on save for Macromedia Flash MX 2004 compatibility Is that what your looking for? -DC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ChrisRM Sent: Monday, April 02, 2007 9:01 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] JSFL - Saving FLAs Hey Everyone, I'm in the unfortunate position of developing in an environment where not everyone has the same version of Flash and remembering to Save As gets overlooked. Some have Studio 8, others have MX 2004. Is there a way to check the version of the FLA? I know there is fl.version, but that's only for the IDE. If I can determine the version the least I'd like to do it pop up an alert saying that the file needs to be saved as MX 2004 for compatibility with others. FL Object has the function saveDocumentAs() but I don't see a way to specify the version (in the Document object). Ideas? Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] JSFL - Saving FLAs
The version is located in the XML Publish Settings file. It's been reported that changing this value using JSFL does not work (a bug). However, you CAN read it. Refer to my blog entry regarding the XML Publish settings file to see how to get the version number out of it. http://www.stevensacks.net/2006/08/06/using/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] JSFL - Saving FLAs
The version of the FLA is in the XML Publish Settings file? I don't think that's the case. Afaik, there is no way to get this information from JSFL. JSFL implementation in Flash 7/8 is mediocre, imho. While there are some very useful things you can do with JSFL, it all feels like a hack. The document support is terrible (not documentation, although that's not fabulous either). I really hope JSFL in Flash CS3 got a revamp. Although, since it didn't make the top 10 things new about Flash CS3, I'm guessing not much was changed. I really hope I'm wrong. The only thing I've ever seen in regards to determining the version of the FLA is a tool called FLAVer by Tim Goss that launches the version of Flash on your system that most closely matches the FLA version. I don't know the specifics, but he figured out how to get the version by reading parts of the FLA file. I realize it doesn't answer the question directly, but it does demonstrate that there is a way to get this information. But, afaik, not from JSFL. FLAVer: http://www.northcode.com/free/flaver/flaver.php Derek Vadneau - Original Message - From: Steven Sacks | BLITZ To: flashcoders@chattyfig.figleaf.com Sent: Monday, April 02, 2007 1:37 PM Subject: SPAM-LOW: RE: [Flashcoders] JSFL - Saving FLAs The version is located in the XML Publish Settings file. It's been reported that changing this value using JSFL does not work (a bug). However, you CAN read it. Refer to my blog entry regarding the XML Publish settings file to see how to get the version number out of it. http://www.stevensacks.net/2006/08/06/using/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] JSFL - Saving FLAs
Maybe I'm confused about what you're trying to do. Are you concerned with the published (swf) version or the source (fla) version? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] JSFL - Saving FLAs
I believe that the whole point is that the person wants to ensure that his FLAs are saved for version MX, so that the coder using only MX can pick up the baton from the coder with a v8 install. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Vadneau Sent: Monday, April 02, 2007 11:33 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] JSFL - Saving FLAs The version of the FLA is in the XML Publish Settings file? I don't think that's the case. Afaik, there is no way to get this information from JSFL. JSFL implementation in Flash 7/8 is mediocre, imho. While there are some very useful things you can do with JSFL, it all feels like a hack. The document support is terrible (not documentation, although that's not fabulous either). I really hope JSFL in Flash CS3 got a revamp. Although, since it didn't make the top 10 things new about Flash CS3, I'm guessing not much was changed. I really hope I'm wrong. The only thing I've ever seen in regards to determining the version of the FLA is a tool called FLAVer by Tim Goss that launches the version of Flash on your system that most closely matches the FLA version. I don't know the specifics, but he figured out how to get the version by reading parts of the FLA file. I realize it doesn't answer the question directly, but it does demonstrate that there is a way to get this information. But, afaik, not from JSFL. FLAVer: http://www.northcode.com/free/flaver/flaver.php Derek Vadneau - Original Message - From: Steven Sacks | BLITZ To: flashcoders@chattyfig.figleaf.com Sent: Monday, April 02, 2007 1:37 PM Subject: SPAM-LOW: RE: [Flashcoders] JSFL - Saving FLAs The version is located in the XML Publish Settings file. It's been reported that changing this value using JSFL does not work (a bug). However, you CAN read it. Refer to my blog entry regarding the XML Publish settings file to see how to get the version number out of it. http://www.stevensacks.net/2006/08/06/using/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] JSFL - Saving FLAs
Yep, that's why I mentioned: Afaik, there is no way to get this information from JSFL. I pointed out FLAVer as an option. If the user with Flash 8 also has Flash MX 2004 FLAVer will open the FLA in the correct version of Flash, instead of the default, which is to open the FLA with the version of Flash that was last opened, which would probably be the latest version. Also, if the thread starter (ChrisRM) knows a programmer, he/she might be able to help with something like a C DLL that could be used by JSFL to actually detect the FLA version. I've asked the FLAVer creator if he'd be interested in creating this for the community, so we'll see. Derek Vadneau - Original Message - From: Hershell Bryant To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 3:19 PM Subject: RE: [Flashcoders] JSFL - Saving FLAs I believe that the whole point is that the person wants to ensure that his FLAs are saved for version MX, so that the coder using only MX can pick up the baton from the coder with a v8 install. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] JSFL - Saving FLAs
You're correct, Hershell. I have users who some have Studio 8 installed and a couple with just MX 2004, and we don't have enough licenses to go around at the moment. I did see FLAver and I can guess it reads the header of the file to get the version info. Other than that I think we're stuck and I'll have to keep yelling at the ones who keep going to FileSave in Studio 8. That's another bugger that gets me too. You open a MX 2004 file in Studio 8 and when you go to save, it saves it as version 8. You'd think it would save it to it's original version; or pop up a message saying it's in a older format and to stick with the older or use the newer format. Anyways :) I appreciate everyone's thoughts. Chris I believe that the whole point is that the person wants to ensure that his FLAs are saved for version MX, so that the coder using only MX can pick up the baton from the coder with a v8 install. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Vadneau Sent: Monday, April 02, 2007 11:33 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] JSFL - Saving FLAs The version of the FLA is in the XML Publish Settings file? I don't think that's the case. Afaik, there is no way to get this information from JSFL. JSFL implementation in Flash 7/8 is mediocre, imho. While there are some very useful things you can do with JSFL, it all feels like a hack. The document support is terrible (not documentation, although that's not fabulous either). I really hope JSFL in Flash CS3 got a revamp. Although, since it didn't make the top 10 things new about Flash CS3, I'm guessing not much was changed. I really hope I'm wrong. The only thing I've ever seen in regards to determining the version of the FLA is a tool called FLAVer by Tim Goss that launches the version of Flash on your system that most closely matches the FLA version. I don't know the specifics, but he figured out how to get the version by reading parts of the FLA file. I realize it doesn't answer the question directly, but it does demonstrate that there is a way to get this information. But, afaik, not from JSFL. FLAVer: http://www.northcode.com/free/flaver/flaver.php Derek Vadneau - Original Message - From: Steven Sacks | BLITZ To: flashcoders@chattyfig.figleaf.com Sent: Monday, April 02, 2007 1:37 PM Subject: SPAM-LOW: RE: [Flashcoders] JSFL - Saving FLAs The version is located in the XML Publish Settings file. It's been reported that changing this value using JSFL does not work (a bug). However, you CAN read it. Refer to my blog entry regarding the XML Publish settings file to see how to get the version number out of it. http://www.stevensacks.net/2006/08/06/using/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] JSFL - Saving FLAs
Well, Derek. That's an awesome idea. Forgot about JSFL and that functionality. Personally, with the situation here, when the user runs the JSFL batch compiler it would notify them if any of their FLAs aren't of a specified version and nothing would compile till they save the file to the correct format. I see passing the location to the file and the function/program returning whether the saved version is within spec, and the JSFL script would handle all the error reporting, etc... Chris Yep, that's why I mentioned: Afaik, there is no way to get this information from JSFL. I pointed out FLAVer as an option. If the user with Flash 8 also has Flash MX 2004 FLAVer will open the FLA in the correct version of Flash, instead of the default, which is to open the FLA with the version of Flash that was last opened, which would probably be the latest version. Also, if the thread starter (ChrisRM) knows a programmer, he/she might be able to help with something like a C DLL that could be used by JSFL to actually detect the FLA version. I've asked the FLAVer creator if he'd be interested in creating this for the community, so we'll see. Derek Vadneau - Original Message - From: Hershell Bryant To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, April 03, 2007 3:19 PM Subject: RE: [Flashcoders] JSFL - Saving FLAs I believe that the whole point is that the person wants to ensure that his FLAs are saved for version MX, so that the coder using only MX can pick up the baton from the coder with a v8 install. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] JSFL - Saving FLAs
Hi Chris, Holth, Daniel C. mentioned an option in the Flash 8 preferences: Warn on save for Macromedia Flash MX 2004 compatibility Instead of yelling at the users everytime, yell at them once to enable this option. Then when you try to save an MX04 doc in Flash 8 it will prompt you. If they still save as Flash 8, then that's something to yell at them about. Derek Vadneau - Original Message - From: ChrisRM To: flashcoders@chattyfig.figleaf.com Sent: Monday, April 02, 2007 4:06 PM Subject: SPAM-LOW: RE: [Flashcoders] JSFL - Saving FLAs You're correct, Hershell. I have users who some have Studio 8 installed and a couple with just MX 2004, and we don't have enough licenses to go around at the moment. I did see FLAver and I can guess it reads the header of the file to get the version info. Other than that I think we're stuck and I'll have to keep yelling at the ones who keep going to FileSave in Studio 8. That's another bugger that gets me too. You open a MX 2004 file in Studio 8 and when you go to save, it saves it as version 8. You'd think it would save it to it's original version; or pop up a message saying it's in a older format and to stick with the older or use the newer format. Anyways :) I appreciate everyone's thoughts. Chris ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] JSFL - Saving FLAs
That's another bugger that gets me too. You open a MX 2004 file in Studio 8 and when you go to save, it saves it as version 8. That's not the default behavior. The default behavior is to prompt you that you're trying to save an older format to a newer format. If it doesn't it means it has been disabled in the preferences (as has already been mentioned). This doesn't solve the problem when someone using Flash 8 creates a new document and saves it though (and forgets to select mx2004).. regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com