RE: [Flashcoders] Q:Change publish path dynamically
I use a config.xml file to store URLs in so that I can change them on the fly. Just load the config file first. Doug Coning -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, September 25, 2006 4:29 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Q:Change publish path dynamically Hi Does anyone know if there is a way to change the publish path dynamically? This would be really useful if working with the same FLA in different test environments instead of manually having to change the publish settings...time consuming with projects involving lots of fla's. Thanks Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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 any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ 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] Q:Change publish path dynamically
The answer is JSFL. I wrote an article about how to change publish paths using JSFL on my blog. http://www.stevensacks.net/2006/08/06/using/ You can use this technique (see lines 10-13) with a panel (or just a script) which loads in XML and publishes the SWF. My entire script actually saves the file with the new publish path but you don't need to go that far. HTH, Steven ___ 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] Q:Change publish path dynamically
You could write a jsfl to loop all open FLAs, or perhaps all FLAs in a project if you're using the project panel. The latter I haven't done yet, but should be possible. On 9/25/06 1:29 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Does anyone know if there is a way to change the publish path dynamically? This would be really useful if working with the same FLA in different test environments instead of manually having to change the publish settings...time consuming with projects involving lots of fla's. Thanks Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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 -- Aaron Buchanan | Flash Developer, Lab-Media | T 909 702 1368 ___ 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