<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using JSFL to auto-name instances of newly created MovieClips</title>
	<atom:link href="http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/</link>
	<description>Adobe, Flash, Flex, AIR, Technology</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:21:51 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: UglyComputer</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-24212</link>
		<dc:creator>UglyComputer</dc:creator>
		<pubDate>Fri, 23 Jul 2010 21:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-24212</guid>
		<description>thanks for the post -- Danny&#039;s comment just saved me hours and hours in importing AI files. 
bril.</description>
		<content:encoded><![CDATA[<p>thanks for the post &#8212; Danny&#039;s comment just saved me hours and hours in importing AI files.<br />
bril.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres Pelaez Lujan</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-21409</link>
		<dc:creator>Andres Pelaez Lujan</dc:creator>
		<pubDate>Fri, 09 Apr 2010 16:55:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-21409</guid>
		<description>Thank you man.</description>
		<content:encoded><![CDATA[<p>Thank you man.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using JSFL to create auto-buttons in Flash &#124; flash developer &#124; steven sacks</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-5066</link>
		<dc:creator>Using JSFL to create auto-buttons in Flash &#124; flash developer &#124; steven sacks</dc:creator>
		<pubDate>Mon, 20 Oct 2008 17:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-5066</guid>
		<description>[...] upon the previous post, one of the other things I do quite often is create MovieClip buttons using a little-known trick in [...]</description>
		<content:encoded><![CDATA[<p>[...] upon the previous post, one of the other things I do quite often is create MovieClip buttons using a little-known trick in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Sacks</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-1950</link>
		<dc:creator>Steven Sacks</dc:creator>
		<pubDate>Wed, 02 Jul 2008 18:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-1950</guid>
		<description>You have to iterate through the selection to get each MovieClip individually, or you&#039;re going to turn the selection into a symbol (it&#039;s exactly the same behavior as pressing F8, because Flash uses JSFL when you do).</description>
		<content:encoded><![CDATA[<p>You have to iterate through the selection to get each MovieClip individually, or you&#039;re going to turn the selection into a symbol (it&#039;s exactly the same behavior as pressing F8, because Flash uses JSFL when you do).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillermo</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-1921</link>
		<dc:creator>Guillermo</dc:creator>
		<pubDate>Mon, 30 Jun 2008 18:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-1921</guid>
		<description>ok so your piece of code is really helpful because it does the job, but what if you have 5 different movie clips and u want to give them instance names that are the same as what their are name as movie clips?   u get it?

5 movie clips distributed each in a layer... 
then give each movie clip an instance name

any ideas?

right now what your code does is give an instance name prompt it to the user but i have 5 movie clips and it only prompted me once?.. =/

thanks</description>
		<content:encoded><![CDATA[<p>ok so your piece of code is really helpful because it does the job, but what if you have 5 different movie clips and u want to give them instance names that are the same as what their are name as movie clips?   u get it?</p>
<p>5 movie clips distributed each in a layer&#8230;<br />
then give each movie clip an instance name</p>
<p>any ideas?</p>
<p>right now what your code does is give an instance name prompt it to the user but i have 5 movie clips and it only prompted me once?.. =/</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Sacks</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-1234</link>
		<dc:creator>Steven Sacks</dc:creator>
		<pubDate>Mon, 24 Mar 2008 08:00:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-1234</guid>
		<description>That would take more time than it would for me to name it myself.  One keyboard shortcut FTW!  :)</description>
		<content:encoded><![CDATA[<p>That would take more time than it would for me to name it myself.  One keyboard shortcut FTW!  <img src='http://www.stevensacks.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-1217</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Sat, 22 Mar 2008 07:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-1217</guid>
		<description>You could always create your movie clips the &quot;old fashioned&quot; way and then create a JSFL script that names the instance(s) the same as the movie clip name(s) in the library:


if (fl.getDocumentDOM().selection.length &gt; 0)
{

      for(i in  fl.getDocumentDOM().selection){
      	path = fl.getDocumentDOM().selection[i].libraryItem.name;
      	mc_name = path.substr(path.lastIndexOf(&quot;/&quot;)+1);
      	fl.trace(&#039;clip = &#039;+mc_name);
      	fl.getDocumentDOM().selection[i].name = mc_name;
          
      } 

}</description>
		<content:encoded><![CDATA[<p>You could always create your movie clips the &#034;old fashioned&#034; way and then create a JSFL script that names the instance(s) the same as the movie clip name(s) in the library:</p>
<p>if (fl.getDocumentDOM().selection.length &gt; 0)<br />
{</p>
<p>      for(i in  fl.getDocumentDOM().selection){<br />
      	path = fl.getDocumentDOM().selection[i].libraryItem.name;<br />
      	mc_name = path.substr(path.lastIndexOf(&#034;/&#034;)+1);<br />
      	fl.trace(&#039;clip = &#039;+mc_name);<br />
      	fl.getDocumentDOM().selection[i].name = mc_name;</p>
<p>      } </p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-1096</link>
		<dc:creator>Chad</dc:creator>
		<pubDate>Mon, 03 Mar 2008 16:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-1096</guid>
		<description>I had the same problem but tackled it a slightly different way.  I created an AutoHotKey script to pop up an input window to enter the name.  It doesn&#039;t auto-populate the name, but it is more efficient than jumping to the properties panel.  Check out the info here:
http://www.ultrashock.com/forums/flash-professional/jsfl-external-variable-clipboard-text-90632.html</description>
		<content:encoded><![CDATA[<p>I had the same problem but tackled it a slightly different way.  I created an AutoHotKey script to pop up an input window to enter the name.  It doesn&#039;t auto-populate the name, but it is more efficient than jumping to the properties panel.  Check out the info here:<br />
<a href="http://www.ultrashock.com/forums/flash-professional/jsfl-external-variable-clipboard-text-90632.html" rel="nofollow">http://www.ultrashock.com/forums/flash-professional/jsfl-external-variable-clipboard-text-90632.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Sacks</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-847</link>
		<dc:creator>Steven Sacks</dc:creator>
		<pubDate>Sat, 02 Feb 2008 11:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-847</guid>
		<description>I never set the registration point of a MovieClip to anything other than top left except in very specific edge cases.    But, I&#039;m glad you find the script helpful and your addition, too!  :)</description>
		<content:encoded><![CDATA[<p>I never set the registration point of a MovieClip to anything other than top left except in very specific edge cases.    But, I&#039;m glad you find the script helpful and your addition, too!  <img src='http://www.stevensacks.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkozniewski</title>
		<link>http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/comment-page-1/#comment-845</link>
		<dc:creator>jkozniewski</dc:creator>
		<pubDate>Sat, 02 Feb 2008 10:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevensacks.net/2008/02/01/using-jsfl-to-auto-name-instances-of-newly-created-movieclips/#comment-845</guid>
		<description>&lt;p&gt;Hi :)&lt;/p&gt;
&lt;p&gt;I&#039;ve shared your pain till today :)&lt;br /&gt;
so thanks for this little yet useful script. I&#039;ve missed one feature though - setting of reg point other than &quot;top left&quot; so I&#039;ve extended your jsfl ;)&lt;/p&gt;
&lt;p&gt;Now you can set reg point by just typing mcName*# into prompt where # is 1-9.&lt;br /&gt;
Note that numbers are &#039;mapped&#039; in a way that links numpad key layout directly with location of reg point. So for ex. 7 == &quot;top left&quot; and 5 == &quot;center&quot;.&lt;/p&gt;
&lt;p&gt;You can download extended version here -&gt; http://jkozniewski.com/tools/Convert%20to%20Symbol%20Ext.jsfl&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi <img src='http://www.stevensacks.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#039;ve shared your pain till today <img src='http://www.stevensacks.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
so thanks for this little yet useful script. I&#039;ve missed one feature though &#8211; setting of reg point other than &#034;top left&#034; so I&#039;ve extended your jsfl <img src='http://www.stevensacks.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Now you can set reg point by just typing mcName*# into prompt where # is 1-9.<br />
Note that numbers are &#039;mapped&#039; in a way that links numpad key layout directly with location of reg point. So for ex. 7 == &#034;top left&#034; and 5 == &#034;center&#034;.</p>
<p>You can download extended version here -&gt; <a href="http://jkozniewski.com/tools/Convert%20to%20Symbol%20Ext.jsfl" rel="nofollow">http://jkozniewski.com/tools/Convert%20to%20Symbol%20Ext.jsfl</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
