<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SWiSHzone.com Official Blog</title>
	<atom:link href="http://blog.swishzone.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.swishzone.com</link>
	<description>Flash and SWiSH, News, Resources and more!</description>
	<lastBuildDate>Mon, 15 Apr 2013 20:59:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Stair Calorie Calculator</title>
		<link>http://blog.swishzone.com/?p=9632</link>
		<comments>http://blog.swishzone.com/?p=9632#comments</comments>
		<pubDate>Mon, 15 Apr 2013 20:59:39 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max4]]></category>
		<category><![CDATA[miniMax4]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[Swishmax 4]]></category>
		<category><![CDATA[calculator]]></category>
		<category><![CDATA[calorie]]></category>
		<category><![CDATA[fitness]]></category>
		<category><![CDATA[stair]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9632</guid>
		<description><![CDATA[This stair calorie calculator demonstrates the use of the radio button and Math Utilities components. The Math Utilities component is used to round the displayed results to 2 decimal places. It may also helps you lose weight! On my return from the gymnasium the other day, I was about to catch the lift to the 11th floor when I [...]]]></description>
				<content:encoded><![CDATA[<p>This stair calorie calculator demonstrates the use of the <strong>radio button</strong> and <strong>Math Utilities</strong> components. The Math Utilities component is used to round the displayed results to 2 decimal places. It may also helps you lose weight!</p>
<p>On my return from the gymnasium the other day, I was about to catch the lift to the 11th floor when I realised that it would be healthier to walk up the stairs instead.</p>
<p>After walking up the stairs, I then thought to myself was it worth it? How many Calories had I burnt? To figure it out I did some research and created the calculator below which will show the energy consumed climbing stairs.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="400" height="300">
      <param name="movie" value="http://blog.swishzone.com/wp-content/uploads/2013/04/staircalculator.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.swishzone.com/wp-content/uploads/2013/04/staircalculator.swf" width="400" height="300">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<h3>Calculation Method Options</h3>
<p>The <strong>Physics</strong> option calculates the result based on the difference in potential energy (mass * gravity * height). This represents the absolute minimum amount of energy that must have been expended to climb the stairs. However, as the human body expends energy walking on level ground or even down stairs, the actual value would be higher. A<a href="http://www.livestrong.com/article/307968-how-many-calories-are-expended-climbing-a-flight-of-stairs/" target="_blank"> few web searches</a> revealed that 5 kcal per flight of stairs for a 150lb person is a typically quoted amount. The <strong>Dept of Health</strong> option calculates on the basis of a 150lb person and 5kcal per flight. The 5kcal / flight figure was quoted as coming from the New Hampshire Department of Health and Human Services, hence <strong>Dept of Health</strong> is used to identify that calculation method. I have assumed that the figure is proportional to weight so the calculator modifies the results proportionally according to the entered weight.</p>
<p><span id="more-9632"></span></p>
<h3>The Displayed Results</h3>
<p><a href="http://en.wikipedia.org/wiki/Joule" target="_blank">Joules</a> and <a href="http://en.wikipedia.org/wiki/Calorie" target="_blank">Calories</a> are measurements of energy. The Joule is the SI unit for energy, however packeted food items are typically labelled in Calories (symbol <strong>kcal</strong> or <strong>Cal</strong>) and/or Kilojoules (symbol <strong>kJ</strong>, 1kJ = 1000 Joules).  1 Cal = 4.184 kJ.</p>
<p>The term calorie is confusingly used to describe two units of energy:</p>
<ul>
<li>the small calorie, symbol: <strong>cal</strong>,  is the approximate energy to raise one gram of water 1 degree Celsius and</li>
<li>the large calorie which is typically used in food descriptions. This has the symbol <strong>kcal</strong> or <strong>Cal</strong>. One large calorie = 1000 small calories.</li>
</ul>
<p>All food items generally refer to the large calorie (kcal or Cal).</p>
<h4>Examples of food energy values</h4>
<p>Once you know the energy values of food, you can see how many stairs you need to climb to burn it off. Some examples are shown below. Many of the values were obtained from <a href="http://www.myfoodbuddy.com/foodCalorieTable.htm" target="_blank">this website</a>.</p>
<p>1g fat = 9 Cal</p>
<p>small apple = 80 Cal</p>
<p>cup cooked broccoli = 45 Cal</p>
<h3><span style="font-size: 1.17em;">Sample file</span></h3>
<p>The example was created using <strong>SWiSH Max4</strong>. The example file can be downloaded <a href="http://blog.swishzone.com/wp-content/uploads/2013/04/staircalculator.zip" target="_blank">from here</a>.</p>
<h2>Is it all worth it?</h2>
<p>Although the calculated values may seem low, in a typical office environment if you were to climb 2 flights of stairs 5 times a day (easily achievable if you need to move between floors to do your work), this adds up to about 10 flights per day,  50 flights per week, 2400 flights in a typically work year equating to 12000 kcal per year for a 150lb person (using the Dept of Health calculation method). That is a significant number of <strong>kcal</strong> so I personally think its worth it.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9632</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the ColorTransform object</title>
		<link>http://blog.swishzone.com/?p=9606</link>
		<comments>http://blog.swishzone.com/?p=9606#comments</comments>
		<pubDate>Mon, 18 Feb 2013 19:37:27 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Max4]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[Swishscript]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[ColorTransform]]></category>
		<category><![CDATA[transform]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9606</guid>
		<description><![CDATA[The now deprecated Color object was the subject of the previous blog article. If you have not read that article, please do so as it provides a useful introduction. The more complex ColorTransform object allows the user alter an objects color and alpha based on existing values and applied multipliers and offsets. When a ColorTransform object [...]]]></description>
				<content:encoded><![CDATA[<p>The now deprecated Color object was the subject of the <a title="Color object blog article" href="http://blog.swishzone.com/?p=9572" target="_blank">previous blog article</a>. If you have not read that article, please do so as it provides a useful introduction. The more complex <strong>ColorTransform</strong> object allows the user alter an objects color and alpha based on existing values and applied multipliers and offsets.</p>
<p>When a ColorTransform object is used, each color channel is calculated using the following formulas:</p>
<ul>
<li>red value = (original red value * redMultiplier) + redOffset</li>
<li>green value = (original green value * greenMultiplier) + greenOffset</li>
<li>blue value = (original blue value * blueMultiplier) + blueOffset</li>
<li>alpha value = (original alpha value * alphaMultiplier) + alphaOffset</li>
</ul>
<p>The calculated value is clipped so that it falls in the range 0 to 255. (ie a value &gt; 255 is changed to 255. A value &lt; 0 is changed to 0).</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_1" width="250" height="150" align="none">
      <param name="movie" value="http://blog.swishzone.com/wp-content/uploads/2013/02/ColorTransform2.swf" />
      <param name="align" value="none" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.swishzone.com/wp-content/uploads/2013/02/ColorTransform2.swf" width="250" height="150" align="none">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p>The example movie above demonstrates the Transform being applied to a gradient shaded object. Press the play button to see the effect. Unlike the Color object, each color in the gradient is changed to a new color after the transform. This is not possible with the Color object which would change the entire object into a new single color. Note that as the offsets are altered, the object color tends towards white because of the clipping.</p>
<p><span id="more-9606"></span></p>
<p>A detailed description of the <strong>ColorTransform()</strong> object can be found at the <a href="http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html" target="_blank">Adobe website</a> or in the<strong> Flash AS2 language reference</strong> pdf document which can be downloaded <a href="http://livedocs.adobe.com/flash/9.0/main/flash_as2_language_reference.pdf">from here</a>.</p>
<p>In summary the object has the following properties:</p>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><strong>Property</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td>alphaMultiplier</td>
<td>A decimal value that is multiplied by the current alpha channel value to obtain a new value. Generally values between -1.0 and 1.0 are the most useful. The default value is 1.</td>
</tr>
<tr>
<td>alphaOffset</td>
<td>A number in the range -255..255. This value is added to the result. The default value is 0.</td>
</tr>
<tr>
<td>blueMultiplier</td>
<td>A decimal value that is multiplied by the current blue channel value to obtain a new value. Generally values between -1.0 and 1.0 are the most useful. The default value is 1.</td>
</tr>
<tr>
<td>blueOffset</td>
<td>A number in the range -255..255. This value is added to the result. The default value is 0.</td>
</tr>
<tr>
<td>greenMultiplier</td>
<td>A decimal value that is multiplied by the current green channel value to obtain a new value. Generally values between -1.0 and 1.0 are the most useful. The default value is 1.</td>
</tr>
<tr>
<td>greenOffset</td>
<td>A number in the range -255..255. This value is added to the result. The default value is 0.</td>
</tr>
<tr>
<td>redMultiplier</td>
<td>A decimal value that is multiplied by the current red channel value to obtain a new value. Generally values between -1.0 and 1.0 are the most useful. The default value is 1.</td>
</tr>
<tr>
<td>redOffset</td>
<td>A number in the range -255..255. This value is added to the result. The default value is 0.</td>
</tr>
<tr>
<td>rgb</td>
<td>Sets the RGB value for the color transform object.</td>
</tr>
</tbody>
</table>
<p>When the transform is applied, the new colors are applied according the the formula described above.  The final values are then clipped to be forced into the range 0..255.</p>
<h2>Examples</h2>
<p>The example above was implemented with the following script.</p>
<pre>onSelfEvent (load) {
 import flash.geom.ColorTransform;
 import flash.geom.Transform;

 var c = new ColorTransform();
 var t = new Transform(shadowclip.colorswatch);
 this.stop();
}
onFrame (3) {
 c.blueOffset += 3;
 c.blueOffset %= 256;
 c.redOffset += 5;
 c.redOffset %= 256;
 c.greenOffset += 7;
 c.greenOffset %=256;
 t.colorTransform = c;
 // trace(c.rgb);
}
function Events(n,v) {
 if (v) this.play(); 
 else this.stop();
}</pre>
<h3>Explanation</h3>
<p>The script creates ColorTransform and Transform objects <strong>c</strong> and <strong>t</strong>. The Transform object is associated with the colorswatch circle inside the shadowclip movie clip. On every 3rd frame, the blue, red and green offsets are incremented by 3, 5 and 7. The result is then limited to a value 0..255 using the modulo (%) function. The ColorTransform is then applied via the script:</p>
<pre>t.colorTransform = c;</pre>
<h3>Example 2</h3>
<p>The example shown in the <a href="http://blog.swishzone.com/?p=9572" target="_blank">previous article</a> could be implemented using the ColorTransform and the following script:</p>
<pre>onSelfEvent (load) {
    import flash.geom.ColorTransform;
    import flash.geom.Transform;

    var c = new ColorTransform();
    var t = new Transform(shadowclip.colorswatch);
}
function Events(n,v) {
    v = Math.round(v);
    c.rgb = v;
    t.colorTransform = c;
}</pre>
<p>In this case, the rgb property is used to set the red, green and blue color channels directly. This use is similar to the way the Color object works.</p>
<p>Both of the above example .swi files can be obtained from <a title="zip file containing sample swi files" href="http://blog.swishzone.com/wp-content/uploads/2013/02/ColorTransform.zip">this .zip file</a>. ColorTransform.swi is the second example and ColorTransform2.swi is the first example.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9606</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using the Color object</title>
		<link>http://blog.swishzone.com/?p=9572</link>
		<comments>http://blog.swishzone.com/?p=9572#comments</comments>
		<pubDate>Thu, 31 Jan 2013 19:29:39 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Max4]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[Swishscript]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9572</guid>
		<description><![CDATA[The Color object was introduced in Flash Player 6. It is deprecated since Flash Player 8. Although the replacement ColorTransform object provides additional flexibility, the original Color object is easier to use and understand. Consequently, it is still used in spite of its deprecated status. The ColorTransform object should be used in all new projects. The older Color object [...]]]></description>
				<content:encoded><![CDATA[<p>The Color object was introduced in Flash Player 6. It is deprecated since Flash Player 8. Although the replacement ColorTransform object provides additional flexibility, the original Color object is easier to use and understand. Consequently, it is still used in spite of its deprecated status.</p>
<p>The ColorTransform object should be used in all new projects. The older Color object is discussed here as it provides a useful introduction to the theory of altering color using script. The ColorTransform object will be discussed in a future article.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_2" width="400" height="200" align="none">
      <param name="movie" value="http://blog.swishzone.com/wp-content/uploads/2013/01/Colorobject2.swf" />
      <param name="align" value="none" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.swishzone.com/wp-content/uploads/2013/01/Colorobject2.swf" width="400" height="200" align="none">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p><span id="more-9572"></span></p>
<p>Within scripting, colors are expressed as a number. The blog article <a title="Flash Color Representation" href="http://blog.swishzone.com/?p=4920" target="_blank">Flash Color Representation</a> explains this representation and should be consulted for background knowledge.</p>
<p>The script for the above example is shown below:</p>
<pre>onSelfEvent (load) {
 var c = new Color(shadowclip.colorswatch);
}
function Events(n,v) {
 v = Math.round(v);
 c.setRGB(v);
}</pre>
<p>The line <em><strong>var c = new Color(shadowclip.colorswatch); </strong></em><strong></strong>creates the color object and associates it with the star shaped color swatch.</p>
<p>The line <em><strong>c.setRGB(v);</strong></em> uses the color object to set the color according to the new slider position.</p>
<p>If the Color object is applied to a movie clip  containing multiple objects or a shape containing multiple colors, all colors will be set to the new color. The Color object will also alter the color of any filter if applied.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2013/01/cap-2013-01-30_03.png"><img class="alignright size-full wp-image-9594" title="cap 2013-01-30_03" alt="" src="http://blog.swishzone.com/wp-content/uploads/2013/01/cap-2013-01-30_03.png" width="142" height="72" /></a>To prevent the drop shadow from changing color, example above encases the <strong>colorswatch</strong> object in a movie clip named <strong>shadowclip</strong>. A drop shadow filter is applied to <strong>shadowclip</strong> and the Color object refers directly to the color swatch within that movie clip (<em>shadowclip.colorswatch</em>). This allows the color of the colorswatch to be altered without changing the color of the drop shadow.</p>
<p>Example movies authored in Max4 are available in <a title="Zip file containing example movies. " href="http://blog.swishzone.com/wp-content/uploads/2013/01/ColorobjectRGB.zip">this zip file</a>. <strong>Colorobject2.swi</strong> is the example shown above. <strong>ColorobjectRGB</strong> is a similar example that uses 3 sliders to allow the Red, Green and Blue values to be altered independently.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9572</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Component: 3dCube</title>
		<link>http://blog.swishzone.com/?p=9536</link>
		<comments>http://blog.swishzone.com/?p=9536#comments</comments>
		<pubDate>Sun, 15 Jul 2012 21:04:21 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[3D Models]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[Max4]]></category>
		<category><![CDATA[miniMax4]]></category>
		<category><![CDATA[Swishmax 4]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[3dCube]]></category>
		<category><![CDATA[Cube]]></category>
		<category><![CDATA[Image cube]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9536</guid>
		<description><![CDATA[This SWiSH Max4 component displays 6 images in a rotating cube. The cube rotates towards the current mouse position. Parameter options exist to change the size, alter the speed, border color / width and to load different images. &#160; The actual rotating cube is shown below. Mouse over the image to start the cube rotating. In [...]]]></description>
				<content:encoded><![CDATA[<p>This SWiSH Max4 component displays 6 images in a rotating cube. The cube rotates towards the current mouse position. Parameter options exist to change the size, alter the speed, border color / width and to load different images.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/07/cap-2012-07-10_02.png"><img class="alignnone size-full wp-image-9539" title="cap 2012-07-10_02" src="http://blog.swishzone.com/wp-content/uploads/2012/07/cap-2012-07-10_02.png" alt="" width="375" height="354" /></a></p>
<p>&nbsp;</p>
<p><span id="more-9536"></span></p>
<p>The actual rotating cube is shown below. Mouse over the image to start the cube rotating. In this example, a size of 250 was chosen with a speed of 25. The border lines are colored white with a width of 0 (minimum width line). A drop shadow filter has been added to provide the shadow effect on the bottom left edges.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_3" width="450" height="450" align="none">
      <param name="movie" value="http://blog.swishzone.com/wp-content/uploads/2012/07/3dCube.swf" />
      <param name="align" value="none" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.swishzone.com/wp-content/uploads/2012/07/3dCube.swf" width="450" height="450" align="none">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<h2>Downloads</h2>
<p>The <strong></strong>component will work with SWiSH Max4 and miniMax4 with build dates of 20110620 or later, although the component is not included with the 20110620 build’s installer, it can be downloaded <a title="Zip file containing the 3dCube component" href="http://blog.swishzone.com/wp-content/uploads/2012/07/3dCube.zip">here</a>. After downloading, extract the files within the zip file to:</p>
<p><strong></strong><strong>C:\Program Files\SWiSH Max4\Shapes\3D</strong></p>
<p>Note that the exact location may be different depending on where you installed Max4, or miniMax4. We intend including the component in future releases of Max4 and miniMax4. On x64 systems, Max4 and miniMax4 are by default installed into <strong>C:\Program Files (x86)\…</strong></p>
<h2>Use</h2>
<p>To use the component, drag <strong>3DCube</strong> onto the stage then adjust its settings using the <strong>Parameters panel</strong>. If the Parameters panel is not visible it can be enabled using <strong>Main Menu |  Window</strong> and ticking the Parameters option.</p>
<h2>Parameters</h2>
<p><strong><a href="http://blog.swishzone.com/wp-content/uploads/2012/07/3dcubeparams.png"><img class="alignright size-full wp-image-9551" title="3dcubeparams" src="http://blog.swishzone.com/wp-content/uploads/2012/07/3dcubeparams.png" alt="" width="218" height="453" /></a>Size</strong> &#8211; The size of each cube face in pixels. Note that when the cube is rotated the actual width can be up to 1.74 (sqrt(3)) times the specified width.</p>
<p>For example, a 250 size cube, will fit entirely in a 250*1.74 = 435 diameter circle.</p>
<p>If the size value is altered, each of the images is re sampled according to the new size. If the original image is no longer on the system, the image is unchanged. Note that a larger size implies larger images and a larger .swf file. The final size is proportional to s*s. ie. doubling the size will increase the .swf size by 4.</p>
<p><strong>Speed</strong> &#8211; This defines how fast the cube moves when it follows the mouse direction. A higher number will cause a faster speed.</p>
<p><strong>Line Color</strong> &#8211; Defines the color of the line border between the images. Use an alpha value of 0% if no line is required.</p>
<p><strong>Line Width</strong> &#8211; Defines the border line width. A value of 0 indicates a minimum width line.</p>
<p><strong>Images</strong> &#8211; This group allows images to be selected for each of the 6 faces.</p>
<p><strong>Quality</strong> &#8211; Defines the jpeg image quality. A lower quality will result in a smaller and faster loading .swf file. If the quality value is altered, each of the images is re sampled according to the selected quality. If the original image is no longer on the system, the image is unchanged.</p>
<p><strong>Image6</strong> is the image that is initially visible before the cube starts rotating.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9536</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>New Component: Barcode_QR</title>
		<link>http://blog.swishzone.com/?p=9482</link>
		<comments>http://blog.swishzone.com/?p=9482#comments</comments>
		<pubDate>Mon, 09 Jul 2012 23:54:06 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[components]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Max4]]></category>
		<category><![CDATA[miniMax4]]></category>
		<category><![CDATA[Swishmax 4]]></category>
		<category><![CDATA[barcode]]></category>
		<category><![CDATA[inventory]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[QR]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9482</guid>
		<description><![CDATA[Over a year ago we published an article about a Barcode_128 bar code generator component. In response to that article, some users requested a QR code generator component. QR Code (Quick Response Code) is a popular two dimensional matrix bar code that was invented by Denso in 1994. It has since become an ISO/IEC standard. QR [...]]]></description>
				<content:encoded><![CDATA[<p>Over a year ago we published an article about a <a title="Barcode_128 article" href="http://blog.swishzone.com/?p=7257" target="_blank">Barcode_128</a> bar code generator component. In response to that article, some users requested a QR code generator component. <a title="Wikipedia article" href="http://en.wikipedia.org/wiki/QR_code" target="_blank"><strong>QR Code</strong></a> (Quick Response Code) is a popular two dimensional matrix bar code that was invented by <a title="Wikipedia article" href="http://en.wikipedia.org/wiki/Denso" target="_blank">Denso</a> in 1994. It has since become an ISO/IEC standard.</p>
<p>QR Code readers are freely available for iPhone, Android and other smart devices. Using a reader to read a QR Code allows information to be easily entered into the smart device without the tedium of having to use a small cramped keyboard. The information could include website URL, phone number, physical address, order, part number or contact information.</p>
<p>The QR code below contains the text: &#8220;http://www.swishzone.com&#8221;</p>
<p>Most QR readers recognize a website name and offer to open a browser window that refers to the site. <a href="http://blog.swishzone.com/wp-content/uploads/2012/07/cap-2012-07-09_01.png"><img class="alignleft size-full wp-image-9484" title="cap 2012-07-09_01" src="http://blog.swishzone.com/wp-content/uploads/2012/07/cap-2012-07-09_01.png" alt="" width="285" height="289" /></a>If you have a mobile device with a QR code reader installed (eg. <a title="Android ZXing scanner" href="https://play.google.com/store/apps/details?id=com.google.zxing.client.android&amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5nb29nbGUuenhpbmcuY2xpZW50LmFuZHJvaWQiXQ.." target="_blank">ZXing</a>) you should be able to scan the image and then optionally browse the swishzone.com website.</p>
<p>QR Codes are a convenient way to publicize your website or business to mobile devices through conventional media: Posters, billboards, stickers, T-Shirts or other merchandising goods.</p>
<p>A QR code in a shop window is a great way for people to obtain information about your business from its mobile website if they arrive after normal business hours.</p>
<p>QR Codes are also a convenient way to allow the transfer the URL of a mobile specific website from a desktop computer into a mobile device.</p>
<p>The QR component described by this article allows users to create their own QR Codes.</p>
<p><span id="more-9482"></span></p>
<h2>Downloads</h2>
<p>The <strong></strong>component will work with SWiSH Max4 and miniMax4 with build dates of 20110620 or later, although the component is not included with the 20110620 build’s installer, it can be downloaded <a title="Zip file containing the Barcode_QR component" href="http://blog.swishzone.com/wp-content/uploads/2012/07/Barcode_QR.zip" target="_blank">here</a>. After downloading, extract the files within the zip file to:</p>
<p><strong></strong><strong>C:\Program Files\SWiSH Max4\Components\Utility</strong></p>
<p>Note that the exact location may be different depending on where you installed Max4, or miniMax4. We intend including the component in future releases of Max4 and miniMax4. On x64 systems, Max4 and miniMax4 are by default installed into <strong>C:\Program Files (x86)\…</strong></p>
<h2>Use</h2>
<p>To use the component, drag Barcode_QR onto the stage then manually enter a string into the Parameters panel. Alternatively, use the <strong>Set_QR(s)</strong> method to create a new code using script.</p>
<p>The <a title="Zip file containing the sample movie .swi file" href="http://blog.swishzone.com/wp-content/uploads/2012/07/qr_example.zip" target="_blank">sample movie</a> below demonstrates the use of the <strong>Set_QR(s)</strong> method. It also demonstrates how the component can be used as a mask to provide a QR code that is colored according to a color gradient. This can make your codes a little more interesting than the common black and white ones that are typically used. Using the masking method you could also use images in place of the gradient, however the image should not contain any white areas.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_4" width="400" height="400">
      <param name="movie" value="http://blog.swishzone.com/wp-content/uploads/2012/07/qr_example.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.swishzone.com/wp-content/uploads/2012/07/qr_example.swf" width="400" height="400">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<h2>Parameters</h2>
<h3><a href="http://blog.swishzone.com/wp-content/uploads/2012/07/parameters.png"><img class="alignright size-full wp-image-9501" title="parameters" src="http://blog.swishzone.com/wp-content/uploads/2012/07/parameters.png" alt="" width="256" height="302" /></a>String</h3>
<p>This is the string that is encoded into the QR code. The string can be altered using script via the <strong>Set_QR()</strong> method.</p>
<h3>Color</h3>
<p>This is the color of the QR code. It should be a dark color to maximize contrast. Black is commonly chosen.</p>
<h3>Background Color</h3>
<p>This is the background color of the QR code. A light color, generally white should be chosen. If using the component as a mask, choose 0% alpha to allow masking to work correctly.</p>
<h3>Size</h3>
<p>This is the size of the code when displayed. The interpretation of this value depends on the Variable Size checkbox.</p>
<h3>Variable Size</h3>
<p>If this check box is un checked, then the QR code size is defined by the size value. ie, 250 means a 250 by 250 pixel code.</p>
<p>If this is checked, then the size represents the size of an individual square within the matrix. The overall matrix size is varible and is defined by the amount of data that is encoded into the QR code.</p>
<h2>Methods</h2>
<h3>SetQR(s)</h3>
<p>The QR code is updated to display the new string. If the string cannot be displayed because it is too long, -1 is returned.</p>
<h3>GetMode(s)</h3>
<p>The QR code standard defines a number of versions, different data types and error correction modes. This Method returns the version, data type and correction mode information in a number that can be interpreted as a bitmap of VVVVEECC. You will need to convert the number to binary to interpret the bit map.</p>
<p>Where vvvv is the version number<br />
ee = error correction mode 0=L, 1=M, 2=Q, 3=H<br />
cc = coding method 0=numeric, 1=alpha numeric, 2=8bit</p>
<p>During typical use, this method need not be used. It is only provided for those that are interested and want more information about the codes that are being created.</p>
<h3>Settings(col,bgndcol,size,variablesize)</h3>
<p>This method allows the remaining parameter settings to be altered using script.</p>
<h2>Technical Information</h2>
<p>The QR Standard defines a number of versions, Version 1 to Version 40. The higher the version number, the more data can be stored. The size of the matrix is implied by the version number according to the formula:</p>
<p><strong><em>s = 17+n*4</em></strong> where <strong><em>n</em></strong> is the version number.</p>
<p>For example: A Version 3 QR code has s=17+3*4 = 29. indicating matrix of 29 x 29.</p>
<p>A Version 40 QR code (177 x 177) can encode up to 2953 bytes. However, because of the size and complexity of the matrix, this code is generally not readable by mobile devices &#8211; a specialist scanner is usually required. QR code versions below 5 are generally easily read by a mobile device.</p>
<p>Different levels of error correction can be applied to the data before it is encoded. The specification defines 4 levels of correction: L, M, Q and H were L is the lowest level and H is the highest. As the level of correction is increased, the amount of data that can be encoded is decreased.</p>
<p>The specification also supports 4 different data types:</p>
<ul>
<li><strong>Numeric</strong> &#8211; digits 0..9</li>
<li><strong>Alpha Numeric</strong> &#8211; Upper case A..Z, digits 0..9 and the symbols <em>space</em> $ % * + &#8211; . / :</li>
<li><strong>Byte</strong> &#8211; an 8 bit byte. Any ascii symbol can be encoded.</li>
<li><strong>Kanji/Kana</strong> &#8211; Japanese script characters.</li>
</ul>
<p>The number of symbols that can be encoded into a given size matrix depends on the chosen data type. Selecting a data type that closely matches the intended data may result in a more efficient coding.</p>
<p>For example, using Numeric instead of the Byte data type to encode numeric data can result in better data packing and smaller bar codes.</p>
<p>The Barcode_QR component selects the best data type based on the entered data. Currently the Kanjii / Kana datatype is not supported. It then encodes the data using up to version 3 with M error correction. This means that the maximum number of symbols that can be encoded is shown in the table below:</p>
<table>
<tbody>
<tr>
<th>Data Type</th>
<th>Maximum</th>
<th>Description</th>
</tr>
<tr>
<td>Numeric</td>
<td>149</td>
<td>Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9</td>
</tr>
<tr>
<td>Alpha Numeric</td>
<td>61</td>
<td>0-9, A-Z (upper case only), space, $, %, *, +, -, ., /, :</td>
</tr>
<tr>
<td>Byte</td>
<td>42</td>
<td>8 bit bytes. Entire ascii character set possible</td>
</tr>
</tbody>
</table>
<p>URL names longer than the 42 character maximum can be shortened using a shorten and re-direct website such as <a title="Google's URL shortener" href="http://goo.gl/" target="_blank">google&#8217;s URL shortener</a>.</p>
<p>If you need to print the URL that has been created, consider using the <a title="Printjob bloc article" href="http://blog.swishzone.com/?p=6708" target="_blank">PrintJob </a>script command.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9482</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>New Game: Memory</title>
		<link>http://blog.swishzone.com/?p=9439</link>
		<comments>http://blog.swishzone.com/?p=9439#comments</comments>
		<pubDate>Tue, 26 Jun 2012 22:06:40 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Max4]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[Swishmax 4]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[puzzle]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9439</guid>
		<description><![CDATA[This game will test and improve your memory. Tiles are animated in a random sequene. Once the sequence is complete, the player attempts to re-create the sequence. Points are scored for each tile that is selected in the correct sequence. If the sequence is remembered correctly, the next sequence is made longer. If the sequence [...]]]></description>
				<content:encoded><![CDATA[<p>This game will test and improve your memory. Tiles are animated in a random sequene. Once the sequence is complete, the player attempts to re-create the sequence. Points are scored for each tile that is selected in the correct sequence. If the sequence is remembered correctly, the next sequence is made longer. If the sequence is incorrect, the next sequence is made shorter.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_5" width="400" height="400">
      <param name="movie" value="http://blog.swishzone.com/wp-content/uploads/2012/06/memory.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.swishzone.com/wp-content/uploads/2012/06/memory.swf" width="400" height="400">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p>The game runs over 10 &#8220;sequence frames&#8221;. This means a maximum possible score of 55.</p>
<h2><span id="more-9439"></span>Downloads</h2>
<p>The SWiSH Max4 .swi file can be downloaded <a href="http://blog.swishzone.com/wp-content/uploads/2012/06/memory.zip" target="_blank">from here</a>. The file was created using the 20110620 version of Max4 and should open on that and later versions.</p>
<h2>Customization</h2>
<p>The .swi file can be edited using Max4. This allows customization according to a users specific needs. For example, the tiles can be altered from the SWiSH logos to a specific company logo. The size of the puzzle can also be easily modified. The text messages are made availalbe in the Parameters panel for modification.</p>
<p>The game is based on the <a title="ClipClone component blog article" href="http://blog.swishzone.com/?p=4875" target="_blank">ClipClone component</a>. Changes to the number of tiles or layout (4&#215;4, 5&#215;3 etc) can be achieved by modifying the ClipClone parameters. Other elements within the movie may then need resizing and re-positioning to fit the new layout. The elements within the movie clip are described below:</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/06/pic01.png"><img class="alignleft size-full wp-image-9452" title="pic01" src="http://blog.swishzone.com/wp-content/uploads/2012/06/pic01.png" alt="" width="170" height="154" /></a><strong>Button_replay</strong>: This is the button that allows initial play and replay after the first game.</p>
<p><strong>status</strong>: This is the top line of the text display.</p>
<p><strong>status2</strong>: This is the area of the display that shows the current frame number.</p>
<p><strong>status3</strong>: The area of the display that shows the current score.</p>
<p><strong>ClipClone</strong>: This movie clip holds the individual tiles.</p>
<p><strong>scorepanel</strong>: The lighter colored rectangle behind the scores.</p>
<p><strong>background</strong>: The dark background that defines the outline of the game.</p>
<h3>Modify Tiles</h3>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/06/pic02.png"><img class="alignright size-full wp-image-9455" title="pic02" src="http://blog.swishzone.com/wp-content/uploads/2012/06/pic02.png" alt="" width="185" height="138" /></a>The tiles are contained and duplicated by the clip clone component. To modify the tiles, modify the shape within the movie clip &#8220;<strong>s</strong>&#8221; then press the <strong>Update</strong> button within the parameters panel for the Clip Clone component to update the other movie clips s2..s15.</p>
<p>I hope you enjoy playing with this new game.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9439</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: Detecting mobile devices</title>
		<link>http://blog.swishzone.com/?p=9314</link>
		<comments>http://blog.swishzone.com/?p=9314#comments</comments>
		<pubDate>Wed, 13 Jun 2012 21:29:21 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Advanced]]></category>
		<category><![CDATA[Max4]]></category>
		<category><![CDATA[Swishmax 4]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9314</guid>
		<description><![CDATA[Today, nearly everyone has a smartphone, tablet or other mobile computing device. Unfortunately websites designed for large screen browsing do not display very well on these devices because of screen size constraints and other interface limitations. In addition, the Flash player is not universally implemented in all mobile devices (eg iPhones and iPads). This article discusses various techniques [...]]]></description>
				<content:encoded><![CDATA[<p>Today, nearly everyone has a <a title="smartphone" href="http://en.wikipedia.org/wiki/Smartphone" target="_blank">smartphone</a>, tablet or other mobile computing device. Unfortunately websites designed for large screen browsing do not display very well on these devices because of screen size constraints and other interface limitations. In addition, the Flash player is not universally implemented in all mobile devices (eg iPhones and iPads). This article discusses various techniques that can be used to detect a mobile device and then automatically re-direct the user to a mobile device specific landing page.</p>
<p>The techniques include:</p>
<ul>
<li>Manual Selection</li>
<li>User Agent information via Java and</li>
<li>User Agent information via Server Detection</li>
</ul>
<p><span id="more-9314"></span></p>
<h2>Manual Selection</h2>
<p>This is the easiest method to implement. Simply add a link at the top of your website that points to the Mobile Landing Page. The link should exist within the html (not Flash) section of your website.</p>
<h2>User Agent</h2>
<p>The remaining approaches rely on interpreting the user agent information. The table below shows the information returned from some common browsers on different devices:</p>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td>IE 9.0</td>
<td>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)</td>
</tr>
<tr>
<td>Chrome</td>
<td>Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19</td>
</tr>
<tr>
<td>Firefox</td>
<td>Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0</td>
</tr>
<tr>
<td>HTC Desire</td>
<td>Mozilla/5.0 (Linux; U; Android 2.3.3; en-vn; HTC_Desire_A8183 V2.26.841.2 Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1</td>
</tr>
<tr>
<td>iPhone</td>
<td>Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3</td>
</tr>
</tbody>
</table>
<p>If the words Mobile, iPhone or iPad appear in the returned string, there is high probability that the device is a mobile device. Should a specific mobile device not be identified, modify the sample scripts below to search for specific string that may appear in specific mobile devices that you wish to target.</p>
<h3>Java</h3>
<p>Use <strong>navigator.userAgent</strong> to obtain information that is sent back to the server about the web client.</p>
<p>One possible issue with this approach is that the mobile device does not support Javascript. For this reason, the Server Detection methods are generally considered more reliable.</p>
<pre>&lt;script type="text/javascript"&gt;
var ua=navigator.userAgent;
if (ua.indexOf("Mobile")!=-1) window.location = "http://www.mysite.com/mobile.html"
if (ua.indexOf("iPad")!=-1) window.location = "http://www.mysite.com/mobile.html"
if (ua.indexOf("iPhone")!=-1) window.location = "http://www.mysite.com/mobile.html"
&lt;/script&gt;</pre>
<h3>Server Detection (php)</h3>
<p>php is the server side scripting language generally available on linux servers.</p>
<pre>&lt;?php
$ua=$_SERVER['HTTP_USER_AGENT'];
if(preg_match('/Mobile|iPhone|iPad/',$ua)) header("http://www.mysite.com/mobile.html");
?&gt;</pre>
<h3>Server Detection (asp)</h3>
<p>asp is available on Microsoft servers.</p>
<pre>&lt;%
dim u
set ua=Request.ServerVariables("HTTP_USER_AGENT")
set b = new RegExp
b.Pattern="Mobile|iPad|iPhone"
if b.test(ua) then response.redirect("http://www.mysite.com/mobile.html") end if
%&gt;</pre>
<h2>Mobile Landing Page</h2>
<p>For maximum compatibility, the mobile landing page should have the following attributes:</p>
<ul>
<li>Authored in html</li>
<li>Smaller than typical desktop width, eg 250 pixels.</li>
<li>Logo image typically 250&#215;85</li>
<li>Essential content only such as: Company / item description, Company address / phone number and Link to desktop web page</li>
</ul>
<div></div>
<div>This <a href="http://mobiforge.com/designing/story/effective-design-multiple-screen-sizes" target="_blank">blog article</a>, provides an in depth discussion on how to author and size a page for a mobile site. If you don&#8217;t want to go to that level of detail then simply define a default mobile width such as 250, 320 or 640.</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9314</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tutorial: Max to DVD</title>
		<link>http://blog.swishzone.com/?p=9100</link>
		<comments>http://blog.swishzone.com/?p=9100#comments</comments>
		<pubDate>Mon, 21 May 2012 02:25:04 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max4]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[Wizard]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[invitation]]></category>
		<category><![CDATA[scroll]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9100</guid>
		<description><![CDATA[Did you know you can author a DVD with content created by SWiSH Max4? The process makes use of Windows Live Movie Maker and Windows DVD Creator. Both programs are provided with Vista and Windows 7.  DVD&#8217;s authored in this way make interesting and unique invitations or presentations. The technique can also be applied to create custom [...]]]></description>
				<content:encoded><![CDATA[<p>Did you know you can<a title="author a DVD" href="http://en.wikipedia.org/wiki/DVD_authoring" target="_blank"> author a DVD</a> with content created by SWiSH Max4? The process makes use of Windows Live Movie Maker and Windows DVD Creator. Both programs are provided with Vista and Windows 7.  DVD&#8217;s authored in this way make interesting and unique invitations or presentations. The technique can also be applied to create custom titles for home movies.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_6" width="450" height="150">
      <param name="movie" value="http://blog.swishzone.com/wp-content/uploads/2012/05/max2dvd.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.swishzone.com/wp-content/uploads/2012/05/max2dvd.swf" width="450" height="150">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p><span id="more-9100"></span></p>
<p>The movie below is similar to an invitation that I recently created and sent via normal post as a DVD for playback using a standard DVD player.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_7" width="450" height="337.5" name="Example invitation. Click on final scene to replay.">
      <param name="movie" value="http://blog.swishzone.com/wp-content/uploads/2012/04/scrolltemplate2.swf" />
      <param name="name" value="Example invitation. Click on final scene to replay." />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.swishzone.com/wp-content/uploads/2012/04/scrolltemplate2.swf" width="450" height="337.5" name="Example invitation. Click on final scene to replay.">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p>To replay the demonstration movie, click on the last scene once the movie has finished playing.</p>
<p>The movie was  exported to AVI format without sound. A sound track was then added using Windows Live Movie Maker. This is faster than exporting the soundtrack with Max4 and also gives superior results. The resulting movie file was then saved to DVD using Microsoft&#8217;s DVD creator. (Included free with Vista and Windows 7).</p>
<p>The final Movie was sized to suit a 4:3 aspect ratio. Although 16:9 is generally preferred, playing a 16:9 movie on a 4:3 device will normally display the movie in &#8220;letter box&#8221; mode. This mode prevents the text from utilizing the full height of the display. For this reason I have based the template on a 800&#215;600 movie size.</p>
<p>The SWiSH Max4 file below is provided as a template. The text and background colors can be modified via the template / wizard interface. If further customization is required, or you wish to use the movie as the basis of your own design, the supplied movie can be modified manually.</p>
<h2>Downloads</h2>
<p>The template can be downloaded from <a title="zip file containing scrollwizard .swi file. " href="http://blog.swishzone.com/wp-content/uploads/2012/05/scrollwizard.zip" target="_blank">here</a>.</p>
<h2>Procedure</h2>
<h3>Configure the wizard</h3>
<p>Modify the wizard parameters are needed. For export as AVI, I recommend a dark background color.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/04/wizardparams.png"><img class="alignnone size-full wp-image-9290" title="wizardparams" src="http://blog.swishzone.com/wp-content/uploads/2012/04/wizardparams.png" alt="" width="415" height="300" /></a></p>
<h3>Set the export length</h3>
<p>Preview the movie and see how long it takes to play. The duration changes depending on the amount of text entered in the <strong>Invite Text</strong> parameter. Based on this value, consider how long you want the movie to play. A value longer than the minimum time gives users the option of reading the items shown in the details screen. The default movie plays to completion in about 35 seconds.</p>
<p>As the text is moved using script, as opposed to a normal effect, Max4 is unable to determine how long to monitor the movie when it exports to avi. For this reason, the <strong>Make movie longer by:[  ] frames</strong> option in the  <strong>AVI Movie Export Settings panel</strong> needs to be set. To access the panel go <strong>File | Export Settings | AVI Movie</strong>.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/04/exportsettings.png"><img class="alignnone  wp-image-9291" title="exportsettings" src="http://blog.swishzone.com/wp-content/uploads/2012/04/exportsettings.png" alt="" width="427" height="330" /></a></p>
<p>To view the frame rate of the movie, select scene_1 in the Outline panel, then press the <strong>Movie Properties&#8230;</strong> button in the Properties panel. The frame rate is normally 25. Therefore, to export a 35 second movie, the make movie longer option in the AVI Movie export panel needs to be set to 35*25 = 875 or longer.</p>
<p>The avi export is also quicker if the Export audio option is unchecked.</p>
<h3>Export to AVI</h3>
<p>Once the Export Settings options have been set, save the .swi movie then export the movie to a video file using the menu command: <strong>File | Export | AVI Movie&#8230;</strong>. Select a location for the destination movie to be written then press <strong>Save</strong>.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/04/exportprocess1.png"><img class="alignnone size-full wp-image-9294" title="exportprocess" src="http://blog.swishzone.com/wp-content/uploads/2012/04/exportprocess1.png" alt="" width="450" height="415" /></a></p>
<p>The export process will commence. As each frame is sampled and re-written to create the .avi file, the export process will take some time to complete. The output file should be about 20Mbytes in size.</p>
<h3>Edit with Windows Live Movie Maker</h3>
<p>Open <strong>Windows Live Movie Maker</strong>. If the icon cannot be easily found, type movie into the Start Button <em>search programs and files</em> search box.</p>
<p>Drag the avi file into the right hand area of Movie Maker.</p>
<p>Use the Add Music option to add your chosen sound track.</p>
<p>Resave the movie using <strong>Save Movie | Burn a DVD</strong>. This will save the movie as a 720&#215;480 wmv file. This option will also open Windows DVD Maker and add the file to that application.</p>
<h3>Burn DVD with Windows DVD Maker</h3>
<p>If not already open, open Windows DVD Maker via the start button and add the file that was created in the previous step.</p>
<p>Check the selected Options. Choose an aspect ratio of 4:3. Consider the DVD playback options: <strong>Play video in a continuous loop</strong> or <strong>Play video and end with DVD menu</strong> are probably the better choices for this type of presentation.</p>
<p>Set the DVD title to something meaningful.</p>
<p>Press <strong>Next</strong> and choose a suitable menu. The &#8220;Fullscreen&#8221; menu works well.</p>
<p>Press Burn to create the DVD.</p>
<h3>Duplication</h3>
<p>To create multiple copies of the DVD, it is easiest to create an iso image of the DVD and then burn copies from that.</p>
<p>I have found that a free ware program called <a title="MagicDisc website" href="http://www.magiciso.com/tutorials/miso-magicdisc-overview.htm" target="_blank">MagicDisc</a> is useful for this purpose. I use MagicDisc to convert the recently burnt DVD into an iso image. The iso image can then be opened with Windows Disk Image Burner (Windows 7 only) to burn duplicate disks. If you are using Vista or XP then a quick search of the web will find other utilities that can be used to burn iso images.</p>
<h2>Notes</h2>
<p>I recommend using a DVD-RW to prototype and test the burning process. Once a satisfactory result is obtained, create a .iso image from the DVD-RW disk and then burn copies to DVD-R or DVD+R as required.</p>
<p>In DVD Maker, although I chose options that should show the menu after the movie, the menu seems to appear first. The appearance of the initial menu appears to depend on the target DVD player.</p>
<p>The scrolling text appears slightly jerky on the final DVD even though it is fine in the original avi file. Setting the frame rate in Max4 to 30 frames per second may help minimize this effect.</p>
<p>Many computer systems come supplied with alternate DVD authoring software so experiment with that software as well.</p>
<p>It may be possible to obtain a slightly better quality result by using the uncompressed option in the Max4 <strong>File | Export Settings | AVI Movie</strong> panel (Press the <strong>Setup Compression&#8230;</strong> button to select compression options). Note that this will increase the exported file size significantly.</p>
<p>The Max4 export sound option requires that the <strong>Stereo Mix</strong> device is chosen as the recording device during Export to AVI. Please see <a title="Blog post: Tutorial: Stereo Mix Device" href="http://blog.swishzone.com/?p=9351" target="_blank">this blog article</a> for information about accessing and enabling the Stereo Mix device.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9100</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tutorial: Stereo Mix device</title>
		<link>http://blog.swishzone.com/?p=9351</link>
		<comments>http://blog.swishzone.com/?p=9351#comments</comments>
		<pubDate>Mon, 14 May 2012 23:01:38 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[Stereo Mix]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9351</guid>
		<description><![CDATA[The Stereo Mix device captures all sounds from the computer and presents them as an input to other audio applications. SWiSH Max4 requires this device during the export to AVI process to capture sound track audio. In addition, the Stereo Mix device can be used with Windows Media player and audacity to convert midi files to mp3 [...]]]></description>
				<content:encoded><![CDATA[<p>The <strong>Stereo Mix</strong> device captures all sounds from the computer and presents them as an input to other audio applications. SWiSH Max4 requires this device during the export to AVI process to capture sound track audio. In addition, the Stereo Mix device can be used with Windows Media player and <a title="audacity website" href="http://audacity.sourceforge.net/" target="_blank">audacity</a> to convert midi files to mp3 or wav files which can then be imported into SWiSH Max. Unfortunately, the <strong>Stereo Mix</strong> device facilitates the potentially unauthorized recording of any streaming audio received by the computer. I suspect that for this reason, its existence is being phased out or hidden. This blog article provides some suggestions on how to gain access to the device and alternate work arounds that allow a soundtrack to be added to an exported avi movie if the device is not available.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/05/StereoMix2.png"><img class="alignnone size-full wp-image-9352" title="StereoMix2" src="http://blog.swishzone.com/wp-content/uploads/2012/05/StereoMix2.png" alt="" width="414" height="461" /></a></p>
<p>&nbsp;</p>
<p><span id="more-9351"></span></p>
<p>Availability of the Stereo Mix device relies on the following:</p>
<ol>
<li>It is not disabled.</li>
<li>It is supported by the software driver.</li>
<li>It is supported by the sound card.</li>
</ol>
<h2>Disabled device</h2>
<p>By default the <strong>Stereo Mix</strong> device is disabled. To enable the device:</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/05/cap06-2012-05-141.bmp"><img class="alignright size-full wp-image-9354" title="cap06 2012-05-14" src="http://blog.swishzone.com/wp-content/uploads/2012/05/cap06-2012-05-141.bmp" alt="" /></a>Open the Sound  Recording devices by right clicking on the speaker icon in the task bar and select <strong>Recording devices</strong>.</p>
<p>The panel can also be accessed from the control panel.</p>
<p>Once the panel is opened, right click in the middle of the panel and select the Show Disabled Devices option.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/05/cap03-2012-05-14.png"><img class="alignnone size-full wp-image-9358" title="cap03 2012-05-14" src="http://blog.swishzone.com/wp-content/uploads/2012/05/cap03-2012-05-14.png" alt="" width="411" height="458" /></a></p>
<p>Any available disabled devices will be displayed.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/05/stereomixdisabled.png"><img class="alignnone size-full wp-image-9362" title="stereomixdisabled" src="http://blog.swishzone.com/wp-content/uploads/2012/05/stereomixdisabled.png" alt="" width="414" height="461" /></a></p>
<p>Right click on the Stereo Mix device to display the context menu and enable the device.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/05/cap04-2012-05-14.png"><img class="alignnone size-full wp-image-9363" title="cap04 2012-05-14" src="http://blog.swishzone.com/wp-content/uploads/2012/05/cap04-2012-05-14.png" alt="" width="352" height="196" /></a></p>
<p>Once enabled, the device should be visible in the Max <strong>Export Settings | AVI Movie</strong> panel.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/05/cap07-2012-05-15.png"><img class="alignnone size-full wp-image-9375" title="cap07 2012-05-15" src="http://blog.swishzone.com/wp-content/uploads/2012/05/cap07-2012-05-15.png" alt="" width="290" height="119" /></a></p>
<p>Where it should be selected as the sound capture driver.</p>
<p>If the previous steps do not display the Stereo Mix device, it is possible that it is disabled or not supported by the currently installed driver.</p>
<h2>Not Supported by Software Driver</h2>
<p>It is possible that the default operating system driver does not support the Stereo Mix device. In this case, a driver from the card / computer / hardware manufacturer may fix the problem.</p>
<p>Try installing appropriate drivers from the manufacturer site and repeat the disabled device sequence described above.</p>
<p>Note that as drivers have full access to your computer system, we recommend that you only download drivers from a trusted source such as your computer manufacturer or a recognised hardware vendor. Driver installation files should normally be <a title="blog article about digital signatures" href="http://blog.swishzone.com/?p=6915" target="_blank">digitally signed</a>, although there are some exceptions (Realtek).</p>
<p>If after installing a new driver your system fails to respond correctly, you should be able to <a title="Microsoft instructions on how to rollback a driver. " href="http://windows.microsoft.com/en-US/windows-vista/Restore-a-driver-to-its-previous-version" target="_blank">rollback </a>the driver to the previous version.</p>
<h2>Not  Supported by Sound Card</h2>
<p>Finally it is possible that the Sound Card / driver combination does not support the Stereo Mix device. If the above suggestions do not display the Stereo Mix device, this is the most likely cause of the problem.</p>
<p>As a workaround, export to AVI without sound capture.  The sound capture feature is enabled or disabled using the <strong>Export Settings | AVI Movie</strong> panel. On completion of the export process, sound can be added to the AVI using a 3rd party application such as <strong>Windows Live Movie Maker</strong>. One advantage of this approach is that the export to AVI process is significantly faster if the sound capture is disabled.</p>
<h2>Midi to mp3/wav Conversion</h2>
<p>If the Stereo Mix device is available, it can be used with <a title="audacity website" href="http://audacity.sourceforge.net/" target="_blank">audacity</a> and windows media player to convert midi files to mp3. In audacity, select Stereo Mix as the recording device, play the midi file in media player and record the result. The resulting mp3 or wav file can be imported into Max4.</p>
<h2>Notes</h2>
<p>The screen captures are from a Windows 7 system. A similar sequence should apply to Vista.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9351</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tutorial: Authoring Custom Effects</title>
		<link>http://blog.swishzone.com/?p=9148</link>
		<comments>http://blog.swishzone.com/?p=9148#comments</comments>
		<pubDate>Sun, 29 Apr 2012 22:11:08 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Effects]]></category>
		<category><![CDATA[Max4]]></category>
		<category><![CDATA[Swishmax 4]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[.sfx]]></category>
		<category><![CDATA[Author]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[rainbow]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=9148</guid>
		<description><![CDATA[Many users may not be aware that it is possible to use SWiSH Max4 to author custom effects such as the one shown below. A custom effect can be based on any of the ten core effects. Custom effects use a Custom interface to offer a specialized user interface that is easier to use than the underlying core effect [...]]]></description>
				<content:encoded><![CDATA[<p>Many users may not be aware that it is possible to use SWiSH Max4 to author custom effects such as the one shown below. A custom effect can be based on any of the ten core effects. Custom effects use a <strong>Custom</strong> interface to offer a specialized user interface that is easier to use than the underlying core effect interface tabs.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_8" width="450" height="200" align="none">
      <param name="movie" value="http://blog.swishzone.com/wp-content/uploads/2012/04/Ranbowbulge.swf" />
      <param name="align" value="none" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.swishzone.com/wp-content/uploads/2012/04/Ranbowbulge.swf" width="450" height="200" align="none">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p>The Custom interface for the &#8220;Rainbow bulge&#8221; effect is shown below. This exposes five parameters instead of the 30+ parameters associated with the underlying Transform effect.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgeparams.png"><img class="alignleft  wp-image-9164" title="rainbowbulgeparams" src="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgeparams.png" alt="" width="195" height="174" /></a>An authored effect can  support up to nine Custom parameters. If more control is needed, the original parameters associated with the core effect can be presented in additional tabs.</p>
<p>The sample effect, &#8220;Rainbow bulge&#8221;, has five custom parameters. In this example, the parameters associated with the core effect (Transform) have been hidden from the end user.</p>
<p>The remainder of this article demonstrates how the above effect was authored. Once understood, the technique can be applied to allow authoring of a virtually unlimited number of custom effects. <span id="more-9148"></span></p>
<h2>Enable Authoring</h2>
<p>By default, effect authoring is not enabled. To enable effect authoring use the Preferences panel (menu item <strong>Tools | Preferences | Effects</strong>) and set the checkbox <strong>Allow effect authoring</strong>. Note that effect authoring is not possible with the SWiSH miniMax range of products.<br />
<a href="http://blog.swishzone.com/wp-content/uploads/2012/04/cap01-2012-04-23.jpg"><img class="alignnone size-full wp-image-9183" title="cap01 2012-04-23" src="http://blog.swishzone.com/wp-content/uploads/2012/04/cap01-2012-04-23.jpg" alt="" width="461" height="214" /></a></p>
<p>While the panel is open use the <strong>Specify additional folder</strong> option to specify the folder where you intend to save the authored effects. This option allows the specified folder to be searched for effect files (.sfx). Effect files and any sub folders containing effect files will be listed in the various effect menus when this option is enabled.</p>
<p>The additional folder option is provided as it is not possible to save authored effects directly to the main effects folder in Vista and Windows 7.</p>
<p>The main effects folder is normally located in <strong>C:\Program Files\SWiSH Max4\effects</strong> or <strong>C:\Program Files (x86)\SWiSH Max4\effects</strong> on 64 bit systems. Administrator permission is required to save files to those folders.</p>
<h2>Author Effect</h2>
<p>To author an effect, follow the normal process of applying an effect to an object. Select an effect that you want to modify (re-author) or choose one of the core effects. A custom effect can be based on any of the ten core effects. Many of the core effects will cause multiple tabs to be displayed in the Effects panel. The tabs associated with each of the core effects is shown in italics.</p>
<ul>
<li><strong>Transform</strong>: <em>Transforms, Cascade</em></li>
<li><strong>Squeeze</strong>: <em>Squeeze, Transforms, Cascade</em></li>
<li><strong>Alternate</strong>: <em>Alternate, Transforms, Cascade</em></li>
<li><strong>Snake</strong>: <em>Snake, Transforms, Cascade</em></li>
<li><strong>Explode</strong>: <em>Explode, Camera, Cascade</em></li>
<li><strong>3D Spin</strong>: <em>3D Spin, Camera, Cascade</em></li>
<li><strong>3D Wave</strong>: <em>3D Wave, Camera, Cascade</em></li>
<li><strong>Vortex</strong>: <em>Vortex, Camera, Cascade</em></li>
<li><strong>Wave</strong>: <em>Wave</em></li>
<li><strong>Typewriter</strong>: <em>Typewriter</em></li>
</ul>
<p><strong>Motion</strong> and <strong>Easing</strong> tabs are available for all effects. These tabs can be hidden or displayed by using the <strong>&lt;&lt;</strong> or <strong>&gt;&gt;</strong> button.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/04/Authorpanel.png"><img class="alignright  wp-image-9188" title="Authorpanel" src="http://blog.swishzone.com/wp-content/uploads/2012/04/Authorpanel.png" alt="" width="186" height="286" /></a>To author a new effect, rename the effect (<em>New Effect</em> in the sample image) and check the Author checkbox. This will cause the additional tabs to be displayed including the <strong>Author</strong> and<strong> Custom</strong> tabs. If desired, the default number of frames can also be altered to better suit the final effect that is authored.</p>
<p>The <strong>Author</strong> tab allows up to nine user configurable parameters to be defined. Once defined these parameters appear within the <strong>Custom</strong> tab. The columns used by each parameter are described below:</p>
<p><strong>Prompt</strong>: Defines the description that is presented to the end user in the <strong>Custom</strong> tab.</p>
<p><strong>Variable</strong>: The end user enters values for each prompt shown in the <strong>Custom</strong> tab. The value entered is saved to the associated variable. The variable is then used to calculate values that are used in other effect tabs.</p>
<p><strong>Type</strong>: One of  <strong>Edit</strong>, <strong>Check</strong>, <strong>Slider</strong> or <strong>Color</strong>. This defines the type of interface that is presented to the user in the <strong>Custom</strong> tab. <strong>Edit</strong> is a standard edit box, <strong>Check</strong> is a checkbox that returns a value of 0 for false or 1 for true. <strong>Slider</strong> allows the user to select a value using the slider or associated edit box. <strong>Color</strong> allows the user to select a color using a color swatch.</p>
<p><strong>Min/Max</strong>: These columns allow maximum and minimum values to be defined if the <strong>Slider</strong> type is chosen.</p>
<p>The <strong>Only show the &#8220;Custom&#8221; page</strong> checkbox will cause the underlying core effect and associated tabs to be hidden when the <strong>Author</strong> checkbox is unchecked. Using this option will minimize the parameters that are presented to the user. When this option is selected, the <strong>Custom</strong> tab will appear as a single page or as a tab if the <strong>Motion</strong> and <strong>Easing</strong> tabs have been enabled with the <strong>&gt;&gt;</strong> button.</p>
<p>Once the <strong>Author</strong> tab has been filled out, select the <strong>Custom</strong> tab and enter reasonable values for the parameters that are presented. When the effect is saved, these values become the default effect values.</p>
<p>Formulas based on the defined variables can then be entered into any field assoicated with the underlying core effect. All fields in the core effect tabs can be configured to have a calculated value. A calculated value is a value derived from a formula consiting of numerical constants, variables and standard mathematical symbols + &#8211; / * etc.</p>
<p><strong>Note</strong>: the  <strong>Motion</strong> and <strong>Easing</strong> tabs cannot have formulas entered as these are not &#8220;core effect&#8221; tabs.</p>
<p>To use a calculated value, instead a numeric value, <strong>right click</strong> on the field and enter the forumla to be calculated. In the case of the image below, the formula entered was the single variable &#8220;<strong><em>mz</em></strong>&#8220;. <a href="http://blog.swishzone.com/wp-content/uploads/2012/04/cap05-2012-04-24.jpg"><img title="cap05 2012-04-24" src="http://blog.swishzone.com/wp-content/uploads/2012/04/cap05-2012-04-24.jpg" alt="" width="189" height="26" /></a><strong></strong></p>
<p><strong>Note</strong>: forumlas can only be entered if the <strong>Author</strong> checkbox is checked and the user<strong> right clicks</strong> on the edit box for the item. Once the forumla has been enterd, the item will display the current calculated value. The calcuated value is shown in gray indicating that direct user entry is not possible. If the forumula contains an error (invalid symbol, undefined variable etc) it will evaluate as 0.</p>
<p>For example: <em><strong>100+mz/2</strong></em> is a valid formula. If <strong>mz</strong> is set to 50 in the <strong>Custom</strong> panel, then the formula would result in a calculated value of 125 (100+50/2). To enter the formula, right click on the desired edit box then enter <strong>100+mz/2</strong>.</p>
<h2>Example</h2>
<p>Using the Rainbow bulge effect as an example, the <strong>Author</strong>, <strong>Custom</strong>, <strong>Transforms</strong> and <strong>Cascade </strong>tabs are shown below:</p>
<table>
<tbody>
<tr>
<td> <a href="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgeauthor.png"><img class="alignnone  wp-image-9194" title="rainbowbulgeauthor" src="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgeauthor.png" alt="" width="212" height="326" /></a></td>
<td><a href="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgecustom.png"><img class="alignnone  wp-image-9198" title="rainbowbulgecustom" src="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgecustom.png" alt="" width="212" height="326" /></a></td>
</tr>
<tr>
<td><a href="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgetransform.png"><img class="alignnone  wp-image-9202" title="rainbowbulgetransform" src="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgetransform.png" alt="" width="212" height="326" /></a></td>
<td> <a href="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgecascade.png"><img class="alignnone  wp-image-9201" title="rainbowbulgecascade" src="http://blog.swishzone.com/wp-content/uploads/2012/04/rainbowbulgecascade.png" alt="" width="212" height="326" /></a></td>
</tr>
</tbody>
</table>
<p>As the Rainbow bulge effect is based on the <strong>Transform</strong> core effect, the <strong>Transforms</strong> and <strong>Cascade</strong> tabs are shown. Custom effects based on a different core effect will show a different tabs depending on the chosen effect.</p>
<p>As can be seen from the images above, the <strong>Custom</strong> tab displays the parameters that are defined within the <strong>Author</strong> tab.  The <strong>Custom</strong> tab becomes the primary user interface for the effect. Values entered by a user in the <strong>Custom</strong> tab are written to the variables defined with the <strong>Author</strong> tab. For example, if the user enters a value for &#8220;Zoom&#8221; in the custom tab, the value is saved in the variable &#8220;mz&#8221;.</p>
<p>The <strong>Transforms</strong> tab has some items grayed out. The grayed items have had formulas entered in place of normal numeric values. The formulas entered for each of the items is shown below in italics:</p>
<ul>
<li>Middle Spacing: <em>ms</em></li>
<li>Middle Scale: <em>mz</em></li>
<li>Start Color: <em>c1</em></li>
<li>Middle Color: <em>c2</em></li>
<li>End Color:<em> c3</em></li>
</ul>
<p>The <strong>Cascade</strong> tab has had the <strong>At start</strong> and <strong>At end</strong> values changed from the default values to <strong>Repeating</strong>. If desired, calculated values could be entered for any item in the <strong>Cascade</strong> tab. However, in this example, no calculated values were used in this tab.</p>
<p>Once the effect has been authored and tested, it can be saved for re-use.</p>
<h2>Saving the Authored Effect</h2>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2012/04/effectspanel.png"><img class="alignleft size-full wp-image-9221" title="effectspanel" src="http://blog.swishzone.com/wp-content/uploads/2012/04/effectspanel.png" alt="" width="198" height="443" /></a>Consider where the Authored Effect is to be saved.</p>
<p>As stated previously, Authored effects cannot be saved directly to the main effect folder. However, a second effects location can be defined in the Preferences panel. Once defined, the this location is searched and listed in the <a title="Blog article about the effects browser panel" href="http://blog.swishzone.com/?p=5918" target="_blank">effects browser panel</a> and other effect menus.</p>
<p>Personally, I divide my authored effects into category sub folders similar to those used by Max. My categories are: Appear, Disappear, Looping, One off and Return to start.</p>
<p>The category sub folders are located in a folder named Authored which is a sub folder of the folder specified in the Preferences panel.</p>
<p>This allows all of my effects to be grouped in the one location and still be sorted according to category. (See the effects panel image). Note that sub folders or only listed if they containing .sfx files.</p>
<p>For example, if the folder defined in the preferences panel is:</p>
<pre>C:\Users\jon\AppData\Roaming\SWiSH Max4\effects</pre>
<p>I create my category sub folders in</p>
<pre>C:\Users\jon\AppData\Roaming\SWiSH Max4\effects\Authored</pre>
<p>Once the save location is known, use the <a href="http://blog.swishzone.com/wp-content/uploads/2012/04/cap06-2012-04-24.jpg"><img src="http://blog.swishzone.com/wp-content/uploads/2012/04/cap06-2012-04-24.jpg" alt="" width="15" height="15" /></a> button to save the effect file. This causes a .sfx file to be created with the name specified in the Effect panel.</p>
<p>For example, &#8220;Rainbow bulge.sfx&#8221;</p>
<p>For a preview of the effect to appear when the <a title="Blog article about the effects browser panel" href="http://blog.swishzone.com/?p=5918" target="_blank">effects browser panel</a> is used, create a movie that demonstrates the effect and save the correponding .swf file using <strong>File |  Export | SWF&#8230;</strong></p>
<p>Save the .swf file with the exact same name as the effect. Save the .swf file  in the same folder as the .sfx file.</p>
<p>For example, &#8220;Rainbow bulge.swf&#8221;</p>
<p>After saving the files, select the effects browser panel and press the <strong>F5</strong> button to refresh the tree structure.</p>
<h2>Downloads</h2>
<p>The sample effect Rainbow bulge can be downloaded from <a title="zip file containing .swf, .swi and .sfx files" href="http://blog.swishzone.com/wp-content/uploads/2012/04/Rainbowbulge.zip" target="_blank">here</a>. If you wish to use this effect with the effects that are currently supplied with Max4 (or miniMax4) , copy the .sfx and .swf files in the zip file to: <strong>C:\Program Files\SWiSH Max4\effects\Looping continuously</strong> or <strong>C:\Program Files (x86)\SWiSH Max4\effects\Looping continuously</strong> on 64 bit systems. You will need administrator permission to copy this file.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&#038;p=9148</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
