<?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>Onyrix</title>
	<atom:link href="http://www.onyrix.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onyrix.com</link>
	<description>Dino Olivieri</description>
	<lastBuildDate>Wed, 09 May 2012 16:18:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
		<item>
		<title>change the cursor with jQuery</title>
		<link>http://www.onyrix.com/2012/05/change-the-cursor-with-jquery/</link>
		<comments>http://www.onyrix.com/2012/05/change-the-cursor-with-jquery/#comments</comments>
		<pubDate>Wed, 09 May 2012 16:15:49 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[cursor]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=943</guid>
		<description><![CDATA[To change the cursor passing hover a tag in dom with jQuery you need only this simple snippet of source code...]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_944" class="wp-caption alignright" style="width: 300px"><a href="http://adf.ly/115106/www.onyrix.com/wp-content/uploads/2012/05/Computer-Cursor-Wallpaper.jpg" target="_blank"><img src="http://www.onyrix.com/wp-content/uploads/2012/05/Computer-Cursor-Wallpaper-290x290.jpg" alt="Change Cursor with jQuery Wallpaper" title="Change Cursor with jQuery Wallpaper" width="290" height="290" class="size-thumbnail wp-image-944" /></a><p class="wp-caption-text">Change Cursor with jQuery Wallpaper</p></div>To change the cursor passing hover a tag in dom with jQuery you need only this simple snippet of source code:</p>
<p>$(&#8216;#someselector&#8217;).hover(function(){$(this).css(&#8216;cursor&#8217;,'pointer&#8217;);}, function(){$(this).css(&#8216;cursor&#8217;,'auto&#8217;);});</p>
<p>where the valid values of cursor are listed at<br />
<a href="http://www.w3schools.com/cssref/pr_class_cursor.asp" target="_blank">CSS cursor Property on W3Schools</a></p>
<p><em>URL</em> A comma separated of URLs to custom cursors. Note: Always specify a generic cursor at the end of the list, in case none of the URL-defined cursors can be used<br />
<b>auto</b> Default. The browser sets a cursor<br />
<b>crosshair</b> The cursor render as a crosshair<br />
<b>default</b> The default cursor<br />
<b>e-resize</b> The cursor indicates that an edge of a box is to be moved right (east)<br />
<b>help</b> The cursor indicates that help is available<br />
<b>move</b> The cursor indicates something that should be moved<br />
<b>n-resize</b> The cursor indicates that an edge of a box is to be moved up (north)<br />
<b>ne-resize</b> The cursor indicates that an edge of a box is to be moved up and right (north/east)<br />
<b>nw-resize</b> The cursor indicates that an edge of a box is to be moved up and left (north/west)<br />
<b>pointer</b> The cursor render as a pointer<br />
<b>progress</b> The cursor indicates that the program is busy (in progress)<br />
<b>s-resize</b> The cursor indicates that an edge of a box is to be moved down (south)<br />
<b>se-resize</b> The cursor indicates that an edge of a box is to be moved down and right (south/east)<br />
<b>sw-resize</b> The cursor indicates that an edge of a box is to be moved down and left (south/west)<br />
<b>text</b> The cursor indicates text<br />
<b>w-resize</b> The cursor indicates that an edge of a box is to be moved left (west)<br />
<b>wait</b> The cursor indicates that the program is busy<br />
<b>inherit</b> Specifies that the value of the cursor property should be inherited from the parent element</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/05/change-the-cursor-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tFlow version 1.2 now available</title>
		<link>http://www.onyrix.com/2012/05/tucanna-tflow-preflight-pdf-server-color-management/</link>
		<comments>http://www.onyrix.com/2012/05/tucanna-tflow-preflight-pdf-server-color-management/#comments</comments>
		<pubDate>Thu, 03 May 2012 08:31:38 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[color management]]></category>
		<category><![CDATA[devicelink profiles]]></category>
		<category><![CDATA[pdf tools]]></category>
		<category><![CDATA[preflight]]></category>
		<category><![CDATA[tflow]]></category>
		<category><![CDATA[tucanna]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=939</guid>
		<description><![CDATA[The tFlow architecture facilitates agile addition of new features and functionality, and with your positive feedback, we have been able to address many of the wishes and suggestions from previous versions.]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_940" class="wp-caption alignright" style="width: 300px"><img src="http://www.onyrix.com/wp-content/uploads/2012/05/tFlow1-2-290x290.jpg" alt="Tucanna tFlow 1.2 preflight, pdf server, color management" title="Tucanna tFlow 1.2 preflight, pdf server, color management" width="290" height="290" class="size-thumbnail wp-image-940" /><p class="wp-caption-text">Tucanna tFlow 1.2 preflight, pdf server, color management</p></div><br />
The <strong>tFlow architecture</strong> facilitates agile addition of new features and functionality, and with your positive feedback, we have been able to address many of the wishes and suggestions from previous versions.</p>
<p><strong>Most important new functionalities:</strong></p>
<p><strong>1. Support of new file formats</strong><br />
In addition to PDF, new formats have been added such as separated PDF, EPS, PS, bitmap formats such as TIFF, JPEG, and PNG, as well as even Microsoft Office files*. All files are converted to PDF, preflighted, fixed, and color managed according to your needs! Among other things, this functionality allows you to use tFlow as a PDF server. *A copy of MS Office needs to be installed on the tFlow Server machine.</p>
<p><strong>2. Addition of extended colormanagement and devicelink profiles</strong><br />
Based upon ”State of the Art” devicelink profiles from ColorLogic, this new addition makes tFlow a complete ColorServer with standard devicelink profiles for current printing standards included as part of the system, and with optional extended and Ink Saving profiles making it an Ink Optimizer solution as well.</p>
<p><strong>3. Advanced user management and user groups</strong><br />
The administrator may now manage different user configurations to create client permission levels for seeing jobs, seeing queues, deleting files, etc..</p>
<p><strong>About TUCANNA</strong><br />
Tucanna is a global developer and supplier of software solutions for the printing industry, founded in 2006 and headquartered in Villarreal, Spain. Its development facilities are located in Verona, Italy. Tucanna develops “software for humans”: simple, elegant, user-friendly and yet powerful in the most complex processes; helping customers raise productivity, reduce costs and improve quality. Tucanna solutions are widely used throughout the printing industry spectrum from traditional offset and flexo to digital and large / wide format printing and mixed environments. Tucanna is represented by partners and authorized dealers all over the world.</p>
<p><strong>About TUCANNA Solutions</strong><br />
Tucanna PrintControl® is an easy-to-use solution for standardizing printing presses easily to achieve predictable printing results. The user is led intuitively through the processes that are necessary to establish optimal and repeatable printing conditions. PrintControl delivers effective process control and production security. Tucanna RapidCheck® is a solution that examines whether all printing parameters comply with standards ISO 12647-2, 12647-3 and GRACoL or other user-defined in-house standards. A single measuring procedure is all it takes to acquire the relevant data, analyze them and present them in graph form. In the event of deviations from the specified tolerances, the printer can then quickly make the necessary corrections on the press and thus ensure compliance with the selected printing standard. Tucanna tFlow® is a revolutionary, cross-platform (Mac or PC) preflighting, color transformation and workflow automation concept. Designed in an innovative app-style, tFlow enables comfortable, fast and secure PDF workflows, for both digital and traditional print businesses. The idea could not be expressed in a better way:<br />
“The complete production workflow at your fingertips! “</p>
<p>Link to specifications and trial demo download:<br />
<strong><a href="http://www.tucannatflow.com" target="_blank">www.tucannatflow.com</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/05/tucanna-tflow-preflight-pdf-server-color-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Air/Flex PDF Silent Print with Acrobat Reader</title>
		<link>http://www.onyrix.com/2012/04/adobe-air-pdf-silent-print-with-acrobat-reader/</link>
		<comments>http://www.onyrix.com/2012/04/adobe-air-pdf-silent-print-with-acrobat-reader/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 15:54:26 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[programming languages]]></category>
		<category><![CDATA[acrobat]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[reader]]></category>
		<category><![CDATA[silent printing]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=934</guid>
		<description><![CDATA[If you need to silent print a PDF document from an application, or better through an Adobe Air application you can use the NativeProcess and then call this command line...]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_935" class="wp-caption alignright" style="width: 300px"><a href="http://adf.ly/115106/www.onyrix.com/wp-content/uploads/2012/04/pattern_print.jpg" target="_blank"><img src="http://www.onyrix.com/wp-content/uploads/2012/04/pattern_print-290x290.jpg" alt="Pattern Print" title="Pattern Print" width="290" height="290" class="size-thumbnail wp-image-935" /></a><p class="wp-caption-text">Pattern Print</p></div>If you need to silent print a PDF document from an application, or better through an Adobe Air application you can use the NativeProcess and then call this command line:</p>
<p><code>AcroRd32.exe /N /T PdfFile PrinterName [PrinterDriver[PrinterPort]]</code></p>
<p><strong>other parameters are:</strong></p>
<p><code>AcroRd32.exe <filename></code></p>
<p>The following switches are available:</p>
<ul>
<li>/n &#8211; Launch a new instance of Reader even if one is already open</li>
<li>/s &#8211; Don&#8217;t show the splash screen</li>
<li>/o &#8211; Don&#8217;t show the open file dialog</li>
<li>/h &#8211; Open as a minimized window</li>
<li>/p &lt;filename&gt; &#8211; Open and go straight to the print dialog</li>
<li>/t &lt;filename&gt; &lt;printername&gt; &lt;drivername&gt; &lt;portname&gt; &#8211; Print the file the specified printer.</li>
</ul>
<p><strong>Related links:</strong></p>
<p><a href="http://www.lonhosford.com/lonblog/2010/08/12/adobe-air-nativeprocess-silent-print-pdf-with-biopdfs-acrobat-wrapper/" target="_blank">Adobe AIR NativeProcess Silent Print PDF with BioPDF’s Acrobat Wrapper</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/04/adobe-air-pdf-silent-print-with-acrobat-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>swfobject api manual</title>
		<link>http://www.onyrix.com/2012/04/swfobject-api-manual-flash-player/</link>
		<comments>http://www.onyrix.com/2012/04/swfobject-api-manual-flash-player/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 14:38:16 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[programming languages]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[swf]]></category>
		<category><![CDATA[swfobject]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=931</guid>
		<description><![CDATA[SWFObject 2 offers two optimized Flash Player embed methods; a markup based approach and a method that relies on JavaScript, and JavaScript API that aims to provide a complete tool set for embedding SWF files and retrieving Flash Player related information]]></description>
			<content:encoded><![CDATA[<h2><a name="What_is_SWFObject?"></a>What is SWFObject?<a href="#What_is_SWFObject?" class="section_anchor"></a></h2>
<p>SWFObject 2:
<ul>
<li>Offers two optimized Flash Player embed methods; a markup based approach and a method that relies on JavaScript </li>
<li>Offers a <a href="http://code.google.com/p/swfobject/wiki/api" rel="nofollow">JavaScript API</a> that aims to provide a complete tool set for embedding SWF files and retrieving Flash Player related information </li>
<li>Utilizes only one small JavaScript file (10Kb / GZIPed: 3.9Kb) </li>
<li>Is the successor of <a href="http://blog.deconcept.com/swfobject/" rel="nofollow">SWFObject 1.5</a>, <a href="http://www.bobbyvandersluis.com/ufo/" rel="nofollow">UFO</a> and the <a href="http://www.adobe.com/products/flashplayer/download/detection_kit/" rel="nofollow">Adobe Flash Player Detection Kit</a> </li>
<li>Intends to unify all existing Flash Player embed methods and provide a new standard for embedding Adobe Flash Player content </li>
</ul>
<h2><a name="Why_should_you_use_SWFObject?"></a>Why should you use SWFObject?<a href="#Why_should_you_use_SWFObject?" class="section_anchor"></a></h2>
<p>SWFObject 2:
<ul>
<li>Is more optimized and flexible than any other Flash Player embed method around </li>
<li>Offers one solution for everybody: It shouldn&#x27;t matter if you are an HTML, Flash, or JavaScript developer, there should be something in it for everyone  </li>
<li>Breaks the cycle of being locked into vendor specific markup and promotes the use of web standards and alternative content </li>
<li>Uses unobtrusive JavaScript and JavaScript best practices </li>
<li>Is easy to use </li>
</ul>
<p>The A List Apart article <a href="http://www.alistapart.com/articles/flashembedcagematch/" rel="nofollow">Flash Embedding Cage Match</a> describes the full rationale behind SWFObject 2. </p>
<h2><a name="Why_does_SWFObject_use_?"></a>Why does SWFObject use JavaScript?<a href="#Why_does_SWFObject_use_?" class="section_anchor"></a></h2>
<p>SWFObject 2 primarily uses JavaScript to overcome issues that cannot be solved by markup alone; it:
<ul>
<li>Detects the Flash Player version and determines whether Flash content or alternative content should be shown, to avoid that outdated Flash plug-ins break Flash content </li>
<li>Offers functionality to revert to alternative content in case of an outdated plug-in by means of a DOM manipulation (Note: if no Flash plug-in is installed the HTML <tt>object</tt> element automatically falls back to its nested alternative content)  </li>
<li>Offers the option to use Adobe Express Install to download the latest Flash Player </li>
<li>Offers a JavaScript API to perform common Flash Player and Flash content related tasks  </li>
</ul>
<h2><a name="Should_I_use_the_static_or_dynamic_publishing_method?"></a>Should I use the static or dynamic publishing method?<a href="#Should_I_use_the_static_or_dynamic_publishing_method?" class="section_anchor"></a></h2>
<p>SWFObject 2 offers two distinct methods to embed Flash Player content:
<ol>
<li>The <strong>static publishing method</strong> embeds both Flash content and alternative content using standards compliant markup, and uses JavaScript to resolve the issues that markup alone cannot solve </li>
<li>The <strong>dynamic publishing method</strong> is based on marked up alternative content and uses JavaScript to replace this content with Flash content if the minimal Flash Player version is installed and enough JavaScript support is available (similar like previous versions of SWFObject and UFO) </li>
</ol>
<p>The advantages of the <strong>static publishing method</strong> are:
<ol>
<li>The actual authoring of standards compliant markup is promoted </li>
<li>Best embed performance </li>
<li>The mechanism of embedding Flash content does not rely on a scripting language, so your Flash content can reach a significant bigger audience: </li>
<ul>
<li>If you have the Flash plug-in installed, but have JavaScript disabled or a use a browser that doesn&#x27;t support JavaScript, you will still be able to see your Flash content </li>
<li>Flash will now also run on a device like Sony PSP, which has very poor JavaScript support </li>
<li>Automated tools like RSS readers are able to pick up Flash content  </li>
</ul>
</ol>
<p>The advantages of the <strong>dynamic publishing method</strong> are:
<ol>
<li>It integrates very well with scripted applications and enables the use of dynamic variables (flashvars) </li>
<li>It avoids <i>click-to-activate mechanisms</i> to activate <i>active content</i> in Internet Explorer 6/7 and Opera 9+. Please note that Microsoft <a href="http://blogs.msdn.com/ie/archive/2007/11/08/ie-automatic-component-activation-changes-to-ie-activex-update.aspx" rel="nofollow">has phased out most active content</a> from its Internet Explorer browsers </li>
</ol>
<h2><a name="How_to_embed_Flash_Player_content_using_SWFObject_static_publish"></a>How to embed Flash Player content using SWFObject <i>static publishing</i><a href="#How_to_embed_Flash_Player_content_using_SWFObject_static_publish" class="section_anchor"></a></h2>
<h3><a name="STEP_1:_Embed_both_Flash_content_and_alternative_content_using_s"></a>STEP 1: Embed both Flash content and alternative content using standards compliant markup<a href="#STEP_1:_Embed_both_Flash_content_and_alternative_content_using_s" class="section_anchor"></a></h3>
<p>SWFObject&#x27;s base markup uses the nested-objects method (with proprietary Internet Explorer conditional comments.  See <a href="http://www.alistapart.com/articles/flashembedcagematch/" rel="nofollow">Flash Embedding Cage Match</a>) to ensure the most optimal cross-browser support by means of markup only, while being standards compliant and supporting alternative content (See <a href="http://www.bobbyvandersluis.com/flashembed/testsuite/" rel="nofollow">Flash Embed Test Suite</a>): </p>
<pre class="prettyprint">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;
  &lt;head&gt;
    &lt;title&gt;SWFObject - step 1&lt;/title&gt;
    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div&gt;

      &lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;780&quot; height=&quot;420&quot;&gt;
        &lt;param name=&quot;movie&quot; value=&quot;myContent.swf&quot; /&gt;
        &lt;!--[if !IE]&gt;--&gt;
        &lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;myContent.swf&quot; width=&quot;780&quot; height=&quot;420&quot;&gt;
        &lt;!--&lt;![endif]--&gt;
          &lt;p&gt;Alternative content&lt;/p&gt;
        &lt;!--[if !IE]&gt;--&gt;
        &lt;/object&gt;
        &lt;!--&lt;![endif]--&gt;
      &lt;/object&gt;

    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</pre>
<p><strong>NOTE:</strong> The nested-objects method requires a double <tt>object</tt> definition (the outer <tt>object</tt> targeting Internet Explorer and the inner <tt>object</tt> targeting all other browsers), so you need to define your <tt>object</tt> attributes and nested <tt>param</tt> elements twice. </p>
<p>Required attributes:
<ul>
<li><tt>classid</tt> (outer <tt>object</tt> element only, value is always <tt>clsid:D27CDB6E-AE6D-11cf-96B8-444553540000</tt>) </li>
<li><tt>type</tt> (inner <tt>object</tt> element only, value is always <tt>application/x-shockwave-flash</tt>) </li>
<li><tt>data</tt> (inner <tt>object</tt> element only, defines the URL of a SWF) </li>
<li><tt>width</tt> (both <tt>object</tt> elements, defines the width of a SWF) </li>
<li><tt>height</tt> (both <tt>object</tt> elements, defines the height of a SWF) </li>
</ul>
<p>Required <tt>param</tt> element:
<ul>
<li><tt>movie</tt> (outer <tt>object</tt> element only, defines the URL of a SWF) </li>
</ul>
<p><strong>NOTE:</strong> We advise not to use the <tt>codebase</tt> attribute to point to the URL of the Flash plugin installer on Adobe&#x27;s servers, because this is illegal according to the specifications which restrict its access to the domain of the current document only. We recommend the use of alternative content with a subtle message that a user can have a richer experience by downloading the Flash plugin instead. </p>
<h4><a name="How_can_you_use_HTML_to_configure_your_Flash_content?"></a>How can you use HTML to configure your Flash content?<a href="#How_can_you_use_HTML_to_configure_your_Flash_content?" class="section_anchor"></a></h4>
<p>You can add the following often-used <a href="http://www.w3schools.com/tags/tag_object.asp" rel="nofollow">optional attributes</a> to the <tt>object</tt> element:
<ul>
<li><tt>id</tt> </li>
<li><tt>name</tt> </li>
<li><tt>class</tt> </li>
<li><tt>align</tt> </li>
</ul>
<p>You can use the following optional Flash specific <tt>param</tt> elements <a href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_12701" rel="nofollow">(more info)</a>:
<ul>
<li><tt>play</tt> </li>
<li><tt>loop</tt> </li>
<li><tt>menu</tt> </li>
<li><tt>quality</tt> </li>
<li><tt>scale</tt> </li>
<li><tt>salign</tt> </li>
<li><tt>wmode</tt> </li>
<li><tt>bgcolor</tt> </li>
<li><tt>base</tt> </li>
<li><tt>swliveconnect</tt> </li>
<li><tt>flashvars</tt> </li>
<li><tt>devicefont</tt> <a href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_13331" rel="nofollow">(more info)</a> </li>
<li><tt>allowscriptaccess</tt> (more info <a href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16494" rel="nofollow">here</a> and <a href="http://www.adobe.com/go/kb402975" rel="nofollow">here</a>) </li>
<li><tt>seamlesstabbing</tt> <a href="http://www.adobe.com/support/documentation/en/flashplayer/7/releasenotes.html" rel="nofollow">(more info)</a> </li>
<li><tt>allowfullscreen</tt> <a href="http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html" rel="nofollow">(more info)</a> </li>
<li><tt>allownetworking</tt> <a href="http://livedocs.adobe.com/flash/9.0/main/00001079.html" rel="nofollow">(more info)</a> </li>
</ul>
<h4><a name="Why_should_you_use_alternative_content?"></a>Why should you use alternative content?<a href="#Why_should_you_use_alternative_content?" class="section_anchor"></a></h4>
<p>The <tt>object</tt> element allows you to nest alternative content inside of it, which will be displayed if Flash is not installed or supported. This content will also be picked up by search engines, making it a great tool for creating search-engine-friendly content. Summarizing, you should use alternative content when you like to create content that is accessible for <a href="http://www.adobe.com/devnet/flashplayer/articles/alternative_content_02.html" rel="nofollow">people who browse the Web without plugins</a>, create <a href="http://www.adobe.com/devnet/flashplayer/articles/alternative_content_04.html" rel="nofollow">search-engine-friendly content</a> or tell visitors that they can have a richer user experience by <a href="http://www.adobe.com/devnet/flashplayer/articles/alternative_content_03.html" rel="nofollow">downloading the Flash plug-in</a>. </p>
<h3><a name="STEP_2:_Include_the_SWFObject_library_in_the_head_of_your_HTML_p"></a>STEP 2: Include the SWFObject JavaScript library in the head of your HTML page<a href="#STEP_2:_Include_the_SWFObject_library_in_the_head_of_your_HTML_p" class="section_anchor"></a></h3>
<p>The SWFObject library consists of one external JavaScript file. SWFObject will be executed as soon as it is read and will perform all DOM manipulations as soon as the DOM is loaded &#8211; for all browsers that support this, like IE, Firefox, Safari and Opera 9+ &#8211; or otherwise as soon as the onload event fires: 	 </p>
<pre class="prettyprint">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;
  &lt;head&gt;
    &lt;title&gt;SWFObject - step 2&lt;/title&gt;
    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;

    &lt;script type=&quot;text/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;/script&gt;

  &lt;/head&gt;
  &lt;body&gt;
    &lt;div&gt;
      &lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;780&quot; height=&quot;420&quot;&gt;
        &lt;param name=&quot;movie&quot; value=&quot;myContent.swf&quot; /&gt;
        &lt;!--[if !IE]&gt;--&gt;
        &lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;myContent.swf&quot; width=&quot;780&quot; height=&quot;420&quot;&gt;
        &lt;!--&lt;![endif]--&gt;
          &lt;p&gt;Alternative content&lt;/p&gt;
        &lt;!--[if !IE]&gt;--&gt;
        &lt;/object&gt;
        &lt;!--&lt;![endif]--&gt;
      &lt;/object&gt;
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</pre>
</p>
<h3><a name="STEP_3:_Register_your_Flash_content_with_the_SWFObject_library_a"></a>STEP 3: Register your Flash content with the SWFObject library and tell SWFObject what to do with it<a href="#STEP_3:_Register_your_Flash_content_with_the_SWFObject_library_a" class="section_anchor"></a></h3>
<p>First add a unique <tt>id</tt> to the outer <tt>object</tt> tag that defines your Flash content. Second add the <tt>swfobject.registerObject</tt> method:
<ol>
<li>The first argument (String, required) specifies the <tt>id</tt> used in the markup. </li>
<li>The second argument (String, required) specifies the Flash player version your content is published for. It activates the Flash version detection for a SWF to determine whether to show Flash content or force alternative content by doing a DOM manipulation. While Flash version numbers normally consist of major.minor.release.build, SWFObject only looks at the first 3 numbers, so both &quot;WIN 9,0,18,0&quot; (IE) or &quot;Shockwave Flash 9 <a href="/p/swfobject/source/detail?r=18">r18</a>&quot; (all other browsers) will translate to &quot;9.0.18&quot;. If you only want to test for a major version you can omit the minor and release numbers, like &quot;9&quot; instead of &quot;9.0.0&quot;. </li>
<li>The third argument (String, optional) can be used to activate <a href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75" rel="nofollow">Adobe express install</a> and specifies the URL of your express install SWF file. Express install displays a standardized Flash plugin download dialog instead of your Flash content when the required plugin version is not available. A default expressInstall.swf file is packaged with the project. It also contains the corresponding expressInstall.fla and AS files (in the SRC directory) to let you create your own custom express install experience. Please note that express install will only fire once (the first time that it is invoked), that it is only supported by Flash Player 6.0.65 or higher on Win or Mac platforms, and that it requires a minimal SWF size of 310x137px.  </li>
<li>The fourth argument (JavaScript function, optional) can be used to define a callback function that is called on both success or failure of creating a Flash plug-in <tt>&lt;object&gt;</tt> on the page (see <a href="http://code.google.com/p/swfobject/wiki/api" rel="nofollow">API documentation</a>) </li>
<pre class="prettyprint">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;
  &lt;head&gt;
    &lt;title&gt;SWFObject - step 3&lt;/title&gt;
    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;/script&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;
    swfobject.registerObject(&quot;myId&quot;, &quot;9.0.115&quot;, &quot;expressInstall.swf&quot;);
    &lt;/script&gt;

  &lt;/head&gt;
  &lt;body&gt;
    &lt;div&gt;

      &lt;object id=&quot;myId&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;780&quot; height=&quot;420&quot;&gt;

        &lt;param name=&quot;movie&quot; value=&quot;myContent.swf&quot; /&gt;
        &lt;!--[if !IE]&gt;--&gt;
        &lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;myContent.swf&quot; width=&quot;780&quot; height=&quot;420&quot;&gt;
        &lt;!--&lt;![endif]--&gt;
          &lt;p&gt;Alternative content&lt;/p&gt;
        &lt;!--[if !IE]&gt;--&gt;
        &lt;/object&gt;
        &lt;!--&lt;![endif]--&gt;
      &lt;/object&gt;
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</pre>
</ol>
<h3><a name="TIPS"></a>TIPS<a href="#TIPS" class="section_anchor"></a></h3>
<ul>
<li>Use the <a href="http://code.google.com/p/swfobject/wiki/generator" rel="nofollow">SWFObject HTML and JavaScript generator</a> to help you author your code </li>
<li>Just repeat steps 1 and 3 to embed multiple SWF files into one HTML page </li>
<li>The easiest way to reference the active <tt>object</tt> element is by using the <a href="http://code.google.com/p/swfobject/wiki/api" rel="nofollow">JavaScript API</a>: `swfobject.getObjectById(objectIdStr) </li>
</ul>
<h2><a name="How_to_embed_Flash_Player_content_using_SWFObject_dynamic_publis"></a>How to embed Flash Player content using SWFObject <i>dynamic publishing</i><a href="#How_to_embed_Flash_Player_content_using_SWFObject_dynamic_publis" class="section_anchor"></a></h2>
<h3><a name="STEP_1:_Create_alternative_content_using_standards_compliant_mar"></a>STEP 1: Create alternative content using standards compliant markup<a href="#STEP_1:_Create_alternative_content_using_standards_compliant_mar" class="section_anchor"></a></h3>
<p>SWFObject&#x27;s dynamic embed method follows the principle of progressive enhancement and replaces alternative HTML content for Flash content when enough JavaScript and Flash plug-in support is available. First define your alternative content and label it with an <tt>id</tt>:  </p>
<pre class="prettyprint">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;
  &lt;head&gt;
    &lt;title&gt;SWFObject dynamic embed - step 1&lt;/title&gt;
    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
  &lt;/head&gt;
  &lt;body&gt;

    &lt;div id=&quot;myContent&quot;&gt;
      &lt;p&gt;Alternative content&lt;/p&gt;
    &lt;/div&gt;

  &lt;/body&gt;
&lt;/html&gt;</pre>
<h3><a name="STEP_2:_Include_the_SWFObject_library_in_the_head_of_your_HTML_p"></a>STEP 2: Include the SWFObject JavaScript library in the head of your HTML page<a href="#STEP_2:_Include_the_SWFObject_library_in_the_head_of_your_HTML_p" class="section_anchor"></a></h3>
<p>The SWFObject library consists of one external JavaScript file. SWFObject will be executed as soon as it is read and will perform all DOM manipulations as soon as the DOM is loaded &#8211; for all browsers that support this, like IE, Firefox, Safari and Opera 9+ &#8211; or otherwise as soon as the onload event fires: 	 </p>
<pre class="prettyprint">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;
  &lt;head&gt;
    &lt;title&gt;SWFObject dynamic embed - step 2&lt;/title&gt;
    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;

    &lt;script type=&quot;text/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;/script&gt;

  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id=&quot;myContent&quot;&gt;
      &lt;p&gt;Alternative content&lt;/p&gt;
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</pre>
<h3><a name="STEP_3:_Embed_your_SWF_with"></a>STEP 3: Embed your SWF with JavaScript<a href="#STEP_3:_Embed_your_SWF_with" class="section_anchor"></a></h3>
<p><tt>swfobject.embedSWF(swfUrl, id, width, height, version, expressInstallSwfurl, flashvars, params, attributes, callbackFn)</tt> has five required and five optional arguments:
<ol>
<li>swfUrl (String, required) specifies the URL of your SWF </li>
<li>id (String, required) specifies the <tt>id</tt> of the HTML element (containing your alternative content) you would like to have replaced by your Flash content </li>
<li>width (String, required) specifies the width of your SWF </li>
<li>height (String, required) specifies the height of your SWF </li>
<li>version (String, required) specifies the Flash player version your SWF is published for (format is: &quot;major.minor.release&quot; or &quot;major&quot;) </li>
<li>expressInstallSwfurl (String, optional) specifies the URL of your express install SWF and activates <a href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75" rel="nofollow">Adobe express install</a>. Please note that express install will only fire once (the first time that it is invoked), that it is only supported by Flash Player 6.0.65 or higher on Win or Mac platforms, and that it requires a minimal SWF size of 310x137px.  </li>
<li>flashvars (Object, optional) specifies your flashvars with name:value pairs  </li>
<li>params (Object, optional) specifies your nested <tt>object</tt> element <tt>params</tt> with name:value pairs  </li>
<li>attributes (Object, optional) specifies your <tt>object</tt>&#x27;s attributes with name:value pairs </li>
<li>callbackFn (JavaScript function, optional) can be used to define a callback function that is called on both success or failure of creating a Flash plug-in <tt>&lt;object&gt;</tt> on the page (see <a href="http://code.google.com/p/swfobject/wiki/api" rel="nofollow">API documentation</a>) </li>
</ol>
<p><strong>NOTE:</strong> You can omit the optional parameters, as long as you don&#x27;t break the parameter order. If you don&#x27;t want to use an optional parameter, but would like to use a following optional parameter, you can simply pass <tt>false</tt> as its value. For the <tt>flashvars</tt>, <tt>params</tt> and <tt>attributes</tt> JavaScript Objects, you can also pass an empty object instead: <tt>{}</tt>.  </p>
<pre class="prettyprint">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;en&quot; xml:lang=&quot;en&quot;&gt;
  &lt;head&gt;
    &lt;title&gt;SWFObject dynamic embed - step 3&lt;/title&gt;
    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;/script&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;
    swfobject.embedSWF(&quot;myContent.swf&quot;, &quot;myContent&quot;, &quot;300&quot;, &quot;120&quot;, &quot;9.0.0&quot;);
    &lt;/script&gt;

  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id=&quot;myContent&quot;&gt;
      &lt;p&gt;Alternative content&lt;/p&gt;
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</pre>
<h4><a name="How_can_you_configure_your_Flash_content?"></a>How can you configure your Flash content?<a href="#How_can_you_configure_your_Flash_content?" class="section_anchor"></a></h4>
<p>You can add the following often-used <a href="http://www.w3schools.com/tags/tag_object.asp" rel="nofollow">optional attributes</a> to the <tt>object</tt> element:
<ul>
<li><tt>id</tt> (NOTE: when undefined, the <tt>object</tt> element automatically inherits the <tt>id</tt> from the alternative content container element) </li>
<li><tt>align</tt> </li>
<li><tt>name</tt> </li>
<li><tt>styleclass</tt> (see note about <tt>class</tt>) </li>
<li><tt>class</tt>  </li>
</ul>
<p><i>Note: <tt>class</tt> is a reserved ECMA4 keyword and will throw errors in Internet Explorer unless it is surrounded by quotation marks (e.g. <tt>&quot;class&quot;</tt> or &#x27;<tt>class</tt>&#x27;). For this reason, swfobject provides the <tt>styleclass</tt> keyword as a safe alternative syntax for <tt>class</tt>; if you use <tt>styleclass</tt>, swfobject will automatically insert it as <tt>class</tt> for you.</i> </p>
<p>Example: </p>
<pre class="prettyprint">var attributes = {
   id: &quot;myId&quot;,
   align: &quot;left&quot;,
   styleclass: &quot;myclass&quot;
};</pre>
<p>If you would rather use <tt>class</tt> instead of <tt>styleclass</tt>, wrap the word <tt>class</tt> in quotes like this: </p>
<pre class="prettyprint">var attributes = {
   id: &quot;myId&quot;,
   align: &quot;left&quot;,
   &quot;class&quot;: &quot;myclass&quot;
};</pre>
<p>You can use the following optional Flash specific <tt>param</tt> elements <a href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_12701" rel="nofollow">(more info)</a>:
<ul>
<li><tt>play</tt> </li>
<li><tt>loop</tt> </li>
<li><tt>menu</tt> </li>
<li><tt>quality</tt> </li>
<li><tt>scale</tt> </li>
<li><tt>salign</tt> </li>
<li><tt>wmode</tt> </li>
<li><tt>bgcolor</tt> </li>
<li><tt>base</tt> </li>
<li><tt>swliveconnect</tt> </li>
<li><tt>flashvars</tt> </li>
<li><tt>devicefont</tt> <a href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_13331" rel="nofollow">(more info)</a> </li>
<li><tt>allowscriptaccess</tt> (more info <a href="http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16494" rel="nofollow">here</a> and <a href="http://www.adobe.com/go/kb402975" rel="nofollow">here</a>) </li>
<li><tt>seamlesstabbing</tt> <a href="http://www.adobe.com/support/documentation/en/flashplayer/7/releasenotes.html" rel="nofollow">(more info)</a> </li>
<li><tt>allowfullscreen</tt> <a href="http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html" rel="nofollow">(more info)</a> </li>
<li><tt>allownetworking</tt> <a href="http://livedocs.adobe.com/flash/9.0/main/00001079.html" rel="nofollow">(more info)</a> </li>
</ul>
<h4><a name="How_do_you_use_Objects_to_define_your_flashvars,_params_and_obje"></a>How do you use JavaScript Objects to define your flashvars, params and object&#x27;s attributes?<a href="#How_do_you_use_Objects_to_define_your_flashvars,_params_and_obje" class="section_anchor"></a></h4>
<p>You can best define JavaScript Objects using the Object literal notation, which looks like: </p>
<pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;

var flashvars = {};
var params = {};
var attributes = {};

swfobject.embedSWF(&quot;myContent.swf&quot;, &quot;myContent&quot;, &quot;300&quot;, &quot;120&quot;, &quot;9.0.0&quot;,&quot;expressInstall.swf&quot;, flashvars, params, attributes);

&lt;/script&gt;</pre>
<p>You can add your name:value pairs while you define an object (note: please make sure not to put a comma behind the last name:value pair inside an object) </p>
<pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;

var flashvars = {
  name1: &quot;hello&quot;,
  name2: &quot;world&quot;,
  name3: &quot;foobar&quot;
};
var params = {
  menu: &quot;false&quot;
};
var attributes = {
  id: &quot;myDynamicContent&quot;,
  name: &quot;myDynamicContent&quot;
};

swfobject.embedSWF(&quot;myContent.swf&quot;, &quot;myContent&quot;, &quot;300&quot;, &quot;120&quot;, &quot;9.0.0&quot;,&quot;expressInstall.swf&quot;, flashvars, params, attributes);

&lt;/script&gt;</pre>
<p>Or add properties and values after its creation by using a dot notation: </p>
<pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;

var flashvars = {};
flashvars.name1 = &quot;hello&quot;;
flashvars.name2 = &quot;world&quot;;
flashvars.name3 = &quot;foobar&quot;;

var params = {};
params.menu = &quot;false&quot;;

var attributes = {};
attributes.id = &quot;myDynamicContent&quot;;
attributes.name = &quot;myDynamicContent&quot;;

swfobject.embedSWF(&quot;myContent.swf&quot;, &quot;myContent&quot;, &quot;300&quot;, &quot;120&quot;, &quot;9.0.0&quot;,&quot;expressInstall.swf&quot;, flashvars, params, attributes);

&lt;/script&gt;</pre>
<p>Which can also be written as (the less readable shorthand version for the die-hard scripter who love one-liners): </p>
<pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;

swfobject.embedSWF(&quot;myContent.swf&quot;, &quot;myContent&quot;, &quot;300&quot;, &quot;120&quot;, &quot;9.0.0&quot;,&quot;expressInstall.swf&quot;, {name1:&quot;hello&quot;,name2:&quot;world&quot;,name3:&quot;foobar&quot;}, {menu:&quot;false&quot;}, {id:&quot;myDynamicContent&quot;,name:&quot;myDynamicContent&quot;});

&lt;/script&gt;</pre>
<p>If you don&#x27;t want to use an optional argument you can define it as <tt>false</tt> or as an empty Object (NOTE: from <strong>SWFObject 2.1</strong> onwards you can also use <tt>null</tt> or <tt>0</tt>): </p>
<pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;

var flashvars = false;
var params = {};
var attributes = {
  id: &quot;myDynamicContent&quot;,
  name: &quot;myDynamicContent&quot;
};

swfobject.embedSWF(&quot;myContent.swf&quot;, &quot;myContent&quot;, &quot;300&quot;, &quot;120&quot;, &quot;9.0.0&quot;,&quot;expressInstall.swf&quot;, flashvars, params, attributes);

&lt;/script&gt;</pre>
<p>The flashvars Object is a shorthand notation that is there for your ease of use. You could potentially ignore it and specify your flashvars via the params Object: </p>
<pre class="prettyprint">&lt;script type=&quot;text/javascript&quot;&gt;

var flashvars = false;
var params = {
  menu: &quot;false&quot;,
  flashvars: &quot;name1=hello&amp;name2=world&amp;name3=foobar&quot;
};
var attributes = {
  id: &quot;myDynamicContent&quot;,
  name: &quot;myDynamicContent&quot;
};

swfobject.embedSWF(&quot;myContent.swf&quot;, &quot;myContent&quot;, &quot;300&quot;, &quot;120&quot;, &quot;9.0.0&quot;,&quot;expressInstall.swf&quot;, flashvars, params, attributes);

&lt;/script&gt;</pre>
<h3><a name="TIPS"></a>TIPS<a href="#TIPS" class="section_anchor"></a></h3>
<ul>
<li>Use the <a href="http://code.google.com/p/swfobject/wiki/generator" rel="nofollow">SWFObject HTML and JavaScript generator</a> to help you author your code </li>
<li>Just repeat steps 1 and 3 to embed multiple SWF files into one HTML page </li>
</ul>
<h2><a name="SWFObject_1.5_to_SWFObject_2_migration_tips"></a>SWFObject 1.5 to SWFObject 2 migration tips<a href="#SWFObject_1.5_to_SWFObject_2_migration_tips" class="section_anchor"></a></h2>
<ol>
<li>SWFObject 2 is NOT backwards compatible with SWFObject 1.5 </li>
<li>It is now preferred to insert all script blocks in the head of your HTML page. Adding your scripts in the body of your page may have visual impact (e.g. flashes of replaced alternative content), because your JavaScript code will be executed in a later stage (the exact impact depends on your implementation) </li>
<li>The library itself is now written in lowercase: <tt>swfobject</tt> instead of <tt>SWFObject</tt> </li>
<li>Methods can only be accessed via the library (instead via a SWFObject instance in SWFObject 1.5) </li>
<li>The <a href="http://code.google.com/p/swfobject/wiki/api" rel="nofollow">JavaScript API</a> is entirely different and more elaborate </li>
<li>SWFObject 2 replaces your entire alternative HTML content block, including the referenced HTML container element, for Flash content when enough JavaScript and Flash support is available, while SWFObject 1.5 only replaces the content inside the referenced HTML container. When you don&#x27;t specify an <tt>id</tt> attribute, the <tt>object</tt> element will automatically inherit the <tt>id</tt> of the HTML container element of your alternative content. </li>
</ol>
<h2><a name="UFO_to_SWFObject_2_migration_tips"></a>UFO to SWFObject 2 migration tips<a href="#UFO_to_SWFObject_2_migration_tips" class="section_anchor"></a></h2>
<p>
<ol>
<li>SWFObject 2 replaces your entire alternative HTML content block, including the referenced HTML container element, for Flash content when enough JavaScript and Flash support is available, while UFO only replaces the content inside the referenced HTML container. When you don&#x27;t specify an <tt>id</tt> attribute, the <tt>object</tt> element will automatically inherit the <tt>id</tt> of the HTML container element of your alternative content. </li>
<li>UFO&#x27;s <tt>setcontainercss</tt> feature has not been incorporated in SWFObject 2, however it can easily be replicated by using the <a href="http://code.google.com/p/swfobject/wiki/api" rel="nofollow">SWFObject JavaScript API</a>, see: <tt>swfobject.createCSS(selStr, declStr)</tt> </li>
</ol>
<h2><a name="Does_SWFObject_2_support_MIME_type_application/xhtml+xml?"></a>Does SWFObject 2 support MIME type application/xhtml+xml?<a href="#Does_SWFObject_2_support_MIME_type_application/xhtml+xml?" class="section_anchor"></a></h2>
<p>SWFObject 2 does NOT support XML MIME types, which is a design decision. </p>
<p>There are a number of reasons why we are not supporting this:
<ul>
<li>Only a very small (non-significant) amount of web authors is using it </li>
<li>We are unsure if it is the direction to go. Internet Explorer does not support it and all other major browser vendors are aiming their arrows at a new standard way of HTML parsing (with HTML 5), which departs from the current W3C vision of parsing HTML as XML </li>
<li>We save a considerate amount of file size and effort (testing, issue resolving) by not supporting it </li>
</ul>
<h2><a name="Tutorials_(beginner_level)"></a>Tutorials (beginner level)<a href="#Tutorials_(beginner_level)" class="section_anchor"></a></h2>
<ul>
<li><a href="http://www.adobe.com/devnet/flashplayer/articles/swfobject.html" rel="nofollow">Detecting Flash Player versions and embedding SWF files with SWFObject 2</a> </li>
<li><a href="http://www.adobe.com/devnet/flashplayer/articles/alternative_content.html" rel="nofollow">Providing alternative content for SWF files</a> </li>
<li><a href="http://www.gotoandlearn.com/play.php?id=77" rel="nofollow">Embedding Flash with SWFObject 2.0</a> (video tutorial) by Lee Brimelow </li>
<li><a href="http://www.actionscript-facile.com/afficher-flash-dans-une-page-html-avec-swfobject/article1213593.html" rel="nofollow">Adding Flash content in an HTML page &#8211; French (video tutorial)</a> by Matthieu Deloison </li>
</ul>
<h2><a name="Comments"></a>Comments<a href="#Comments" class="section_anchor"></a></h2>
<p>The comments functionality on this wiki has been switched off to avoid spam and abuse. </p>
<p>If you have any questions/comments about SWFObject or its documentation, or have problems with an implementation:
<ol>
<li>Please make sure you have read <a href="http://code.google.com/p/swfobject/wiki/faq" rel="nofollow">our FAQ</a> </li>
<li>Use the <a href="http://groups.google.com/group/swfobject" rel="nofollow">SWFObject discussion group</a> </li>
</ol>
<p>If you find any bugs or want to request a future enhancement, you can fill in an issue report on the <a href="http://code.google.com/p/swfobject/issues/list" rel="nofollow">SWFObject issues page</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/04/swfobject-api-manual-flash-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Utiel Ikkau – Illustration © Dino Olivieri</title>
		<link>http://www.onyrix.com/2012/04/utiel-ikkau-illustration-dino-olivieri/</link>
		<comments>http://www.onyrix.com/2012/04/utiel-ikkau-illustration-dino-olivieri/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 14:48:57 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[paintings]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[dino olivieri]]></category>
		<category><![CDATA[fantasy]]></category>
		<category><![CDATA[illustrations]]></category>
		<category><![CDATA[lucedistelle]]></category>
		<category><![CDATA[naiwe]]></category>
		<category><![CDATA[novel]]></category>
		<category><![CDATA[scifi]]></category>
		<category><![CDATA[starlight]]></category>
		<category><![CDATA[utiel]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=923</guid>
		<description><![CDATA[This is one of my sketches for the character of Utiel Ikkau, Raellion Guardian, who saved the young Kios, next the new emperor of the Great Mother&#8230; taken from the book i&#8217;m writing: &#8220;The Legend of the Starlight&#8221;]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_924" class="wp-caption alignright" style="width: 300px"><a href="http://adf.ly/115106/www.onyrix.com/wp-content/uploads/2012/04/Utiel_Ikkau_by_Dino_Olivieri.jpg" target="_blank"><img src="http://www.onyrix.com/wp-content/uploads/2012/04/Utiel_Ikkau_by_Dino_Olivieri-290x290.jpg" alt="Utiel Ikkau - Illustration © Dino Olivieri" title="Utiel Ikkau - Illustration © Dino Olivieri" width="290" height="290" class="size-thumbnail wp-image-924" /></a><p class="wp-caption-text">Utiel Ikkau - Illustration © Dino Olivieri</p></div><br />
This is one of my sketches for the character of Utiel Ikkau, Raellion Guardian, who saved the young Kios, next the new emperor of the Great Mother&#8230; taken from the book i&#8217;m writing: &#8220;The Legend of the Starlight&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/04/utiel-ikkau-illustration-dino-olivieri/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Only Gradient Compatible with any browser IE7, IE8, IE9, FF, Safari, Webkit, Opera, Chrome,&#8230;</title>
		<link>http://www.onyrix.com/2012/02/css-gradient-compatible-with-any-browser-ie7-ie8-ie9-ff-safari-webkit-opera-chrome/</link>
		<comments>http://www.onyrix.com/2012/02/css-gradient-compatible-with-any-browser-ie7-ie8-ie9-ff-safari-webkit-opera-chrome/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 09:54:44 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[programming languages]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css2]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=902</guid>
		<description><![CDATA[This technique is limited only to vertical or orizontal gradient.
Produce a PNG of any size , better if very very small, with your pattern of gradient with alpha channel (transparency) in which you want background color will emerge...]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_904" class="wp-caption alignright" style="width: 300px"><a href="http://adf.ly/115106/www.onyrix.com/wp-content/uploads/2012/02/gradient-image-css.jpg" target="_blank"><img src="http://www.onyrix.com/wp-content/uploads/2012/02/gradient-image-css-290x290.jpg" alt="CSS Gradient Image" title="CSS Gradient Image" width="290" height="290" class="size-thumbnail wp-image-904" /></a><p class="wp-caption-text">CSS Gradient Image</p></div>This technique is limited only to vertical or orizontal gradient.<br />
Produce a PNG of any size , better if very very small, with your pattern of gradient with alpha channel (transparency) in which you want background color will emerge&#8230;<br />
Save it as PNG 24 bit, maximum compression.<br />
Use a tool like the following to convert the binary content in BASE64</p>
<p><a href="http://adf.ly/115106/www.motobit.com/util/base64-decoder-encoder.asp" target="_blank">http://www.motobit.com/util/base64-decoder-encoder.asp</a></p>
<p>Then if you want a background green with for example a superimpressed gradient you have done this is the CSS:</p>
<p><code>.col_green_grad{<br />
background-color: green;<br />
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAgCAYAAADT5RIaAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wCHQkqHXInMagAAAAMaVRYdENvbW1lbnQAAAAAALyuspkAAAAlSURBVAjXY2CAAhYmBgYGTiYGBgYOLAQnXi6xSkgzj4GBgeEPAF1TAiswA+tDAAAAAElFTkSuQmCC);<br />
background-size: 100% 100%;<br />
}</code></p>
<p>No image to upload, all in CSS</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/02/css-gradient-compatible-with-any-browser-ie7-ie8-ie9-ff-safari-webkit-opera-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Open Graph protocol</title>
		<link>http://www.onyrix.com/2012/02/open-graph-protocol-transform-web-pages-in-rich-objects-in-social-graphs/</link>
		<comments>http://www.onyrix.com/2012/02/open-graph-protocol-transform-web-pages-in-rich-objects-in-social-graphs/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 10:04:22 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[programming languages]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google plus]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[open graph]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[rdf]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=898</guid>
		<description><![CDATA[The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_900" class="wp-caption alignright" style="width: 300px"><a href="http://adf.ly/115106/www.onyrix.com/wp-content/uploads/2012/02/global-open-graph-protocol-facebook.jpg" target="_blank"><img src="http://www.onyrix.com/wp-content/uploads/2012/02/global-open-graph-protocol-facebook-290x290.jpg" alt="Global Open Graph Protocol Facebook" title="Global Open Graph Protocol Facebook" width="290" height="290" class="size-thumbnail wp-image-900" /></a><p class="wp-caption-text">Global Open Graph Protocol Facebook</p></div>The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.</p>
<p>While many different technologies and schemas exist and could be combined together, there isn&#8217;t a single technology which provides enough information to richly represent any web page within the social graph. The Open Graph protocol builds on these existing technologies and gives developers one thing to implement. Developer simplicity is a key goal of the Open Graph protocol which has informed many of the technical design decisions.</p>
<p>Link:<br />
<a href="http://adf.ly/115106/ogp.me/" target="_blank">http://ogp.me/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/02/open-graph-protocol-transform-web-pages-in-rich-objects-in-social-graphs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to solve HTML5 Canvas 100% Width and Height problem in Viewport</title>
		<link>http://www.onyrix.com/2012/02/how-to-solve-html5-canvas-100-percent-width-height-problem/</link>
		<comments>http://www.onyrix.com/2012/02/how-to-solve-html5-canvas-100-percent-width-height-problem/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 21:09:41 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[programming languages]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[css2]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[js]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=877</guid>
		<description><![CDATA[If you manage a canvas viewport set up to 100% width and height you will encounter some problem on different html5 browser engines. Here how to solve this problem in 2 different approaches...]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_884" class="wp-caption alignright" style="width: 300px"><a href="http://adf.ly/115106/www.onyrix.com/wp-content/uploads/2012/02/html5-wallpaper-download.jpg" target="_blank"><img src="http://www.onyrix.com/wp-content/uploads/2012/02/html5-wallpaper-download-290x290.jpg" alt="HTML5 Wallpaper Download" title="HTML5 Wallpaper Download" width="290" height="290" class="size-thumbnail wp-image-884" /></a><p class="wp-caption-text">HTML5 Wallpaper Download</p></div><strong>First approach:</strong></p>
<p><strong>JQUERY</strong></p>
<p><code>(function() {<br />
    var canvas = document.getElementById('canvas'),<br />
    context = canvas.getContext('2d'); </p>
<p>    // resize the canvas to fill browser window dynamically<br />
    window.addEventListener('resize', resizeCanvas, false); </p>
<p>    function resizeCanvas() {<br />
		canvas.width = window.innerWidth;<br />
		canvas.height = window.innerHeight;<br />
		redrawCanvas();<br />
    }<br />
    resizeCanvas(); </p>
<p>    function redrawCanvas() {<br />
		// redraw all things here<br />
    }<br />
})();</code></p>
<p><strong>CSS</strong></p>
<p><code>* { margin:0; padding:0; } /* to remove the top and left whitespace */<br />
html, body { width:100%; height:100%; } /* just to be sure these are full screen*/<br />
canvas { display:block; } /* To remove the scrollbars */</code></p>
<p><strong>Second approach, all in one:</strong></p>
<p><code>&lt;!DOCTYPE html&gt;<br />
&lt;html style=&quot;width:100%;height:100%;&quot;&gt;<br />
&lt;body style=&quot;width:100%;height:100%;margin:0;padding:0&quot;&gt;<br />
&lt;canvas id=&quot;myCanvas&quot; style=&quot;width:100%;height:100%;background-color:yellow;display:block&quot;&gt;Your browser does not support the canvas tag.&lt;/canvas&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
var canvas=document.getElementById('myCanvas');<br />
var ctx=canvas.getContext('2d');<br />
ctx.fillStyle='#FF0000';<br />
ctx.fillRect(0,0,100,100);<br />
ctx.strokeText(&quot;w:&quot;+canvas.width+&quot; h:&quot;+canvas.height, 0, 8);<br />
&lt;/script&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/02/how-to-solve-html5-canvas-100-percent-width-height-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Rebuild Icon Cache on Windows 7 and Vista</title>
		<link>http://www.onyrix.com/2012/02/how-to-rebuild-icon-cache-windows-7-vista/</link>
		<comments>http://www.onyrix.com/2012/02/how-to-rebuild-icon-cache-windows-7-vista/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 20:43:58 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[icon cache]]></category>
		<category><![CDATA[rebuild cache]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=869</guid>
		<description><![CDATA[Sometimes applications icons on Windows 7 and Vista, disappears. Here a fast article about how to rebuild the icon cache in few simple steps...]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_870" class="wp-caption alignright" style="width: 300px"><a href="http://adf.ly/115106/www.onyrix.com/wp-content/uploads/2012/02/windows-seven-wallpaper-download.jpg" target="_blank"><img src="http://www.onyrix.com/wp-content/uploads/2012/02/windows-seven-wallpaper-download-290x290.jpg" alt="Windows Seven Wallpaper Download" title="Windows Seven Wallpaper Download" width="290" height="290" class="size-thumbnail wp-image-870" /></a><p class="wp-caption-text">Windows Seven Wallpaper Download</p></div>To rebuild the Icon Cache Database:</p>
<ol>
<li>Close all folder windows that are currently open.</li>
<li>Launch Task Manager using the CTRL+SHIFT+ESC key sequence, or by running taskmgr.exe.</li>
<li>In the Process tab, right-click on the Explorer.exe process and select End Process.</li>
<li>Click the End process button when asked for confirmation.</li>
<li>From the File menu of Task Manager, select New Task (Run…)</li>
<li>Type CMD.EXE, and click OK</li>
<li>In the Command Prompt window, type the commands one by one and press ENTER after each command:<br />
<code>CD /d %userprofile%\AppData\Local<br />
DEL IconCache.db /a<br />
EXIT</code><br />
where %userprofile% represents the path to user profile folder.</li>
<li>In Task Manager, click File, select New Task (Run…)</li>
<li>Type EXPLORER.EXE, and click OK</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/02/how-to-rebuild-icon-cache-windows-7-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to develope a Facebook Application and make money</title>
		<link>http://www.onyrix.com/2012/02/how-to-develope-a-facebook-application-and-make-money/</link>
		<comments>http://www.onyrix.com/2012/02/how-to-develope-a-facebook-application-and-make-money/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 09:52:33 +0000</pubDate>
		<dc:creator>onyrix</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[ad]]></category>
		<category><![CDATA[advertisement]]></category>
		<category><![CDATA[earnings]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[posts]]></category>

		<guid isPermaLink="false">http://www.onyrix.com/?p=825</guid>
		<description><![CDATA[Here we show how to develope a Facebook mobile, app or web application and make money with advertisement...]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_827" class="wp-caption alignright" style="width: 300px"><a href="http://adf.ly/115106/www.onyrix.com/wp-content/uploads/2012/02/how-to-make-money-with-facebook.jpg" target="_blank"><img src="http://www.onyrix.com/wp-content/uploads/2012/02/how-to-make-money-with-facebook-290x290.jpg" alt="How to make money with facebook" title="How to make money with facebook" width="290" height="290" class="size-thumbnail wp-image-827" /></a><p class="wp-caption-text">How to make money with facebook</p></div>To make an application for Facebook, we need:</p>
<ul>
<li>A Facebook account</li>
<li>Apply for the development of facebook (Facebook Developer)</li>
<li>To do this click on &#8216;Add Facebook Developer Application&#8217;</li>
<li>A server with php5</li>
<li>The php5 Facebook Library</li>
</ul>
<p>Once these requirements are met we can start:</p>
<p>If you want to develope a <strong>Facebook Web Application</strong> please read before this official guide on facebook.com</p>
<p><a href="http://adf.ly/115106/developers.facebook.com/docs/guides/web/" target="_blank">http://developers.facebook.com/docs/guides/web/</a></p>
<p>If you want to develope a <strong>Facebook Mobile Application</strong> please read before this official guide on facebook.com</p>
<p><a href="http://adf.ly/115106/developers.facebook.com/docs/guides/mobile/" target="_blank">http://developers.facebook.com/docs/guides/mobile/</a></p>
<p>If you want to develope a <strong>App on Facebook</strong> please read before this official guide on facebook.com</p>
<p><a href="http://adf.ly/115106/developers.facebook.com/docs/guides/canvas/" target="_blank">http://developers.facebook.com/docs/guides/canvas/</a></p>
<p><strong>How to start to monetize your Facebook Application</strong></p>
<p>The technical guide to integrate advertisements in your facebook app is here, please read it carefully:</p>
<p><a href="http://adf.ly/115106/developers.facebook.com/docs/reference/ads-api/" target="_blank">http://developers.facebook.com/docs/reference/ads-api/</a></p>
<p><strong>How to make money with links inside Facebook posts</strong></p>
<ol>
<li>Join a Pay per View Ad program, they pays your impressions via Paypal, easy and fast, links are below</li>
<li><a href="http://adf.ly/?id=115106" target="_blank">ADF.ly</a></li>
<li><a href="http://adfoc.us/?refid=25607" target="_blank">ADFOC.us</a></li>
<li>Facebook and Google+ bans this links? No Problem&#8230; read the next article..</li>
</ol>
<p><a href="http://adf.ly/5TUCN" target="_blank"><strong>Build your own URL shortner in PHP</strong></a></p>
<p>So doing this you will able to submit to <strong>Google+ and Facebook your shortened urls </strong>(because you will redirect them to the ad enhanced)..<br />
Bye!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onyrix.com/2012/02/how-to-develope-a-facebook-application-and-make-money/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

