Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-01-2005, 09:48 AM   #1
silverfish
Senior Member
 
Join Date: Oct 2005
Posts: 156
Default set publish profile?

Does anyone know of a way to set the publish profile before calling publish()?
silverfish is offline   Reply With Quote
Old 11-01-2005, 10:13 AM   #2
jjbilly
Senior Member
 
Join Date: Mar 2005
Location: Oxford UK
Posts: 480
Default

I keep this pair of commands available through my commands menu.

fl.getDocumentDOM().importPublishProfile('file:///C|/data/FlashPublishProfile.xml');

fl.getDocumentDOM().exportPublishProfile('file:///C|/data/FlashPublishProfile.xml');

Export and look at what you get in the XML. It's worth pointing out that not everything works - the biggy is the classpaths. There's no way to set these until this bug is fixed.
jjbilly is offline   Reply With Quote
Old 11-01-2005, 10:46 AM   #3
silverfish
Senior Member
 
Join Date: Oct 2005
Posts: 156
Default

thanks jj! document.currentPublishProfile is actually what I was after. I'd searched through the help without finding it, but now thanks to you I've spotted it.
silverfish is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:52 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.