Copy link to clipboard
Copied
Hello, as the title said, I would like to rename the flashlog.txt to another file name (including the extension) Because i am working with huge parsing of (.csv) that got like 70K rows, I want that when i parse all data the output of the entire trace log is changed.
Because each time we start a trace this put everything in the same file and it's always the same name ("flashlog.txt"), Super annoying and it would be seriously good if adobe could add a few new arguments THAT will make it possible to change the name+default extension.
Problem of ByteArray is that the output is a total trash this hold un-needed character (even in plain text) and the formating sux this doesn't put the value i want on the same line (like .csv does) + LineReturn like i want, I achieve the correct formating using flash trace, but the problem is that i need to manually dump the file i need because if i add everything to do an "automatic dump" everything will be in "flashlog.txt" and with files that hold more than 75K Rows it become a several problem.
Just want adobe to add 2 new args for the flash trace, "filename" and "default extension" a bit similar to FileReference lol, Thanks !
Copy link to clipboard
Copied
you can assign the path/file name by using the TraceOutputFileName property in your mm.cfg file if you use an old version of fp. after fp 9, the location is hard-coded.
Copy link to clipboard
Copied
Hello sorry if i wasn't clear let's say i have 3 ByteArray holding those .csv or whatever,
I want that when i trace the first ByteArray the output flashlog is named ByteArray1.txt when i then trace the next ByteArray a new flash trace is created and named ByteArray2.txt
I doubt we can do that in a function... Editing the mm.cfg isn't interesting because i want to set the file name relative to the Data i'm dumping in my function, using lastest flash player.
Copy link to clipboard
Copied
what kind of app? web-based? air?
Copy link to clipboard
Copied
Full action script 3 web based not air.
Copy link to clipboard
Copied
you can use the filereference class to save a text file.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now