<?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, 30 Aug 2010 04:14:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Component Updates</title>
		<link>http://blog.swishzone.com/?p=4734</link>
		<comments>http://blog.swishzone.com/?p=4734#comments</comments>
		<pubDate>Thu, 26 Aug 2010 03:18:15 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max3]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[miniMax3]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[Component]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4734</guid>
		<description><![CDATA[Since the last Component update article, we’ve released a lot of new components which are discussed elsewhere on this blog.  This summary includes a download of all the lastest components for SWiSH Max3 and miniMax3. It&#8217;s a quick way to get up to date. We have also corrected some minor reported problems with other components. The [...]]]></description>
			<content:encoded><![CDATA[<p>Since the last <a href="http://blog.swishzone.com/?p=3071" target="_blank">Component update article</a>, we’ve released a lot of new components which are discussed elsewhere on this blog.  This summary includes a download of all the lastest components for SWiSH Max3 and miniMax3. It&#8217;s a quick way to get up to date. We have also corrected some minor reported problems with other components.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/capture-2010-08-2601.jpg"><img class="alignnone size-full wp-image-4736" title="capture 2010-08-2601" src="http://blog.swishzone.com/wp-content/uploads/2010/08/capture-2010-08-2601.jpg" alt="" width="449" height="449" /></a></p>
<p><span id="more-4734"></span>The updated components can be found in <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/ComponentUpdate_20100826.zip" target="_blank">this zip file</a>.</p>
<p>After downloading it, extract all files including the sub folders to:</p>
<p><strong>C:\Program Files\SWiSH Max3\Components\<br />
</strong></p>
<p>Note that the exact location may be different depending on where you installed SWiSH Max3 or miniMax3. If you are using a x64 system, the location will probably be:</p>
<p><strong>C:\Program Files (x86)\SWiSH Max3\Components\</strong></p>
<p>If you are using Vista or Win 7, you will need administrator permission to unzip the files into the correct destination folder.</p>
<p>These components work with Max3 and miniMax3 build 20091130 (or later). Use the following links to download the  <a href="http://www.swishzone.com/index.php?area=products&amp;product=max&amp;tab=downloads" target="_blank">latest SWiSH Max3</a> or <a href="http://www.swishzone.com/index.php?area=products&amp;product=max_mini&amp;tab=downloads" target="_blank">latest SWiSH minMax3</a> if you are currently using a version prior to 20091130.</p>
<p>New or updated components (based on the Max3/miniMax3 build 20091130 installed components):</p>
<pre>Buttons\Pushbutton\NumericKeyPad.*
Controls\Lists\Combo_silver.*
Controls\Scrollers\ImageZoom.*
Effects\2D\FilmScratch.*
Effects\2D\Texture.*
Menu\Menu.*
Shapes\2D\Autoshapes\Chart_decision.*
Shapes\2D\Autoshapes\Chart_ellipse.*
Shapes\2D\Autoshapes\Chart_rectangle.*
Shapes\2D\Autoshapes\Connector_arrow.*
Shapes\2D\Autoshapes\Line_arrow.*
Shapes\2D\Autoshapes\Measure.*
Shapes\2D\Autoshapes\RoundedRect.*
Shapes\2D\Autoshapes\Ruler.*
Shapes\2D\Autoshapes\Sunburst.*
Shapes\2D\Shapes and Icons\CrossAnimated.*
Shapes\2D\Shapes and Icons\TickAnimated.*
Shapes\2D\Shapes and Icons\TickCrossAnimated.*
Shapes\3D\Cylinder.*
Shapes\3D\Autoshapes\Coil.*
Text Display\EntryForm.*
Utility\DataBank.*</pre>
<p>These components were mentioned in the articles:</p>
<ul>
<li><a href="http://blog.swishzone.com/?p=3089" target="_blank">3d Cylinder</a></li>
<li><a href="http://blog.swishzone.com/?p=3335" target="_blank">Databank</a></li>
<li><a href="http://blog.swishzone.com/?p=3595" target="_blank">Texture</a></li>
<li><a href="http://blog.swishzone.com/?p=3740" target="_blank">Numeric Keypad</a></li>
<li><a href="http://blog.swishzone.com/?p=3843" target="_blank">Film Scratch</a></li>
<li><a href="http://blog.swishzone.com/?p=3938">Well-Rounded (rectangles)</a></li>
<li><a href="http://blog.swishzone.com/?p=4050" target="_blank">Image Zoom</a></li>
<li><a href="http://blog.swishzone.com/?p=4086">Flow Charting</a></li>
<li><a href="http://blog.swishzone.com/?p=4161" target="_blank">Sunburst</a></li>
<li><a href="http://blog.swishzone.com/?p=4404" target="_blank">Coil</a></li>
<li><a href="http://blog.swishzone.com/?p=4438" target="_blank">Measure</a></li>
<li><a href="http://blog.swishzone.com/?p=4466" target="_blank">Ruler</a></li>
<li><a href="http://blog.swishzone.com/?p=4622" target="_blank">Tick &amp; Cross</a></li>
<li><a href="http://blog.swishzone.com/?p=4654" target="_blank">Entry Form</a></li>
</ul>
<p>In addition to the components outlined above, the  <a href="http://blog.swishzone.com/?p=4574" target="_blank">Hidden Words</a> blog article provided special purpose wizard files to create a hidden word puzzle. See that blog article for download details.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4734</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New Component: Entry Form</title>
		<link>http://blog.swishzone.com/?p=4654</link>
		<comments>http://blog.swishzone.com/?p=4654#comments</comments>
		<pubDate>Wed, 25 Aug 2010 00:12:42 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Advanced]]></category>
		<category><![CDATA[Max3]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[miniMax3]]></category>
		<category><![CDATA[entry]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[input]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4654</guid>
		<description><![CDATA[It is often necessary to create web pages that collect user data. This new component simplifies that task. Based on the ClipClone component this component allows the user to create user input forms with a large amount of creative control. Like the ClipClone component, each field within the form is based on a &#8220;Master&#8221; movie [...]]]></description>
			<content:encoded><![CDATA[<p>It is often necessary to create web pages that collect user data. This new component simplifies that task. Based on the <a href="http://blog.swishzone.com/?p=2099" target="_blank">ClipClone component</a> this component allows the user to create user input forms with a large amount of creative control. Like the ClipClone component, each field within the form is based on a &#8220;<strong>Master</strong>&#8221; movie clip, <strong>userinput</strong>, which is duplicated for each required field. If layout, font or other changes are required, only the Master movie clip needs to be modified to update the entire form.</p>
<p>The component comes with some prototype methods that check various aspects of the data that is entered by the user. This simplifies the verification of the data entered.</p>
<p>The sample below demonstrates the type of input forms that can be created.</p>
<p><object style="width: 300px; height: 410px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="410" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blog.swishzone.com/wp-content/uploads/2010/08/EntryFormExample.swf" /><embed style="width: 300px; height: 410px;" type="application/x-shockwave-flash" width="300" height="410" src="http://blog.swishzone.com/wp-content/uploads/2010/08/EntryFormExample.swf"></embed></object></p>
<p>Read on to find out more&#8230;<br />
<span id="more-4654"></span></p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/capture-2010-08-2002.jpg"><img class="alignleft size-full wp-image-4663" title="capture 2010-08-2002" src="http://blog.swishzone.com/wp-content/uploads/2010/08/capture-2010-08-2002.jpg" alt="" width="147" height="133" /></a>The <strong>label </strong>and<strong> input field</strong> font, font color, size and general layout can be altered by modifying the fields:</p>
<ul>
<li><strong>EntryForm/userinput/label</strong> (label field) and</li>
<li><strong>EntryForm/userinput/ip</strong> (input field)</li>
</ul>
<p>Pressing the Update button in the EntryForm parameters area cause the modified <strong>userinput (master) </strong>movie clip to be replicated to the other fields.</p>
<p>In a similar way, the background color can be altered by changing Shape object and the <strong>WarningIcon </strong>can be altered by changing (or substituting) the WarningIcon. Essentially, modify the movie clip <strong>userinput </strong>to behave as you require and the changes will be updated for all of the other fields after pressing the Update button.</p>
<p>The Script within the EntryForm component makes some assumptions about the naming and behavior of the <strong>userinput </strong>movie clip. Those assumptions are detailed later in this article. The assumptions must be followed (or the script modified) for the entry form to behave correctly.</p>
<p>The text for each of the labels is defined by the  <strong>Labels </strong>parameter. Each label is <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/capture-2010-08-2501.jpg"><img class="alignright size-full wp-image-4731" title="capture 2010-08-2501" src="http://blog.swishzone.com/wp-content/uploads/2010/08/capture-2010-08-2501.jpg" alt="" width="206" height="150" /></a>entered on a different line. Once the labels have been entered (or modified) the <strong>userinput </strong>movie clip is duplicated and re-aligned so that one exists for each label. The other parameters behave in the same way as described for the <a href="../?p=2099" target="_blank">ClipClone component</a>.</p>
<p>The component comes with a number of pre-defined methods that assist the designer in testing the validity of the user entered data.</p>
<p>The methods are described in the table below:</p>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><strong>Method</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td>CheckMinLength(i,len,chrlist)</td>
<td>i is the field index 1..nlen is the minimum lengthchrlist can be null (all characters accepted) or can contain a list of characters that are allowed.Returns 0 if OKReturns -1 if minimum length not attained.Returns -1 if chrlist is specified and user entered characters are not in the list. an error will be reported.</td>
</tr>
<tr>
<td>CheckInteger(i)</td>
<td>Checks that an integer has been entered. Only the characters 0..9 are allowed.</td>
</tr>
<tr>
<td>CheckPhone(i)</td>
<td>Checks that a phone number has been entered. Only the characters + and 0..9 are allowed.</td>
</tr>
<tr>
<td>CheckNumeric(i)</td>
<td>Checks that the entered value is a valid number.</td>
</tr>
<tr>
<td>CheckValidEmail(i)</td>
<td>Checks that the entered email address contains @ and . With at least one character either side of @ and either side of .</td>
</tr>
<tr>
<td>ResetWarnings()</td>
<td>Resets any previously displayed warning icons</td>
</tr>
<tr>
<td>ClearForm()</td>
<td>Clears all data and warning icons</td>
</tr>
<tr>
<td>GetItem(i)</td>
<td>Returns the data contained in field i</td>
</tr>
</tbody>
</table>
<p>In the example entry form shown above, the following is used within the button Events function to check valid user entry:</p>
<pre>// check that user data looks ok.
var formerror:Boolean = false;	// no known errors at this stage

TickAnimated.Hide();    // hide the big tick.
EntryForm.ResetWarnings();    // clear the warning flags

// first name - require at least 1 char.
formerror |= EntryForm.CheckMinLength(1,1);

// surname - require at least 2 chars
formerror |= EntryForm.CheckMinLength(2,2);

// address 1 - require at least 2 chars
formerror |= EntryForm.CheckMinLength(3,2);

// city - require at least 3 chars
formerror |= EntryForm.CheckMinLength(5,3);

// state - require at least 2 chars
formerror |= EntryForm.CheckMinLength(6,2);

// zip / post code - require integer (may not work for canada)
formerror |= EntryForm.CheckInteger(7);

// country - require at last 2 chars
formerror |= EntryForm.CheckMinLength(8,2);

// check valid phone number
formerror |= EntryForm.CheckPhone(9);

// check valid email address
formerror |= EntryForm.CheckValidEmail(10);
if (!formerror) {
  // all OK. Show the tick of approval.
  TickAnimated.Show();
}</pre>
<p>It is possible to edit <strong>EntryForm </strong>and add or modify the data checking functions to meet your exact requirements.</p>
<p>Once the data has been verified it can be accessed via the <strong>GetItem()</strong> method described above.</p>
<p>More information on functions and event functions can be found <a href="../?p=567" target="_blank">here</a>. The Event function should be tailored to perform the exact actions that you require regarding checking and data processing.</p>
<p>Note that the checking functions make some assumptions. These assumptions will be satisfied if the <strong>userinput movie clip assumptions</strong> outlined below are met.</p>
<h2>userinput movie clip assumptions</h2>
<p>It is important that the following assumptions regarding the &#8220;<strong>master</strong>&#8221; movie clip are met. Failure to do so may prevent the EntryForm from working correctly.</p>
<ol>
<li>The master movie clip is named <strong>userinput. </strong>The master movie clip is the clip that is duplicated by the EntryForm component.</li>
<li>The warning icon within the film clip is named <strong>WarningIcon </strong>and has two methods <strong>Show()</strong> and <strong>Hide()</strong> to show and hide the icon.</li>
<li>The warning icon defaults to the hidden state when loaded.</li>
<li>label field (input heading) is named <strong>label</strong>.</li>
<li>The user input field is called<strong> ip</strong> and it has the target checkbox set. (input data is obtained from ip.text).</li>
<li>the ip object has the following script to ensure correct tab ordering. (This is not essential for the checking methods but it does ensure correct ordering if the user uses the Tab key to move between fields.)</li>
</ol>
<pre>onSelfEvent (load) {
 // consider the parent clip name and assign tab index.
 this._text.tabIndex = (_parent._name.length == 9)?"1":_parent._name.substr(9);
 this._text.tabEnabled = true;
}</pre>
<p>This component will work with SWiSH Max3 and miniMax3 with build dates of 20091130 or later, and although the component is not included with the 20091130 build’s installer, it can be downloaded <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/EntryForm.zip">here</a>. After downloading it, extract both files within the zip file to:</p>
<p><strong>C:\Program Files\SWiSH Max3\Components\Text Display<br />
</strong></p>
<p>Note that the exact location may be different depending on where you installed Max3, or miniMax3. We intend including the component in future releases of Max3 and miniMax3. On x64 systems, Max3 and miniMax3 are by default installed into <strong>C:\Program Files (x86)\</strong></p>
<p>The example form shown above including the buttons and format checking can be downloaded <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/EntryFormExample.zip">here</a>. The Events function of the main movie processes the button press events and either checks or clears the form depending on which button was pressed.</p>
<p>I hope you find this new component useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4654</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Tutorial: Using the Menu component</title>
		<link>http://blog.swishzone.com/?p=4699</link>
		<comments>http://blog.swishzone.com/?p=4699#comments</comments>
		<pubDate>Wed, 25 Aug 2010 00:04:55 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max2]]></category>
		<category><![CDATA[Max3]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[miniMax2]]></category>
		<category><![CDATA[miniMax3]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4699</guid>
		<description><![CDATA[Many users may be unaware that Max3 and miniMax3 come with a number of menu components. The main menu component, Menu from the Components/Menu area is a strip menu that can be arranged horizontally or vertically. A number of styles allow the sub menus to be displayed in a tabbed, or flat, or perpendicular fashion. [...]]]></description>
			<content:encoded><![CDATA[<p>Many users may be unaware that Max3 and miniMax3 come with a number of menu components. The main menu component, <strong>Menu </strong>from the <strong>Components/Menu</strong> area is a strip menu that can be arranged horizontally or vertically. A number of styles allow the sub menus to be displayed in a tabbed, or flat, or perpendicular fashion. The movie below gives an example of some of the different layout possibilities.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="450" height="450" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blog.swishzone.com/wp-content/uploads/2010/08/menuexample1.swf" /><embed type="application/x-shockwave-flash" width="450" height="450" src="http://blog.swishzone.com/wp-content/uploads/2010/08/menuexample1.swf"></embed></object></p>
<p>Read on to find out more about the Menu component&#8230;</p>
<p><span id="more-4699"></span><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/menuparameters.png"><img class="size-full wp-image-4704 alignright" title="menuparameters" src="http://blog.swishzone.com/wp-content/uploads/2010/08/menuparameters.png" alt="" width="137" height="432" /></a>The Menu component, like all components is configured using the <strong>Parameters </strong>panel. If the panel is not visible when you open Max3 or miniMax3, go <strong>Main Menu | Window</strong> and enable the <strong>Parameters </strong>panel. I find it convenient to dock this panel next to the <strong>Properties </strong>panel.</p>
<p>The parameters are discussed in detail in the <a href="http://www.swishzone.com/manuals/max2components/index.html?p=menu.htm" target="_blank">online help manual </a>that can be accessed via the link in the parameters panel.</p>
<p>The most important parameter, from a configuration point of view is the <strong>Tree </strong>parameter that is located in the Menu Definition group.</p>
<p>The <strong>Tree </strong>parameter describes the layout of the menu as well as the associated menu actions. A menu comprising of a number of levels or sub menus can be constructed using {} to define a sub menu.</p>
<p>The syntax for the menu tree definition is shown in the <a href="http://www.swishzone.com/manuals/max2components/index.html?p=menu.htm" target="_blank">online help manual</a>. Although the definition may look complex, it is reasonably simple to use. An example is shown below:</p>
<pre>News=ShowNews;
Services=
{
  Local=
  {
    Area=area;
    State=state;
  }
  Remote=RemoteServices;
}
Gallery=Gallery;
Support=Support;
AboutUs=15;</pre>
<p>The <strong>=</strong> sign separates the menu item text from the action that occurs if the item is pressed. The action can either be a sub menu &#8220;{&#8230;}&#8221;, a label (text string) a frame number (number) or a URL reference (A text string starting with &#8220;<strong>URL:</strong>&#8220;).</p>
<p>This menu example shown above has the following main menu items:<br />
<strong>News | Services | Local | Remote | Gallery | Support | AboutUs</strong></p>
<p><strong>Services </strong>has a sub menu:<br />
<strong>Local | Remote</strong></p>
<p><strong>Local </strong>has a sub menu:<br />
<strong>Area | State</strong></p>
<p>If the chosen item has a sub menu associated with it, then that sub menu item is displayed.</p>
<p>The action that occurs when one of the other items is selected depends on the value of the <strong>Event Function</strong> parameter in the <strong>Notification&#8230;</strong> parameter group.</p>
<p>If the <strong>Event Function</strong> parameter contains a value, then it defines the name of the event function. An event function if defined, is called with two parameters, <strong>n</strong> and <strong>v</strong>.</p>
<p><strong>n</strong> will contain the name of the calling object. This will be &#8220;<strong>Menu</strong>&#8221; unless you rename the component.</p>
<p><strong>v</strong> will contain the action value. This will be the item after the = sign in the Tree definition. More information on functions and event functions can be found <a href="http://blog.swishzone.com/?p=567" target="_blank">here</a>.</p>
<p>For example, if the user presses the <strong>News </strong>menu item and an Events function has been defined, it will be called with the parameters <strong>n=&#8221;Menu&#8221;</strong> and v=<strong>&#8220;ShowNews&#8221;</strong>.</p>
<p>If the Events function is not defined, then the movie will attempt to gotoAndPlay from the label <strong>&#8220;ShowNews&#8221;</strong>.</p>
<p>Note that if a movie contains multiple scenes, labels are the preferred method of navigation as, unlike frame numbers, they are unique across the movie.</p>
<p>To maintain compatibility with SWiSH Max2, the parameter uses a large edit box (as opposed to a popup edit box which is not available in Max2). This can make editing within the box a bit difficult. I suggest you copy and paste your tree layout to and from a text editor such as Notepad.</p>
<p>While writing this blog, I noticed a minor bug in the existing component (v1.2) that is only obvious if a color other than black is used for the text color:  you need to also edit the color of the <strong>itemtext</strong> object via the properties panel.</p>
<p>The updated component will be available in future releases, but for now it can be downloaded from <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/Menu.zip">here</a>. Once downloaded, (assuming a default installation) unzip and copy the file to:</p>
<p><strong>C:\Program Files\SWiSH Max3\Components\Menu\</strong></p>
<p>Note that on 64 bit systems this may be:</p>
<p><strong>C:\Program Files (x86)\SWiSH Max3\Components\Menu\</strong></p>
<p>This will update your menu component. The new component should show a build date of 20100824 in the <strong>About Menu&#8230;</strong> group in the parameters panel.</p>
<p>The source for the example menu shown above can be downloaded from <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/menuexample1.zip">here</a>. Note that this was constructed with the earlier version of the Menu component containing the bug described above.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4699</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Components: Animated Tick and Cross</title>
		<link>http://blog.swishzone.com/?p=4622</link>
		<comments>http://blog.swishzone.com/?p=4622#comments</comments>
		<pubDate>Mon, 23 Aug 2010 03:14:57 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max3]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[miniMax3]]></category>
		<category><![CDATA[cross]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[success]]></category>
		<category><![CDATA[tick]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4622</guid>
		<description><![CDATA[It is often necessary to report success or failure on a web page that accepts user input. An animated tick or cross can add a nice touch to such a page. The components described in this article provide an animated tick, cross and a combination of tick and cross. The objects are fully scalable. The [...]]]></description>
			<content:encoded><![CDATA[<p>It is often necessary to report success or failure on a web page that accepts user input. An animated tick or cross can add a nice touch to such a page. The components described in this article provide an animated tick, cross and a combination of tick and cross. The objects are fully scalable. The color and default behavior can be altered using the Parameters panel.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="150" height="150" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blog.swishzone.com/wp-content/uploads/2010/08/example1.swf" /><embed type="application/x-shockwave-flash" width="150" height="150" src="http://blog.swishzone.com/wp-content/uploads/2010/08/example1.swf"> </embed></object></p>
<p>Read on for more information and the download location.</p>
<p><span id="more-4622"></span></p>
<p>The components are not supplied with the 20091130 version of Max3 / miniMax3 however they can be downloaded from <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/components.zip">here</a>. Once downloaded, (assuming a default installation) unzip and copy the files to:</p>
<p><strong>C:\Program Files\SWiSH Max3\Components\Shapes\2D\Shapes and Icons\</strong></p>
<p>Note that on 64 bit systems this may be:</p>
<p><strong>C:\Program Files (x86)\SWiSH Max3\Components\Shapes\2D\Shapes and Icons\</strong></p>
<p>Three components are supplied in the .zip file. <strong>TickAnimated</strong>, <strong>CrossAnimated </strong>and <strong>TickCrossAnimated</strong>.</p>
<h2>Tick Animated &amp; Cross Animated</h2>
<p>The parameters and methods for <strong>TickAnimated </strong>and <strong>CrossAnimated </strong>are shown by the tables below:</p>
<h3>Parameters</h3>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><strong>Color</strong></td>
<td>Allows the tick or cross color to be altered.</td>
</tr>
<tr>
<td><strong>Display on loading</strong></td>
<td>If this is set, then the animation starts when the item is loaded on the stage. This allows the animation to be initiated by a place event.</td>
</tr>
</tbody>
</table>
<p>The components also contains some methods that allow the item display to be controlled via scripting.</p>
<h3>Methods</h3>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><strong>Show()</strong></td>
<td>Animate the object appearing.</td>
</tr>
<tr>
<td><strong>Hide()</strong></td>
<td>Hide the object</td>
</tr>
</tbody>
</table>
<h2>TickCrossAnimated</h2>
<p>The <strong>TickCrossAnimated </strong>component is a combination of the above two components. It can display nothing, a tick or a cross. It would be useful for quiz pages where the user supplies answers.</p>
<h3>Parameters</h3>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><strong>TickColor</strong></td>
<td>Allows the tick color to be altered.</td>
</tr>
<tr>
<td><strong>CrossColor</strong></td>
<td>Allows the cross color to be altered.</td>
</tr>
<tr>
<td><strong>Display on loading</strong></td>
<td>Defines the item to be displayed on loading. One of Hide | Tick | Cross</td>
</tr>
</tbody>
</table>
<p>The component also contains some methods that allow the item display to be controlled via scripting.</p>
<h3>Methods</h3>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><strong>ShowTick()</strong></td>
<td>Show the tick.</td>
</tr>
<tr>
<td><strong>ShowCross()</strong></td>
<td>Show the cross.</td>
</tr>
<tr>
<td><strong>Hide()</strong></td>
<td>Hide the object</td>
</tr>
</tbody>
</table>
<p>The tick component works well with the <a href="http://blog.swishzone.com/?p=2143" target="_blank">bullet points component</a> as shown in the example below.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="450" height="450" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blog.swishzone.com/wp-content/uploads/2010/08/tickbulletpoint.swf" /><embed type="application/x-shockwave-flash" width="450" height="450" src="http://blog.swishzone.com/wp-content/uploads/2010/08/tickbulletpoint.swf"></embed></object></p>
<p>The bullet point example uses the <a href="http://blog.swishzone.com/?p=3595" target="_blank">Texture Component</a> to achieve the background texture and color. The example files for this blog article can be downloaded from <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/examples.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4622</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Wizard:Hiddenwords</title>
		<link>http://blog.swishzone.com/?p=4574</link>
		<comments>http://blog.swishzone.com/?p=4574#comments</comments>
		<pubDate>Tue, 17 Aug 2010 05:26:54 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max3]]></category>
		<category><![CDATA[Wizard]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[miniMax3]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[puzzle]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4574</guid>
		<description><![CDATA[Puzzles are good fun and a popular way to draw people to your website. The object of this puzzle is to find the listed words within the square of characters. The words can be arranged up, down, left, right and in any diagonal direction, up-right, down-right, up-left and down-left. This type of puzzle can also [...]]]></description>
			<content:encoded><![CDATA[<p>Puzzles are good fun and a popular way to draw people to your website. The object of this puzzle is to find the listed words within the square of characters. The words can be arranged up, down, left, right and in any diagonal direction, up-right, down-right, up-left and down-left. This type of puzzle can also be very useful for teaching purposes.</p>
<p>The example puzzle below was constructed from the names of planets and various stars.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_hiddenword01.jpg"><img class="size-full wp-image-4579 alignnone" title="blog_hiddenword01" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_hiddenword01.jpg" alt="" width="447" height="407" /></a></p>
<p>The puzzle square is animated so that mouse clicks, or dragging over a square with the mouse button down, will cause the square to change color indicating that the letter is included in a word. Once the word has been marked, it can be crossed off the left hand side clue list by clicking on the word.</p>
<p>For the competitive people among us, you can time your progress with the inbuilt stopwatch.</p>
<p>Read on to see how to construct, customize and deploy these puzzles.</p>
<p><span id="more-4574"></span></p>
<p>We have constructed two .swi files that are available <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/hiddenwordpuzzle.zip" target="_blank">here</a>. The zip file contains two files:</p>
<ul>
<li>hiddenwords.swi and</li>
<li>generatepuzzle.swi</li>
</ul>
<h2>hiddenwords.swi</h2>
<p><strong>hiddenwords.swi</strong> is used to display the puzzle to the users who will attempt to solve the puzzle. The .swf can be embedded in your main webpage, but you must initially create the puzzle using the <strong>generatepuzzle.swi</strong> file or .swf</p>
<p>The puzzle is defined by the query string that is used to open the page. This allows the same page to display an almost infinite number of puzzles simply by varying the query string.</p>
<p>ie. the sequence <strong><em>?puzzle=ASCFE&#8230;</em></strong> is the query that defines the puzzle that is displayed.</p>
<p>A sample query string may look like this:</p>
<pre><a href="http://demos.swishspace.com/hiddenwords.html?puzzle=FqSSmVSzRhSROkNIUEEEgAPAMhwERNTGYLINAcdAPIERADCRLzTSPTUVjEAEHNSUUCUSaBRHAUJARPMNkACCURHETAOuERTATAMTRULNIAUzmNkSRORGANRrnUshSAENaCUiESUEGLETEBSh:ACHERNAR:ALDEBARAN:ANTARES:ARCTURUS:BETELGEUSE:CANOPUS:EARTH:FOMALHAUT:JUPITER:MARS:MERCURY:NEPTUNE:RIGEL:SATURN:SIRIUS:SOL:SPICA:URANUS:VEGA:VENUS" target="_blank">http://demos.swishspace.com/hiddenwords.html?puzzle=FqSSmVSzRhSROkNIUEEEgAPAMhwERNTGYLINAcdAPIERADCRLzTSPTUVjEAEHNSUUCUSaBRHAUJARPMNkACCURHETAOuERTATAMTRULNIAUzmNkSRORGANRrnUshSAENaCUiESUEGLETEBSh:ACHERNAR:ALDEBARAN:ANTARES:ARCTURUS:BETELGEUSE:CANOPUS:EARTH:FOMALHAUT:JUPITER:MARS:MERCURY:NEPTUNE:RIGEL:SATURN:SIRIUS:SOL:SPICA:URANUS:VEGA:VENUS</a></pre>
<p>This .swi file is discussed in more detail later in this article. See hiddenwords.swi (2) below.</p>
<h2>generatepuzzle.swi</h2>
<p><strong>generatepuzzle.swi</strong> is used to construct the query string that is used with hiddenwords.html/swf. A working example is shown below.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="450" height="410" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blog.swishzone.com/wp-content/uploads/2010/08/generatepuzzle.swf" /><embed type="application/x-shockwave-flash" width="450" height="410" src="http://blog.swishzone.com/wp-content/uploads/2010/08/generatepuzzle.swf"></embed></object></p>
<p>Enter 20 words and update the <strong>puzzle URL</strong> field if you are hosting your own puzzle page. Then press the <strong>CreatePuzzle</strong> button.</p>
<p>The script within the swf will create a random puzzle based on the words you have supplied. In some cases it will not be able to use all of the words. You can see the list of the words that were placed in the scrolling text box. If you are unhappy with the result, press back and then re-generate the puzzle. It may manage to place more words on a subsequent attempt.</p>
<p>Below the puzzle is a link. This link is based on the supplied puzzle URL and contains additional information to define the puzzle. This link information could be exchanged with your friends or pasted in your facebook page. Clicking on the link will open the puzzle.</p>
<p><strong>Note:</strong> If you do click on the link in the example swf above, use right click / open in new window so you can navigate back to this blog.</p>
<p>The wizard interface for <strong>generatepuzzle.swi</strong> only contains two parameters:</p>
<ul>
<li>Default URL and</li>
<li>Default Questions</li>
</ul>
<p>The <strong>Default URL</strong> parameter allows definition of the default puzzle URL. Modify this value if you have uploaded the hiddenword.html and .swf files to your own location. Note that the user can also manually alter the Default URL value so the default URL does not really need to be set, but it can save time during testing.</p>
<p>The <strong>Default Questions</strong> parameter allows the twenty word values to be filled with initial data (one word per line). Clear this parameter if you do not want to default to all empty fields.</p>
<h2>hiddenwords.swi (2)</h2>
<p>As stated above, this .swi generates the .swf that represents the puzzle to be solved. The puzzle is defined via the query string allowing the exported .swf file to support all possible puzzle configurations. To export <strong>hiddenwords.swi</strong> as<strong> HTML+SWF</strong> you will need the <strong>java-querystring.swhtml</strong> template described in this blog article: &#8220;<a href="http://blog.swishzone.com/?p=4541" target="_blank">Passing data to Flash with URL query strings</a>&#8220;. Refer to the heading: &#8220;<strong>Use the java-querystring.swhtml template</strong>&#8220;. This html template is required to pass the query string back to the .swf file that is created. Alternatively just publish the .swf file and pass the query string directly to that.</p>
<p>The .swi has been created with a wizard interface. The wizard interface allows most of the colors to be easily altered. Some of the possible color schemes are shown below:</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/colorschemes.jpg"><img class="alignnone size-full wp-image-4599" title="colorschemes" src="http://blog.swishzone.com/wp-content/uploads/2010/08/colorschemes.jpg" alt="" width="427" height="393" /></a></p>
<p>The remaining wizard parameters <strong>Default Puzzle</strong> and <strong>Autostart Timer</strong> are used as follows:</p>
<p><strong>Default Puzzle</strong> parameter allows a query string to be defined that will define the puzzle if an external query string is not provided. The query string can be copied from the Puzzle URL field of the generate puzzle .swi, but should only contain the information after the <strong>?puzzle=</strong> text.</p>
<p>For example:</p>
<pre>Use: BRAVEHEARTRAmPSYCHOhLEEVMCGoAUvLsIBANEHLPRAkuLETOsMIAFMSeECAIGeENDNAWMCRTyIWNAIEDAAnPHOTTTTAIEJmEDECRROOTLUdCwHAgEOfWOASNgknToVYgNReIuCASABLANCA:ALIEN:AMELIE:ARMADEUS:AVATAR:BRAVEHEART:CASABLANCA:CHINATOWN:DOWNFALL:GLADIATOR:HEAT:INCEPTION:JAWS:MEMENTO:PSYCHO:REBECCA:SNATCH:TROY:UP:VERTIGO
From: http://demos.swishspace.com/hiddenwords.html?puzzle=BRAVEHEARTRAmPSYCHOhLEEVMCGoAUvLsIBANEHLPRAkuLETOsMIAFMSeECAIGeENDNAWMCRTyIWNAIEDAAnPHOTTTTAIEJmEDECRROOTLUdCwHAgEOfWOASNgknToVYgNReIuCASABLANCA:ALIEN:AMELIE:ARMADEUS:AVATAR:BRAVEHEART:CASABLANCA:CHINATOWN:DOWNFALL:GLADIATOR:HEAT:INCEPTION:JAWS:MEMENTO:PSYCHO:REBECCA:SNATCH:TROY:UP:VERTIGO</pre>
<p>The <strong>Autostart Timer</strong> parameter allows the .swf to be configured so that the timer starts immediately the page is opened.</p>
<p>I hope you have fun with this new puzzle and the puzzle generator. For your amusement an example puzzle based on movie names is shown below:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="450" height="410" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blog.swishzone.com/wp-content/uploads/2010/08/hiddenwords_movies.swf" /><embed type="application/x-shockwave-flash" width="450" height="410" src="http://blog.swishzone.com/wp-content/uploads/2010/08/hiddenwords_movies.swf"></embed></object></p>
<h2>Updates 20100820</h2>
<p>We found that the hiddenwords.swi wizard was saved with an absolute string defining the html template. This was causing the errors discussed in some of the blog comments below.</p>
<p>The wizard has been modified to fix this problem. Please download the .zip file to fix the problem. The hiddenwords.swi file should show a date of 20100820 in the wizard parameters about area.</p>
<h2>Updates 20100830</h2>
<p>After a user request, I have updated the templates to allow user specification of the number of rows and columns.  Two new parameters, <strong>Rows </strong>and <strong>Columns</strong> have been added to the wizard parameters for each of the movies. The default value is 12 for both parameters. If you choose to alter the values from the default setting note that both movies must have the same values for Rows and Columns otherwise the puzzle will not display correctly.</p>
<p>The updated .swi movies can be identified by a version number of 20100830 in the wizard parameters.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4574</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Tutorial: Passing data to Flash with URL query strings</title>
		<link>http://blog.swishzone.com/?p=4541</link>
		<comments>http://blog.swishzone.com/?p=4541#comments</comments>
		<pubDate>Tue, 17 Aug 2010 05:13:01 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[?]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[FlashVars]]></category>
		<category><![CDATA[query string]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4541</guid>
		<description><![CDATA[Like ASP and PHP, Flash can access query strings supplied in the URL. This tutorial discusses how to pass data to a Flash movie (.swf) via the URL reference. For Example: http://www.mysite.com/mymovie.swf?var1=test1&#38;var2=0 &#8230;will pass the values test1 and 0 to the variables var1 and var2. Note that the first variable is separated from the movie name via [...]]]></description>
			<content:encoded><![CDATA[<p>Like ASP and PHP, Flash can access <a href="http://en.wikipedia.org/wiki/Query_string" target="_blank">query strings</a> supplied in the URL. This tutorial discusses how to pass data to a Flash movie (.swf) via the URL reference.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/ex1.png"><img class="alignnone size-medium wp-image-4547" title="ex1" src="http://blog.swishzone.com/wp-content/uploads/2010/08/ex1-300x126.png" alt="" width="300" height="126" /></a></p>
<p><strong>For Example:<br />
</strong></p>
<pre>http://www.mysite.com/mymovie.swf?var1=test1&amp;var2=0</pre>
<p>&#8230;will pass the values <strong>test1 </strong>and <strong>0</strong> to the variables <strong>var1 </strong>and <strong>var2</strong>. Note that the first variable is separated from the movie name via a <strong>?</strong> character and each subsequent variable is then separated by the <strong>&amp;</strong> character.</p>
<p>The sample link below allows you to experiment.</p>
<p><a href="http://demos.swishspace.com/var1var2.swf?var1=test1&amp;var2=0" target="_blank">http://demos.swishspace.com/var1var2.swf?var1=test1&amp;var2=0</a></p>
<p>Try reloading the page with different values for var1 and var2 by manually editing the browser reference. The reloaded page should show the revised values.</p>
<p>Read on to find out more about these variables, their advantages and some of the limitations.</p>
<p><span id="more-4541"></span></p>
<p>This behavior can be extremely useful. Some of the possible uses include:</p>
<ul>
<li>Initialize the movie with user specific data such as name, address or customer ID.</li>
<li>Set a specific color scheme</li>
<li>Initialize a game or puzzle. This could allow a single movie to execute a number of game sequences depending on the passed variables.</li>
</ul>
<p>However, some potential problems may occur when quoting a raw .swf file.</p>
<ul>
<li>The browser may not recognize or support the raw .swf file. (Possible error message or non display of webpage).</li>
<li>The browser may recognize the .swf file but have an older (incompatible) version of the Flash player installed. (Possible error message or non display of webpage).</li>
<li>The window size is not formally defined. It may display larger or smaller than intended. However, as the browser window is continually scalable this may not be a major problem.</li>
</ul>
<p>These problems can be avoided if the Flash player object is embedded within an html web page. This happens automatically when you use SWiSH Max3 (or miniMax3) to export to<strong> HTML+SWF</strong>. However, the <strong>default </strong>html template that is used to create the html page does not support <strong>query strings</strong>. Two possibilities exist to get around this limitation:</p>
<ol>
<li>Manual edit of the <strong>FlashVars </strong>parameter.</li>
<li>Use a new template <strong>java-querystring.swhtml</strong> that assembles the parameters in javascript before passing via the FlashVars parameter.</li>
</ol>
<p>The two methods are discussed in detail below:</p>
<h2>Manual edit of the FlashVars parameter</h2>
<p>This method does not support an external query string. However it could be a convenient way of configuring your movie prior to export.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_querystring01.jpg"><img class="alignleft size-medium wp-image-4552" title="blog_querystring01" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_querystring01-300x117.jpg" alt="" width="300" height="117" /></a>Using <strong>Tools | Preferences | Export</strong> make sure that the &#8220;<strong>Show export settings dialog when exporting</strong>&#8221; option is set.</p>
<p>When you export your movie to <strong>HTML+SWF</strong> you should eventually see the dialog below:</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_querystring03.jpg"><img class="alignnone size-full wp-image-4553" title="blog_querystring03" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_querystring03.jpg" alt="" width="364" height="281" /></a></p>
<p>Choose the default template and enter the query string into the flashvars location. The items in the flashvars location will be passed to the .swf movie as a query string. Note that <strong>FlashVars </strong>requires SWF6+. Also note that you will need to test your movie via  &#8216;File | Test | HTML+SWF in Browser&#8217; as the FlashVars are not defined if you simply press the play button.</p>
<p>The embed text that is created for the html file is shown below. The FlashVars sections are shown in red.</p>
<pre>&lt;object
 classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
 id="var1var2"
 width="248" height="134"
 &gt;
 &lt;param name="movie" value="var1var2.swf"&gt;
 &lt;param name="bgcolor" value="#FFFFFF"&gt;
 &lt;param name="quality" value="high"&gt;
 <span style="color: #ff0000;">&lt;param name="flashvars" value="var1=test1&amp;var2=0"&gt;</span>
 &lt;param name="seamlesstabbing" value="false"&gt;
 &lt;param name="allowscriptaccess" value="samedomain"&gt;
 &lt;embed
 type="application/x-shockwave-flash"
 pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
 name="var1var2"
 width="248" height="134"
 src="var1var2.swf"
 bgcolor="#FFFFFF"
 quality="high"
 <span style="color: #ff0000;">flashvars="var1=test1&amp;var2=0"</span>
 seamlesstabbing="false"
 allowscriptaccess="samedomain"
 &gt;
 &lt;noembed&gt;
 &lt;/noembed&gt;
 &lt;/embed&gt;
 &lt;/object&gt;</pre>
<h2>Use the java-querystring.swhtml template</h2>
<p>This template uses javascript to dynamically create the object embed statement with the current query string. The template is not supplied with the 20091130 version of Max3 / miniMax3 however it can be downloaded from <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/java-querystring.zip">here</a>. Once downloaded, (assuming a default installation) unzip and copy the file to:</p>
<p><strong>C:\Program Files\SWiSH Max3\HTMLTemplates</strong></p>
<p>Note that on 64 bit systems this may be:</p>
<p><strong>C:\Program Files (x86)\SWiSH Max3\HTMLTemplates</strong></p>
<p>Once the template is installed, make sure the &#8220;<strong>Show export settings dialog when exporting</strong>&#8221; option is set. Export the movie to <strong>HTML+SWF </strong>then select the java-querystring template via the html export dialog.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_querystring04.jpg"><img class="alignnone size-full wp-image-4558" title="blog_querystring04" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_querystring04.jpg" alt="" width="405" height="161" /></a></p>
<p>the java querystring template inserts the following javascript.</p>
<pre>&lt;SCRIPT LANGUAGE="JavaScript"&gt;
&lt;!--
 var myQueryString=document.location.search;
 // remove the '?' sign if exists
 if (myQueryString[0]='?')
 {
 myQueryString=myQueryString.substr(1, myQueryString.length-1);
 }
document.write(
 '&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n'+
 '  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"\n'+
 '  id="var1var2"\n'+
 '  width="248" height="134"\n'+
 '   &gt;\n'+
 '  &lt;param name="movie" value="var1var2.swf"&gt;\n'+
 '  &lt;param name=FlashVars Value="' + myQueryString + '"&gt;\n'+
 '  &lt;param name="bgcolor" value="#FFFFFF"&gt;\n'+
 '  &lt;param name="quality" value="high"&gt;\n'+
 '&lt;param name="seamlesstabbing" value="false"&gt;\n'+
 '&lt;param name="allowscriptaccess" value="samedomain"&gt;\n'+
 '  &lt;embed type="application/x-shockwave-flash"\n'+
 '    pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"\n'+
 '    name="var1var2"\n'+
 '    width="248" height="134"\n'+
 '    src="var1var2.swf"\n'+
 '    FlashVars="' + myQueryString + '"\n'+
 '    bgcolor="#FFFFFF"\n'+
 '    quality="high"\n'+
 'seamlesstabbing="false"\n'+
 'allowscriptaccess="samedomain"\n'+
 '  &gt;\n'+
 '    &lt;noembed&gt;\n'+
 '    &lt;/noembed&gt;\n'+
 '  &lt;/embed&gt;\n'+
 '&lt;/object&gt;\n');
&lt;/SCRIPT&gt;</pre>
<p>An example link is shown here:</p>
<p><a href="http://demos.swishspace.com/var1var2.html?var1=test2&amp;var2=3" target="_blank">http://demos.swishspace.com/var1var2.html?var1=test2&amp;var2=3</a></p>
<h2>Notes and Cautions</h2>
<ul>
<li>All query string values should be coded with <a href="http://en.wikipedia.org/wiki/URL_encoding" target="_blank">URL encoding</a>.</li>
<li>Variables are always loaded into the top level (<strong>_root</strong>) of the movie.</li>
<li>If your movie depends on items set via the query string, the movie will not preview correctly using the play button as the items will not be defined. It will be necessary to either test HTML+SWF in Browser (manual edit of flash vars) or export HTML+SWF and then manually test as a file reference (Mozilla firefox OK, IE 8.0 does not support this). eg. C:\tmp\var1var2.html?var1=test4&amp;var2=9</li>
<li>As items passed this way are visible via the URL that is presented to the end user, this method should not be used with unencrypted data that is sensitive.</li>
<li>The var1var2.swi sample move can be downloaded <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/var1var2.zip">here</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4541</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Tutorial: Modifying a Banner Template</title>
		<link>http://blog.swishzone.com/?p=4506</link>
		<comments>http://blog.swishzone.com/?p=4506#comments</comments>
		<pubDate>Sun, 08 Aug 2010 23:58:49 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max3]]></category>
		<category><![CDATA[Wizard]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[Banner_005]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[size]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4506</guid>
		<description><![CDATA[SWiSH Max3 and miniMax3 come with a number of animated banners. To use one of these banners simply go File &#124; New Project and then choose from one of the available Vertical or Horizontal banners. We recently had an inquiry from a user who wanted to add a custom banner size. Although not obvious, this [...]]]></description>
			<content:encoded><![CDATA[<p>SWiSH Max3 and miniMax3 come with a number of animated banners. To use one of these banners simply go <strong>File | New Project</strong> and then choose from one of the available Vertical or Horizontal banners. We recently had an inquiry from a user who wanted to add a custom banner size. Although not obvious, this modification is reasonably easy to achieve. Below is the modified banner with a custom size of 220&#215;180 pixels. Read on to find out how to make the modifications.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="220" height="180" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blog.swishzone.com/wp-content/uploads/2010/08/Banner_P005.swf" /><embed type="application/x-shockwave-flash" width="220" height="180" src="http://blog.swishzone.com/wp-content/uploads/2010/08/Banner_P005.swf"></embed></object></p>
<p><strong>Note </strong>that authoring is not available in miniMax3.</p>
<h2><span id="more-4506"></span>Select manual editing</h2>
<p>Open the banner that you want to modify. For the sake of the demonstration I used Banner_005. As the banners have a similar internal structure, the modification should work for any of the banners.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate01.jpg"><img class="alignnone size-medium wp-image-4507" title="blog_modifytemplate01" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate01-300x205.jpg" alt="" width="300" height="205" /></a></p>
<p>Press the manual editing button to return Max3 to its normal look.</p>
<h2>Enable Authoring</h2>
<p>From the main Menu use <strong>Tools | Preferences | Editing</strong></p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate02.jpg"><img class="alignnone size-medium wp-image-4508" title="blog_modifytemplate02" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate02-300x220.jpg" alt="" width="300" height="220" /></a></p>
<p>Make sure the <strong>Enable Authoring Options for Components and Wizards</strong> option is set. Then press OK.</p>
<h2>Modify component attributes to enable authoring</h2>
<p>The banner templates consist of a single banner component. Both the component and the template need minor modifications to support additional sizes.</p>
<p>By default most supplied components have their authoring disabled via the settings in their attributes. Authoring can be re-enabled by modifying those attributes.</p>
<p>Right click on the <strong>Banner </strong>object in the <strong>Outline </strong>panel.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate03.jpg"><img class="alignnone size-full wp-image-4510" title="blog_modifytemplate03" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate03.jpg" alt="" width="283" height="115" /></a></p>
<p>And select <strong>Object Attributes</strong> from the menu.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate05.jpg"><img class="alignnone size-full wp-image-4511" title="blog_modifytemplate05" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate05.jpg" alt="" width="262" height="212" /></a></p>
<p>Uncheck any <strong>Access </strong>or <strong>Visibility </strong>checkboxes that may be checked. This should enable component authoring of that component.</p>
<h2>Author the component</h2>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate06.jpg"><img class="alignleft size-full wp-image-4512" title="blog_modifytemplate06" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate06.jpg" alt="" width="189" height="194" /></a>The previously hidden items that make up the component can now be seen in the Outline panel.</p>
<p>Right click on the Banner object and select <strong>Author Component</strong> from the menu. This will open the Author Component panel. My personal preference is to dock the Author Component panel with the Layout panel as this provides a large work area.</p>
<p>Select the Parameters option to display the Parameters dialog. This dialog allows the definition of the parameters that are supplied in the Parameters panel. For this tutorial we need to modify the <strong>Control Parameters</strong> and the <strong>Display Parameters</strong> for the <strong>Size </strong>parameter.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate08.jpg"><img class="alignnone size-full wp-image-4515" title="blog_modifytemplate08" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate08.jpg" alt="" width="439" height="108" /></a></p>
<p>Scroll the scroll bar until the required columns come into view.</p>
<p>The <strong>Display Parameters</strong> are the items that are displayed in the list box in the Parameters panel. The <strong>Control Parameters</strong> are the corresponding values that are passed to the component script. A Control Parameter item should exist for each Display Parameter item.</p>
<p>The Control Parameter for the Size Parameter is:</p>
<pre>468x60;234x60;728x90;300x250;180x150</pre>
<p>The corresponding Display Parameter is:</p>
<pre>468x60 - Full Banner;234x60 - Half Banner;728x90 - Leaderboard;300x250 - Medium Rectangle;180x150 - Rectangle</pre>
<p>Add your custom size(s) to the end of the Control Parameter. eg.</p>
<pre>468x60;234x60;728x90;300x250;180x150;220x180</pre>
<p>And add a corresponding item(s) to the Display Parameter. eg.</p>
<pre>468x60 - Full Banner;234x60 - Half Banner;728x90 - Leaderboard;300x250 - Medium Rectangle;180x150 - Rectangle;220x180 - Custom</pre>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate10.jpg"><img class="alignleft size-full wp-image-4516" title="blog_modifytemplate10" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate10.jpg" alt="" width="173" height="46" /></a>Then press the Apply button which should now be enabled. This applies the current parameter changes.</p>
<p>That completes the changes for the component. If desired, you can modify the attributes again to <strong>Conceal the script</strong> and <strong>Conceal the child objects</strong>. This will result in a less cluttered Outline panel when the component is used.</p>
<p>Close the Author Component panel by right clicking on the tab and select <strong>Hide author component panel</strong>.</p>
<h2>Author the Wizard / Template</h2>
<p>Right click on the movie tab (Banner_P005*) and select <strong>Movie | Author Wizard</strong>.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate12.jpg"><img class="alignnone size-medium wp-image-4518" title="blog_modifytemplate12" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate12-300x39.jpg" alt="" width="300" height="39" /></a></p>
<p>This will open the Wizard authoring panel.</p>
<p>The Parameters dialog should be similar to the dialog shown for the component parameters.</p>
<p>Modify the same parameter fields as described previously. And press the apply button.</p>
<p>Note that the modified fields should exactly match the modified fields in the component. Hide the Author Wizard panel in the same way that we closed the Author Component panel.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate16.jpg"><img class="alignright size-medium wp-image-4519" title="blog_modifytemplate16" src="http://blog.swishzone.com/wp-content/uploads/2010/08/blog_modifytemplate16-236x300.jpg" alt="" width="236" height="300" /></a>The Wizard panel should now display the new custom size as a size option.</p>
<p>As we have edited the component and the wizard, any previously selected images will need to be re-selected.</p>
<p>Select your new images and you are now ready to publish your banner with its new custom size of 220&#215;180.</p>
<p>If it all works as expected, you can replace the existing banner template with the modified banner template. Copy your modified .swi file to:</p>
<p><strong>C:\Program Files\SWiSH Max3\ProjectTemplates\Banners\Horizontal\Banner_005</strong></p>
<p>Note that on 64 bit systems the folder will probably exist under <strong>c:\Program Files (x86)\&#8230;</strong></p>
<p>The modified .swi file is can be downloaded from <a href="http://blog.swishzone.com/wp-content/uploads/2010/08/Banner_P005.zip">here</a>.</p>
<p>All components and templates supplied with Max3 can be modified using the authoring tools, however these modification may require an understanding of the underlying component and wizard script. More information about authoring components and wizards can be obtained from the <a href="http://www.swishzone.com/downloads/SwishMax3AuthoringGuide.zip">Max3 authoring guide</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4506</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Autoshape: Ruler</title>
		<link>http://blog.swishzone.com/?p=4466</link>
		<comments>http://blog.swishzone.com/?p=4466#comments</comments>
		<pubDate>Mon, 02 Aug 2010 00:00:59 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max3]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[miniMax3]]></category>
		<category><![CDATA[autoshape]]></category>
		<category><![CDATA[dimension]]></category>
		<category><![CDATA[measure]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4466</guid>
		<description><![CDATA[The grids and guides provided with Max3 work very well, however they only allow easy alignment along the horizontal and vertical axis. If you want to align objects along a set angle, or measure the point to point distance between two objects, this new autoshape component may help. The Ruler autoshape is used like a conventional [...]]]></description>
			<content:encoded><![CDATA[<p>The grids and guides provided with Max3 work very well, however they only allow easy alignment along the horizontal and vertical axis. If you want to align objects along a set angle, or measure the point to point distance between two objects, this new autoshape component may help.</p>
<p>The <strong>Ruler </strong>autoshape is used like a conventional ruler to measure and set distances between objects. Its angle can be set via the Parameters panel, or the angle between two objects can be read back from the Parameters panel after positioning the ruler via its handles.</p>
<p>In the example below, the ruler is used to align two ellipses along a 30 degree line at distances of 100 and 300 pixels from the bottom left hand corner of a rectangle.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_ruler13.jpg"><img class="alignnone size-full wp-image-4468" title="blog_ruler13" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_ruler13.jpg" alt="" width="394" height="269" /></a></p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_ruler13.jpg"></a></p>
<p><span id="more-4466"></span></p>
<p>To use the ruler in this way:</p>
<ul>
<li>Set its angle and length to 30 and 300 via the parameters panel. (See the note below regarding the angle).</li>
<li>Drag to align the ruler with the bottom left hand corner of the rectangle.</li>
<li>The ellipses can then be dragged into the required position as indicated by the ruler markings.</li>
</ul>
<p><strong>Note:</strong> Angles in Flash are arranged as follows:</p>
<table border="1" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td>0 degrees</td>
<td>Right</td>
</tr>
<tr>
<td>90 degrees</td>
<td>Down</td>
</tr>
<tr>
<td>180 degrees</td>
<td>Left</td>
</tr>
<tr>
<td>270 degrees</td>
<td>Up</td>
</tr>
</tbody>
</table>
<p>Read on for more information and download details.</p>
<p>The ruler end positions can be adjusted using the green handles.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_ruler14.jpg"><img class="alignleft size-full wp-image-4471" title="blog_ruler14" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_ruler14.jpg" alt="" width="170" height="245" /></a>The length, angle and handle positions can all be manually set via the Parameters panel. This is useful if a specific length, angle or position is required.</p>
<p>Graduation markings can be configured to occur at an interval of 5, 10, 20, 25,30, 40 and 50 pixels.</p>
<p>Resetting the <strong>exclude option</strong> allows the user to over-ride the default behavior that prevents the ruler from being exported to the .swf movie file.</p>
<p>This component will work with SWiSH Max3 and MiniMax3 with build dates of 20091130 or later, and although the component is not included with the 20091130 build’s installer, it can be downloaded <a href="http://blog.swishzone.com/wp-content/uploads/2010/07/Ruler.zip">here</a>. After downloading it, extract both files within the zip file to:</p>
<p><strong>C:\Program Files\SWiSH Max3\Components\Shapes\2D\Autoshapes</strong></p>
<p>Note that the exact location may be different depending on where you installed Max3, or MiniMax3. We intend including the component in future releases of Max3 and MiniMax3. On x64 systems, Max3 and MiniMax3 are by default installed into <strong>C:\Program Files (x86)\</strong></p>
<p>I hope you find this new autoshape component useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4466</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Autoshape: Measure</title>
		<link>http://blog.swishzone.com/?p=4438</link>
		<comments>http://blog.swishzone.com/?p=4438#comments</comments>
		<pubDate>Sun, 01 Aug 2010 23:55:51 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max3]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[miniMax3]]></category>
		<category><![CDATA[arrow]]></category>
		<category><![CDATA[autoshape]]></category>
		<category><![CDATA[dimension]]></category>
		<category><![CDATA[measure]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4438</guid>
		<description><![CDATA[This new autoshape component allows you to easily add dimension arrows to your movie. To place the ends of the arrows, simply drag the green handles to the desired position. By default, the measurement will be the number of pixels between the arrows, however this can be altered to a user defined quantity via the Dimension Type [...]]]></description>
			<content:encoded><![CDATA[<p>This new autoshape component allows you to easily add dimension arrows to your movie. To place the ends of the arrows, simply drag the green handles to the desired position. By default, the measurement will be the number of pixels between the arrows, however this can be altered to a user defined quantity via the <strong>Dimension Type</strong> parameter in the Parameters panel.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_measure09.jpg"><img class="alignnone size-full wp-image-4447" title="blog_measure09" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_measure09.jpg" alt="" width="363" height="346" /></a><span id="more-4438"></span></p>
<p><strong><a href="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_measure10.jpg"><img class="alignleft size-full wp-image-4460" title="blog_measure10" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_measure10.jpg" alt="" width="173" height="197" /></a>Line Properties</strong>, <strong>Text Properties</strong> and <strong>Arrow</strong> options can also be altered via the Parameters panel.</p>
<p>Setting the <strong>Exclude from export</strong> option, prevents the autoshape from being included in the final exported movie. This may be useful if you wish to use the autoshape as a positioning or measuring tool.</p>
<p>This autoshape component will work with SWiSH Max3 and MiniMax3 with build dates of 20091130 or later, and although the component is not included with the 20091130 build’s installer, it can be downloaded <a href="http://blog.swishzone.com/wp-content/uploads/2010/07/Measure.zip">here</a>. After downloading it, extract both files within the zip file to:</p>
<p><strong>C:\Program Files\SWiSH Max3\Components\Shapes\2D\Autoshapes</strong></p>
<p>Note that the exact location may be different depending on where you installed Max3, or MiniMax3. We intend including the component in future releases of Max3 and MiniMax3. On x64 systems, Max3 and MiniMax3 are by default installed into <strong>C:\Program Files (x86)\</strong></p>
<p>I hope you find this new autoshape component useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4438</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Device vs Embedded fonts</title>
		<link>http://blog.swishzone.com/?p=4295</link>
		<comments>http://blog.swishzone.com/?p=4295#comments</comments>
		<pubDate>Sun, 01 Aug 2010 23:50:19 +0000</pubDate>
		<dc:creator>jonh</dc:creator>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Max2]]></category>
		<category><![CDATA[Max3]]></category>
		<category><![CDATA[miniMax2]]></category>
		<category><![CDATA[miniMax3]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[device font]]></category>
		<category><![CDATA[embedded font]]></category>
		<category><![CDATA[font]]></category>

		<guid isPermaLink="false">http://blog.swishzone.com/?p=4295</guid>
		<description><![CDATA[Have you ever wondered what the &#8220;D&#8221; button in the Text Properties panel in SWiSH Max does? It allows selection of Embedded or Device fonts. Selecting between Embedded and Device font can affect the clarity and accuracy of the displayed font as well as the size of the exported movie. As the choices, Embedded or Device [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered what the &#8220;<strong>D</strong>&#8221; button in the Text Properties panel in SWiSH Max does? It allows selection of <strong>Embedded</strong> or <strong>Device</strong> fonts. Selecting between Embedded and Device font can affect the clarity and accuracy of the displayed font as well as the size of the exported movie. As the choices, <strong>Embedded </strong>or <strong>Device </strong>may sound cryptic, I have described the differences, advantages and disadvantages of each of the font options below.</p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_fonttype01.jpg"><img class="size-full wp-image-4296 alignleft" title="blog_fonttype01" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_fonttype01.jpg" alt="" width="131" height="62" /></a></p>
<p>The &#8216;Use Device Fonts&#8217; option is on the Typeface options shown in the Text object&#8217;s Properties panel.</p>
<p> The examples below demonstrates the difference in clarity for different font options.<span id="more-4295"></span></p>
<p><a href="http://blog.swishzone.com/wp-content/uploads/2010/07/fontsamples2.jpg"><img class="alignnone size-full wp-image-4329" title="fontsamples2" src="http://blog.swishzone.com/wp-content/uploads/2010/07/fontsamples2.jpg" alt="" width="457" height="392" /></a></p>
<p>This screen capture was taken from an IE 8.0 Web browser running on Windows XP. This particular system did not have the Magneto font installed, hence the incorrect rendering of the Magneto font with the device option.</p>
<h2>Embedded Fonts</h2>
<p>As the name suggests, these fonts are added (i.e. embedded) in the .swf file that is created by Max. As a result, embedded fonts do not need to exist on the system that is viewing the web page. As the fonts are included with the .swf file, they should display exactly the same as when viewed on the authoring computer.</p>
<p>The inclusion of the fonts with the .swf file will result in slightly larger file sizes. This is not normally a problem for static text, but some care may be required if used with Dynamic or Input text types especially with asian character sets.</p>
<p>SWiSH Max has four types of Embedded font options:</p>
<ul>
<li><strong><img title="blog_fonttype02" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_fonttype02.jpg" alt="" width="23" height="22" /> Vector</strong>: Standard fonts</li>
<li><strong><img title="blog_fonttype03" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_fonttype03.jpg" alt="" width="23" height="22" /> Vector Align</strong>:  tries to align the font lines along pixel lines for crisper text.</li>
<li><img title="blog_fonttype04" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_fonttype04.jpg" alt="" width="23" height="22" /> <strong>Pixel Sharp</strong>: used when you want SWiSH Max to create bitmaps of the font using sharp points.</li>
<li><img title="blog_fonttype06" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_fonttype06.jpg" alt="" width="23" height="22" /> <strong>Pixel Smooth</strong>: works best with rounded fonts and reliefs at larger point sizes.</li>
</ul>
<p>The clarity of the different font types (Vector, Vector Align, Pixel Shape and Pixel Smooth) depends on a number of factors including the font size, angle and position within your movie. Generally embedded fonts look sharpest when the text is aligned left and the anchor for the object is set to upper left with integer x,y coordinates. However this does depend on the font size. You may achieve better clarity using left middle or left bottom anchors with integer x,y co-ordinates. Other considerations may also come into play - font size, scaling, kerning even the selected font itself can all affect the clarity.</p>
<p>There is no patent formula for dealing with fonts and associating an actual font with a matching font type. Experimentation gets the best results.</p>
<p>As a general rule, use vector fonts for larger point sizes and pixel fonts for smaller font sizes.</p>
<p>Pixel fonts, sometimes incorrectly referred to as bitmap fonts, have unique properties:</p>
<ul>
<li>They are specially crafted for one point size. If a pixel font is used it will only remain crisp at the specified pt size and multiples thereof. (i.e. they do not scale well).</li>
<li>They will look blocky when higher point settings are used.</li>
</ul>
<p>Embedded fonts cannot be used if you choose to render text as html (<img title="blog_fonttype07" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_fonttype07.jpg" alt="" width="23" height="22" />).</p>
<p>In general use Embedded fonts for:</p>
<ul>
<li>Titles and Large text</li>
<li>When you want absolute control over how the font appears on the viewers computer.</li>
<li>Text where the font is unusual and is not likely to be present on the viewing computer</li>
<li>When the text is scaled or rotated. As many effects use scaling and rotation, generally choose an embedded font if you wish to apply an effect to it.</li>
<li>When the text is masked.  (For Flash players before v10, Device fonts could not be masked.)</li>
</ul>
<p>If you are using embedded fonts for input or dynamic text, consideration should be given to the included Character Options (<img title="blog_fonttype04" src="http://blog.swishzone.com/wp-content/uploads/2010/07/blog_fonttype09.jpg" alt="" width="23" height="22" />). Pressing this button will open a dialog that allows specific characters to be included within the embedded font set. If the required characters are not included, they cannot be displayed. Note that the <strong>All characters</strong> option does not include all characters from the asian character sets. If those characters are required, they should be entered via the <strong>These characters</strong> option. Including all available asian characters could increase the size of your movie considerably because of the size of the character set. In this specific case, consider the use of Device fonts.</p>
<h2>Device Fonts</h2>
<p>Device fonts are available for SWF5 and above. When using this type of font, the text is rendered with the closest available font in the viewing computer&#8217;s browser. This means that the font may appear differently on the viewer&#8217;s computer when compared to the author&#8217;s computer.</p>
<p>To guarantee the highest probability of a good match it is suggested that only the fonts <strong>_sans</strong>, <strong>_serif</strong> or <strong>_typewriter</strong> are used. The visitor&#8217;s system will then choose the default font that applies (<strong>Arial</strong>, <strong>Times New Roman</strong> and <strong>Courier </strong>respectively).</p>
<p>There are a number of advantages and disadvantages associated with the use of device fonts when compared to Embedded fonts.</p>
<h3>Advantages:</h3>
<ul>
<li>No size overhead in the .swf file.</li>
<li>Small fonts generally display clearer text than the corresponding embedded fonts.</li>
<li>Can be used to display html text.</li>
<li>Good with dynamic and input text as the full character set can be assumed to be available.</li>
</ul>
<h3>Disadvantages:</h3>
<ul>
<li>Text may display differently on authoring and viewing computers.</li>
<li>Cannot be scaled or rotated.</li>
<li>Prior to Flash Player 10, cannot be masked.</li>
</ul>
<p>When you are using embedded html, (i.e. the <img title="blog_fonttype07" src="../wp-content/uploads/2010/07/blog_fonttype07.jpg" alt="" width="23" height="22" /> button is pressed), the html text will be displayed, but on pressing preview (play button) the rendered html text should be displayed. Note that only a <a href="http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000922.html">subset</a> of html tags are supported and that strict html should be used. Failure to do so may prevent the text from being displayed correctly or at all.</p>
<p>Happy SWiSH&#8217;ing</p>
<p><em>This updated article was based on content originally submitted by Mike Chrysler in 2004 in the SWiSH tutorials section. Many thanks to Mike for the original article.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.swishzone.com/?feed=rss2&amp;p=4295</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.422 seconds -->
<!-- Cached page served by WP-Cache -->
