Here’s a quick extension by request. This extension adds a command that can batch name instances in multiple frames. Just select the frames and run the command.
Download
- INSTANCE – multi-name.mxp (Flash MX 2004 & later)
- INSTANCE – multi-name.zxp (Flash CC & Later)
Get updates from Ajar Productions
Sign up today and get the InDesign Split Text premium extension for free!
Nice. I can see this being very handy. Cheers.
One bug I’ve encountered within Flash CS4 is this:
The following JavaScript error(s) occured:
At line 40 of file “INSTANCE – multi-name.jsfl”:
TypeError: iFrame has no properties
This is triggered every time I select keyframes within a tween. Specifically It is caused when you include the final frame of the tween. Selecting multiple keyrames within a tween works fine until you include the end frame.
Thanks for the details, Tim. I should be able to troubleshoot this. Look for a fix in the next few days.
Tim, I was able to fix this error. I also corrected another minor glitch so that the command will still run on the first frame selected even if it isn’t a keyframe. Download link above has the new version (1.0.1).
Thank you for this tool I’ve always wanted. You save me lot of time and from clicking those little keyframes, then symbol, then typing a name again and again – until madness 🙂 Maybe you can improve it a little by allowing a symbol be a button. I think, that this works:
if(iSel.symbolType == ‘movie clip’ || iSel.symbolType == ‘button’)
Thanx!
Lubo, I’ve taken your suggestion and updated the extension. Thanks for your feedback!
thanks I’m currently working on a project where I have a lot of similar instances that need to be named like ball1, ball2, ball3 etc. In your function setElementNames I just added the count variable to the end of the new name
iSel.name = instanceName+count;
It worked like a charm. Thanks for a great extension that will save me a lot of tedious instance naming.
Hi Guys,
Mirek, thats exactly what i need!
Problem is, im not well versed in creating or modifying extensions, do you think you could upload your extension with the count added in?
Justin, awesome extension. I wasnt aware that flash extensions were this handy until today. Keep up the awesome work!
Haansplosion,
Thanks for the kind words. I’m glad to hear that the extensions are coming in handy!
Here’s a modified package that appends a number: INSTANCE – multi-name-numbered.mxp. FYI: It restarts the numbering on each new frame.
Justin,
You are a legend. You have no idea how much that is going to help me.
Thankyou so much, i really appreciate it!!
You’re welcome, Haansplosion. Glad I could help!
INSTANCE – multi-name-numbered.mxp doesn’t add numbers after names:(
I tested this on CS3 and CC and it was working for me. Are you sure you’re looking instance names (found in the Properties panel) and not symbol names in the Library?
Wow.. this was really useful. Thank you.
You’re welcome, Mauro. 😉
You save my life bro. Love you so much :3
Glad we could help, Alex!
thanks for this, this will save me 100+ hours in the long run.
i wasn’t sure how to use this at first, but it only took me 5 mins to understand what i needed to do. (never used flash extensions before)
to anyone not knowing how to use, just run the file, add it to the flash extensions, then when u want to use it, click commands at the top, and it should be in that list… gl all ^_^
Glad to hear that we could save you so much time, Grak! Thanks for your comment. 🙂
Is there any way of getting this to work on the newest version of Adobe Animate CC? Can’t seem to get it to install. Works amazingly in CS6 but I need it in Animate CC. Thank you!
You might be able to install the zxp with the Adobe Animate installation tool:
https://helpx.adobe.com/animate/kb/install-animate-extensions.html
This doesn’t seem to work. Any chance you could post the native .jsfl text file so we can just run as a command in AnimateCC?
Nothing else seems to work as far as installing this is concerned.
Not at this time, Dave.
Any chance this could be made to work for animate 20??? It’s such a great extension
Damn! It DOES work in Animate 20!!! 🙂
For anyone else with same problem…
1. Download Anastasiy’s Extension Manager
https://exchange.adobe.com/creativecloud/install-instructions.html
2. Check that you only have a single country folder here:
C:\Users\[username]\AppData\Local\Adobe\Animate 2020\
I had en_GB and en_US – so the INSTANCE – multi-name.jsfl had to be copied to the US folder.
Explained here:
https://helpx.adobe.com/animate/kb/install-animate-extensions.html?mv=product&mv2=an#
Anyway – it works perfect! $20 sent to you Justin!
I get warnings that the download is insecure.
The links have been updated to HTTPS and should work now.