Copy link to clipboard
Copied
wondering how you would do this as i got a interesting problem this would solve that i've done the reverse of. this weekend.
also is their an easier way than doing an array for going from s000 to s099 as all the methods i tried this weekend failed on all counts to get counting numbers at the top.
the horror show of a file is at the end of another post below , but var setitem=1 to etc is how it gernerates lists, be careful of
setitem2 as its only used for stacked clothing and gets horrifying set otherwise. than it is.
first time doing this, errors were made...yes they were 🙂
also note vs the adobe example on youtube, the loop count is set at the the top, this was to allow shorter things to also generate off the same array once i fix the ordering to front_<item> and back_<item>as the
first items on that list. one generator for them all 🙂
that tool will help you see what i want the directory of the swf to be checked againsst below:
lets set the stage here: you have a directory of files namesd s001 to s5000 that contains 20 different type of things that need loading. you do not want to manually sort it
so this is the steps i see needing to happen and this will stay in animate cc as its has little other use
file array is opened in groups of 100-1000 whatever doesn't crash the output window
did you know scripts have a 15 second time limit........
aka s000.swf
it contains:
front_collar(we don't need this ater...)
this is sent to a switch/case array 'is this pants' no, is this a shirt, no, is this a collar yes "trace <s101 is a collar" , it goes back to the top and grabs s002.swf and repeats until the 100 count is hit. this is working in the example i wrote so hopefully the rest is pretty simple. the text outout is put into a list....and added to a dropdown. repeat until all files are sorted. their would also be "this did not match search criteria" for manual
sorting.
i do not need the actual switch case code as i just made all the listings for it, but just how once a symbol gets INTO animate cc and before the addchild part....., do i pass say the first symbols name to the search tool.
Why is this needed......
if you look at the code i wrote over the weekend, once i know what type it is, i do not need to further process it, just for now trace it to the output area for later addition to a list.
iFrom what i inderstand the other group working on this game was able to get a bigger swf cache and really doesn't like me... so just asking for the files isn't going to work. having a tool that can sort 800-900mb of swfs files and dump a list of "is this what you needed" is very likely to get that cache to me esp if it can take a process thats taking them i think 10 college kids in jpexs to do, to barely made a dent in....let the kids not get white hair by end of college 🙂 *laughs* i got a 2mb set and took 2 weeks to process that thing.
.
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now