writing out XML from Flash
hi there,
i'm writing out xml data file extension .rsf. contains settings enable .exe run automatically using these settings. however, when flash writes out xml data, doesn't format in way looks . . .
<?xml version="1.0"?><ripstationsettings><disccount>3</disccount><drive>d: dvdrw ide1008 0055</drive><outputsettings><enabled>1</enabled><root>c:\local audio</root><imagepath>%c\mp3\%a\%d\folder.jpg</imagepath><filepath>%c\mp3\%a\%d\%n - %t.mp3</filepath><format>2</format><bitrate>224</bitrate><quality>7</quality><vbr>0</vbr> <lossless>0</lossless></outputsettings><defaultfilenamesenabled>1</defaultfilenamesenabled ><masterpathenabled>1</masterpathenabled><masterpath>c:\local audio</masterpath><metadatatotaltracks>0</metadatatotaltracks><metadatautf16>1</metadatau tf16><metadataunidentifiedaction>0</metadataunidentifiedaction><metadatauuseamazon>0</meta datauuseamazon><datacompany></datacompany><datasoftware></datasoftware><loggingmetadata>0< /loggingmetadata><loggingbatch>1</loggingbatch><sourcedevice>0</sourcedevice><targetdevice >0</targetdevice><groominggenre>0</groominggenre><groomingcapitalize>0</groomingcapitalize ><groomingcomposers>0</groomingcomposers><groomingappendartist>0</groomingappendartist><sq lserver></sqlserver><sqldatabase></sqldatabase><sqlusername></sqlusername><sqlpassword></s qlpassword><sqlenabled>0</sqlenabled></ripstationsettings>
this causes launch of exe fail because relies on line feeds in order able read xml data properly. so, in order exe run, xml data written out .rsf file should attached code below . . .
is there way ensure xml data written out .rsf file line feeds?
i'm writing out xml data file extension .rsf. contains settings enable .exe run automatically using these settings. however, when flash writes out xml data, doesn't format in way looks . . .
<?xml version="1.0"?><ripstationsettings><disccount>3</disccount><drive>d: dvdrw ide1008 0055</drive><outputsettings><enabled>1</enabled><root>c:\local audio</root><imagepath>%c\mp3\%a\%d\folder.jpg</imagepath><filepath>%c\mp3\%a\%d\%n - %t.mp3</filepath><format>2</format><bitrate>224</bitrate><quality>7</quality><vbr>0</vbr> <lossless>0</lossless></outputsettings><defaultfilenamesenabled>1</defaultfilenamesenabled ><masterpathenabled>1</masterpathenabled><masterpath>c:\local audio</masterpath><metadatatotaltracks>0</metadatatotaltracks><metadatautf16>1</metadatau tf16><metadataunidentifiedaction>0</metadataunidentifiedaction><metadatauuseamazon>0</meta datauuseamazon><datacompany></datacompany><datasoftware></datasoftware><loggingmetadata>0< /loggingmetadata><loggingbatch>1</loggingbatch><sourcedevice>0</sourcedevice><targetdevice >0</targetdevice><groominggenre>0</groominggenre><groomingcapitalize>0</groomingcapitalize ><groomingcomposers>0</groomingcomposers><groomingappendartist>0</groomingappendartist><sq lserver></sqlserver><sqldatabase></sqldatabase><sqlusername></sqlusername><sqlpassword></s qlpassword><sqlenabled>0</sqlenabled></ripstationsettings>
this causes launch of exe fail because relies on line feeds in order able read xml data properly. so, in order exe run, xml data written out .rsf file should attached code below . . .
is there way ensure xml data written out .rsf file line feeds?
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment