Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一度に複数の mcs にインスタンス名を割り当てる拡張機能やスクリプトを誰かが知っているかどうか疑問に思っています。何百ものキーフレームに同じ mc があり、それらをグラフィック シンボルに変換してアニメーション化してから、scipting のために mcs に戻す必要がありますが、インスタンス名が失われます。このフォーラムの投稿を読んで、JavaScript の助けになりそうでしたが、試してみると構文エラーが発生しました。
私は何人かの人々にこのスクリプトを手伝ってもらいました:
var name = prompt("Name?"); //var name = "face"; for(i in fl.getDocumentDOM().selection) { fl.getDocumentDOM().selection[i].name = name; }
完璧に動作します!