<?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>Hontai &#187; fullscreen</title>
	<atom:link href="http://www.hontai.es/tag/fullscreen/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hontai.es</link>
	<description>Hontai? no sería mejor hentai(manga guarro)?</description>
	<lastBuildDate>Mon, 11 Jul 2011 17:32:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Fullscreen en AS2</title>
		<link>http://www.hontai.es/2009/07/fullscreen-en-as2/</link>
		<comments>http://www.hontai.es/2009/07/fullscreen-en-as2/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 22:29:13 +0000</pubDate>
		<dc:creator>n0ldor</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[fullscreen]]></category>

		<guid isPermaLink="false">http://www.hontai.es/?p=263</guid>
		<description><![CDATA[Una de las cosas que me parecen muy útiles de flash, aunque no se puede abusar de ella, es la posibilidad de poner una página en fullscreen, y la verdad es que es muy sencillo de hacer. Primero deberíamos poner el siguiente en el que le especificamos que cuando se redimensione no escale los objetos. [...]]]></description>
			<content:encoded><![CDATA[<p>Una de las cosas que me parecen muy útiles de flash, aunque no se puede abusar de ella, es la posibilidad de poner una página en fullscreen, y la verdad es que es muy sencillo de hacer.</p>
<p>Primero deberíamos poner el siguiente en el que le especificamos que cuando se redimensione no escale los objetos.</p>
<div class="igBar"><span id="lactionscript-4"><a href="#" onclick="javascript:showPlainTxt('actionscript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-4">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">Stage</span>.<span style="color: #0066CC;">scaleMode</span> = “noScale”; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Después de tener configurado el Stage, simplemente tenemos que crear un botón en el que le ponemos el siguiente código:</p>
<div class="igBar"><span id="lactionscript-5"><a href="#" onclick="javascript:showPlainTxt('actionscript-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-5">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">Stage</span>.<span style="color: #006600;">displayState</span> = <span style="color: #0066CC;">Stage</span>.<span style="color: #006600;">displayState</span> == “normal” ? “fullScreen” : “normal”;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Como se puede comprobar es muy sencillo de hacer, y para una web que tiene una galería a pantalla completa queda muy bien.</p>
<p>Una de las limitaciones que tenemos con el fullscreen es que siempre que se trate de una web tendremos que activarlo mediante un botón. Cuando hablamos de un ejecutable ya es otra cosa, ya que utilizando otro comando si podremos activarlo.</p>
<div class="igBar"><span id="lactionscript-6"><a href="#" onclick="javascript:showPlainTxt('actionscript-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-6">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0066CC;">fscommand</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"fullscreen"</span>, <span style="color: #ff0000;">"false"</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Bueno, como siempre espero que os sea de utilidad. Un saludo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hontai.es/2009/07/fullscreen-en-as2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

