Programatically Responding to the Replace Existing Item dialog in JSFL
any thoughts on programatically answering dialog?
i having simliar (if not same) issue. have written jsfl script loop through symbols in library (only of type=="movie clip" , linkageexportforas=true) , 1 @ time add them stage. @ bottom of loop selectall() , deleteselection() clear stage before moving on the next symbol. when run script, goes through first 35 mc's fine, hits snag on particular symbol. when snags, warning/prompt "one or more library items exist in document." occurs when pasting 1 document/library another. in case, there 1 .fla open. i'm adding library stage. love know happening, , why. i'd happy not knowing being able handle automatically, supress dialog, auto select choice, keep script running. i'm not worried replacing symbol or not, know isn't new symbol, seems bug. maybe there wrong symbol, i'm not "owner" of .fla, i'm exporting png's of each keyframe of each symbol has "states" layer. fixing symbol isn't ideal solution. maybe can catch error, write error file, , move on.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment