<?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>NewSourceMedia Blog &#187; window</title>
	<atom:link href="http://newsourcemedia.com/blog/tag/window/feed/" rel="self" type="application/rss+xml" />
	<link>http://newsourcemedia.com/blog</link>
	<description>Focused on Interactive Design, Development and Marketing</description>
	<lastBuildDate>Mon, 07 May 2012 01:26:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flash AS3 using FLVPlayback and Full Screen Mode</title>
		<link>http://newsourcemedia.com/blog/flash-as3-using-flvplayback-and-full-screen-mode/</link>
		<comments>http://newsourcemedia.com/blog/flash-as3-using-flvplayback-and-full-screen-mode/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 00:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fullscreen Window]]></category>
		<category><![CDATA[flash as3]]></category>
		<category><![CDATA[flash cs3]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[flvplayback]]></category>
		<category><![CDATA[fullscreen]]></category>
		<category><![CDATA[FULL_SCREEN]]></category>
		<category><![CDATA[scale]]></category>
		<category><![CDATA[skin]]></category>
		<category><![CDATA[stage]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/2008/02/23/flash-as3-using-flvplayback-and-full-screen-mode/</guid>
		<description><![CDATA[How to use the flash Full Screen Mode and video FLVPlayback Component for scaling your stage and movieclips. Today I have come to learn that you can create your own full screen button like the built-in button function from the &#8230; <a href="http://newsourcemedia.com/blog/flash-as3-using-flvplayback-and-full-screen-mode/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[How to use the flash Full Screen Mode and video FLVPlayback Component for scaling your stage and movieclips.
<span id="more-155"></span>

Today I have come to learn that you can create your own full screen button like the built-in button function from the FLV player skin in Flash CS3.

Here is the code:
<p class="code">// things you may import in the future to customize this code
import flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.display.StageDisplayState;

<p class="code">myButton.addEventListener(MouseEvent.MOUSE_UP,function(evt:MouseEvent):void
{
stage.displayState = StageDisplayState.FULL_SCREEN
//or set it to normal like: stage.displayState = StageDisplayState.NORMAL;
}
);
<h3>Problem: Video is taking over the screen. Where did my text, graphics and buttons go?</h3>
When displaying  video in your flash file by using <strong>FLVPlayback</strong> and you enter Full Screen Mode, the video will take over the screen. To prevent this from happening, you will have to add the code below:
<em>
NOTE: When the stage enters full-screen mode, the FLVPlayback component is on top of all content and takes over the entire screen. When the stage exits full-screen mode, the screen returns to how it was before.</em>
<p class="code">// say your FLVPlayback component is named "myPlayer":
myPlayer.fullScreenTakeOver = false;

This can also be used to fix the playback in  flash Projector files as well.
<h3>Edit your html file in three places to allow full screen mode</h3>
One more thing to note is that you will have to edit your html page to allow for Full Screen Mode viewing. Publish your flash with the html option and open your html page. and look for <strong>"allowFullScreen"</strong> in three places:

1) Javascript AC_FL_RunContent code

2) Flash Object tag

3) Flash Embed tag

and set them all to "true".]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/flash-as3-using-flvplayback-and-full-screen-mode/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Popup Chromeless Window</title>
		<link>http://newsourcemedia.com/blog/popup-chromeless-window/</link>
		<comments>http://newsourcemedia.com/blog/popup-chromeless-window/#comments</comments>
		<pubDate>Wed, 26 May 2004 00:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Browser Window]]></category>
		<category><![CDATA[Javascripts]]></category>
		<category><![CDATA[chromeless]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[popup]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/2004/05/25/popup-chromeless-window/</guid>
		<description><![CDATA[An easy to use Javascript Popup Chromeless Window. Introduction: Here's a simple but flexible javascript popup function. This effect is known as a chromeless window. This usually means that the window is resized and the browser features (nav buttons, address &#8230; <a href="http://newsourcemedia.com/blog/popup-chromeless-window/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[An easy to use Javascript Popup Chromeless Window.
<span id="more-211"></span>
<span class="contitle">Introduction:</span>

<span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Here's a simple                        but flexible javascript popup function. This effect is known                        as a chromeless window. This usually means that the window                        is resized and the browser features (nav buttons, address                        field, scrollbars, resize handle, and favorites) are hidden                        or altered.</span>

<span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"> </span>
<p class="contitle"><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">Javascript Source Code:</span></p>

<span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"> </span>

<span class="sourceCODE"><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">&lt;script language="javascript"&gt;
&lt;!--
var openwin;
function popupwin(url,myname,w,h,s)
{
settings='height=' h ',width=' w ',scrollbars=' s ',toolbar=no,location=no,status=no,menubar=no, resizable=no,dependent=no'
openwin=window.open(url,myname,settings);
}// --&gt;
&lt;/script&gt;</span></span>

<span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"> </span>

<span class="contitle"><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">HTML Source Code:</span></span><span class="sourceCODE"></span>

<span class="sourceHTML"><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;">&lt;p&gt;
Click here to
&lt;a href="#" onClick="popupwin('/index.php','Loading','400','400','yes');"&gt;
Open Popup Window&lt;/a&gt; the pop up.
&lt;/p&gt; </span></span><span style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: x-small;"> </span>
<p class="contitle">Adding it to your site:</p>

First create a variable called "<span class="sourceCODE">openwin</span>".                        Next create a function called "<span class="sourceCODE">popupwin()</span>".                        This does all the work. To configure the code for your site,                        just change the values inside the javascript "<span class="sourceCODE">settings</span>"                        line and the html link "<span class="sourceHTML">onClick</span>"                        values. And that's it.

<a href="../../Tutorials/JS-Popup%20Window.html" target="_blank">Click                        here for a working sample</a>.]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/popup-chromeless-window/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
