<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1018089" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1018089</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/flash-actionscript#comment-1108115</link>
    <description> &lt;p&gt;In a lot of forums I see, the Flash graphics and code are separated. One of the Flash sites I&#039;m building right now utilizes interactive volume crossfades, using the sound object and 3d interactive interfaces using Flash trignometry Math methods and arrays. &lt;/p&gt;
&lt;p&gt;   The work bears little resemblence to a graphics program like Photoshop. In fact, most of the work can be done in a text editor like Notepad. &lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TonyMontana&lt;br /&gt;
&lt;a href=&quot;http://www.electricmountain.com&quot; class=&quot;bb-url&quot;&gt;ElectricMountain&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 May 2002 18:44:15 +0000</pubDate>
 <dc:creator>TonyMontana</dc:creator>
 <guid isPermaLink="false">comment 1108115 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/flash-actionscript#comment-1108057</link>
    <description> &lt;p&gt;LOL! That&#039;s why Perl&#039;s motto is TMTOWTDI (There&#039;s More Than One Way To Do It) &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 01 May 2002 08:41:13 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1108057 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/flash-actionscript#comment-1108024</link>
    <description> &lt;p&gt;Interesting, four replies saying the exact same thing four different ways. ha!&lt;/p&gt;
&lt;p&gt;Tony, I think it was moved because it was a question intended for Flash, and Flash is a bit of a hybrid, but most Flash questions go in the Graphics area.&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Apr 2002 21:49:22 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1108024 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/flash-actionscript#comment-1107990</link>
    <description> &lt;p&gt;Yes, you&#039;re right.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;++$_&lt;/strong&gt; The pre-increpment operator will increase the value of $_ first then assign it. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;$_++&lt;/strong&gt; The post-increment operator will increase the value of $_ after it is assigned. &lt;/p&gt;
&lt;p&gt;Perl has it&#039;s operators derived from C, so I&#039;ll use a C example here to examine what happens when we use the operator along with an assignment operation. This might help you to see more clearly how this is used.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;	main()&lt;br /&gt;	{&lt;br /&gt;		int count = 0, loop;&lt;br /&gt;&lt;br /&gt;		loop = ++count;&amp;nbsp; /* same as count = count + 1; loop = count;&amp;nbsp; */&lt;br /&gt;		printf(&amp;quot;loop = %d, count = %d\n&amp;quot;, loop, count);&lt;br /&gt;&lt;br /&gt;		loop = count++;&amp;nbsp; /* same as loop = count;&amp;nbsp; count = count + 1;&amp;nbsp; */&lt;br /&gt;		printf(&amp;quot;loop = %d, count = %d\n&amp;quot;, loop, count);&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;	&amp;lt;strong&amp;gt;Sample Program Output:&amp;lt;/strong&amp;gt;&lt;br /&gt;&lt;br /&gt;	loop = 1, count = 1&lt;br /&gt;	loop = 1; count = 2&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Apr 2002 10:22:32 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1107990 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/flash-actionscript#comment-1107988</link>
    <description> &lt;p&gt;Isn&#039;t it correct that it does not matter whether you use ++a or a++ if the only thing a line of code is doing is incrementing a value:&lt;/p&gt;
&lt;p&gt;a  = 3;&lt;br /&gt;
b  = a++;&lt;/p&gt;
&lt;p&gt;results in b = 4.&lt;/p&gt;
&lt;p&gt;but, the difference comes when you&#039;re doing more complicated things, such as printing these values to the screen, for example, the ++a is incremented before the value is sent to the screen, the a++ is incremented after the value is sent to the screen.  So the following has different effects:&lt;/p&gt;
&lt;p&gt;            print &quot;The answer is&quot; ++a;&lt;br /&gt;
            print &quot;The next answer is&quot; a++;&lt;/p&gt;
&lt;p&gt;Results in:&lt;/p&gt;
&lt;p&gt;            The answer is 4;&lt;br /&gt;
            The answer is 3;  &lt;/p&gt;
&lt;p&gt;This is because most programming languages use a left--&amp;gt; right reading scheme of data, so the first says add 1 to whatever follows, the second says print a, then add 1.&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Apr 2002 10:06:30 +0000</pubDate>
 <dc:creator>shanda</dc:creator>
 <guid isPermaLink="false">comment 1107988 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/flash-actionscript#comment-1105932</link>
    <description> &lt;p&gt;code: var x = 1;&lt;br /&gt;
         var y = x++ &lt;strong&gt;//Postfix increment: y is set to 1, then x is incremented to 2.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;         var x = 1;&lt;br /&gt;
         var y = ++x &lt;strong&gt;//Prefix increment: x is incremented first, so y is set to 2.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Um...I wonder why this thread was moved into a...graphics forum? &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TonyMontana&lt;/strong&gt;&lt;br /&gt;
akaMethodAir&lt;br /&gt;
&lt;strong&gt;&lt;a href=&quot;http://www.electricmountain.com/home.htm&quot; class=&quot;bb-url&quot;&gt;ElectricMountain&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 01 Apr 2002 20:51:47 +0000</pubDate>
 <dc:creator>TonyMontana</dc:creator>
 <guid isPermaLink="false">comment 1105932 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/flash-actionscript#comment-1105930</link>
    <description> &lt;p&gt;In I think all languages, including actionscript...&lt;/p&gt;
&lt;p&gt;++ by itself has the same result whether it&#039;s ++$a or $a++&lt;/p&gt;
&lt;p&gt;BUT!&lt;/p&gt;
&lt;p&gt;$a = 3&lt;br /&gt;
$b = $a++&lt;/p&gt;
&lt;p&gt;Now $b = 3 and $a = 4&lt;/p&gt;
&lt;p&gt;$a = 3&lt;br /&gt;
$b = ++$a&lt;/p&gt;
&lt;p&gt;Now $b = 4 and $a  = 4&lt;/p&gt;
 </description>
     <pubDate>Mon, 01 Apr 2002 19:36:12 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1105930 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/flash-actionscript#comment-1105892</link>
    <description> &lt;p&gt;How is this different from the pre increment operator &quot;++expression&quot;&lt;/p&gt;
 </description>
     <pubDate>Mon, 01 Apr 2002 12:17:53 +0000</pubDate>
 <dc:creator>skeehigh</dc:creator>
 <guid isPermaLink="false">comment 1105892 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-design-and-graphics/flash-actionscript#comment-1105870</link>
    <description> &lt;p&gt;var x = 1;&lt;br /&gt;
x++; //add 1: x is now 2.&lt;/p&gt;
&lt;p&gt;So in this case, the post increment operator is used to add one to a variable. That&#039;s a basic starting point. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TonyMontana&lt;/strong&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.electricmountain.com/home.htm&quot; class=&quot;bb-url&quot;&gt;Electric Mountain&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 31 Mar 2002 20:31:12 +0000</pubDate>
 <dc:creator>TonyMontana</dc:creator>
 <guid isPermaLink="false">comment 1105870 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
