PDA

View Full Version : doc.publish properties


vodo
04-22-2008, 12:12 PM
I'm currently trying to export a single fla as a file type the user selects each with a different user name.

Now I know this can be done for SWF and PNG using exportSWF or PNG because it has the fileURI property. Is there any way to do the same thing for JPEG's or GIF's?

The only way I can think of is to edit the publish profile in a loop and change the name of the export filename each time, save the profile and then publish.

Am I looking in completely the wrong direction?

vodo
04-23-2008, 12:45 PM
Well I managed to get what I wanted to happen. I had to use publishprofiles and edit the xml within the JSFL, save it, then import it. stuck it in a loop with an array of required file names and boom, done.

that makes it sound easy, massive headache trying to get the xml to process correctly

FlashWhip
04-25-2008, 06:27 AM
vodo-

I was curious to see what you'd found on this. I'd love to see it if you were fine with sharing. It sounds like you are just messing around with exporting images. In digging around, did you find a way that you can publish a CS3 FLA as a CS2/Flash 8 document? I'd love to be able to do that.

vodo
05-07-2008, 11:10 AM
publish as cs2/flash 8, do you mean so its AS2 and flash player 8?