<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Displaying a video in a pop up window in Flex</title>
	<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Thu, 08 Jan 2009 17:35:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Abhilash</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-16768</link>
		<author>Abhilash</author>
		<pubDate>Tue, 18 Nov 2008 05:56:05 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-16768</guid>
		<description>I have a form designed using Flex. The form does not fit the screen area and hence I am having scroll bars in it. When we click on some of the controls in the form, we open popups. But when the popup is opened, if we scroll the form using the form scroll bar then the popup is not getting scrolled. I want the popup to be scrolled along with the form elements. Please let me know how this can be done.

Thanks

Abhilash</description>
		<content:encoded><![CDATA[<p>I have a form designed using Flex. The form does not fit the screen area and hence I am having scroll bars in it. When we click on some of the controls in the form, we open popups. But when the popup is opened, if we scroll the form using the form scroll bar then the popup is not getting scrolled. I want the popup to be scrolled along with the form elements. Please let me know how this can be done.</p>
<p>Thanks</p>
<p>Abhilash</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahul</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15816</link>
		<author>rahul</author>
		<pubDate>Wed, 24 Sep 2008 06:19:58 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15816</guid>
		<description>HI well there is a bug here......the moment you keep pressing space bar...new window will load automtaiclly......can you resolve this

hi i resolved this...use this.setFocus();inside your init function.</description>
		<content:encoded><![CDATA[<p>HI well there is a bug here&#8230;&#8230;the moment you keep pressing space bar&#8230;new window will load automtaiclly&#8230;&#8230;can you resolve this</p>
<p>hi i resolved this&#8230;use this.setFocus();inside your init function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15815</link>
		<author>peterd</author>
		<pubDate>Wed, 24 Sep 2008 06:18:31 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15815</guid>
		<description>rahul,

In PopUpVideoDisplay.mxml file, change the &lt;code&gt;init()&lt;/code&gt; method to the following:
&lt;pre class="code"&gt;
private function init():void {
    PopUpManager.centerPopUp(this);
    focusManager.setFocus(this.mx_internal::closeButton);
}
&lt;/pre&gt;

Now, when you press the space bar, the TitleWindow will close.

Peter</description>
		<content:encoded><![CDATA[<p>rahul,</p>
<p>In PopUpVideoDisplay.mxml file, change the <code>init()</code> method to the following:</p>
<pre class="code">
private function init():void {
    PopUpManager.centerPopUp(this);
    focusManager.setFocus(this.mx_internal::closeButton);
}
</pre>
<p>Now, when you press the space bar, the TitleWindow will close.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahul</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15814</link>
		<author>rahul</author>
		<pubDate>Wed, 24 Sep 2008 05:58:45 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15814</guid>
		<description>HI well there is a bug here......the moment you keep pressing space bar...new window will load automtaiclly......can you resolve this</description>
		<content:encoded><![CDATA[<p>HI well there is a bug here&#8230;&#8230;the moment you keep pressing space bar&#8230;new window will load automtaiclly&#8230;&#8230;can you resolve this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15146</link>
		<author>peterd</author>
		<pubDate>Tue, 02 Sep 2008 15:20:20 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15146</guid>
		<description>Erwan,

There is an example of building fullscreen Flex applications at &lt;a href="http://blog.flexexamples.com/2007/08/07/creating-full-screen-flex-applications/" rel="nofollow"&gt;"Creating full-screen Flex applications"&lt;/a&gt; which may get you started.

If you only want to display the VideoDisplay while in fullscreen mode, you may need to set up some states or something.

Peter</description>
		<content:encoded><![CDATA[<p>Erwan,</p>
<p>There is an example of building fullscreen Flex applications at <a href="http://blog.flexexamples.com/2007/08/07/creating-full-screen-flex-applications/" rel="nofollow">&#8220;Creating full-screen Flex applications&#8221;</a> which may get you started.</p>
<p>If you only want to display the VideoDisplay while in fullscreen mode, you may need to set up some states or something.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erwan</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15087</link>
		<author>Erwan</author>
		<pubDate>Mon, 01 Sep 2008 12:53:22 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-15087</guid>
		<description>An idea to enable fullscreen of the video in the popup ?</description>
		<content:encoded><![CDATA[<p>An idea to enable fullscreen of the video in the popup ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-14622</link>
		<author>Mark</author>
		<pubDate>Mon, 11 Aug 2008 14:57:56 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-14622</guid>
		<description>There is lots of talk about using video - but finding a post about how to *embed* video in a Flex app was a lot harder than I expected. If you can convert an .FLV to a .SWF, you can easily embed a video file just like you might embed an image. See the code below for an example. I think this warrants a post of its own...

&lt;pre class="code"&gt;
&#60;mx:SWFLoader id="myVideo" left="0" right="0" top="0" bottom="0" source="@Embed(source='misc/video.swf')" autoLoad="true" /&#62;

&#60;mx:Canvas id="canvas" height="100%" width="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off" 
    &#60;mx:Button x="-21" y="244" label="Get Data ..." click="myVideo.load()" /&#62;
&#60;mx:Canvas/&#62;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>There is lots of talk about using video - but finding a post about how to *embed* video in a Flex app was a lot harder than I expected. If you can convert an .FLV to a .SWF, you can easily embed a video file just like you might embed an image. See the code below for an example. I think this warrants a post of its own&#8230;</p>
<pre class="code">
&lt;mx:SWFLoader id="myVideo" left="0" right="0" top="0" bottom="0" source="@Embed(source='misc/video.swf')" autoLoad="true" /&gt;

&lt;mx:Canvas id="canvas" height="100%" width="100%" verticalScrollPolicy="off" horizontalScrollPolicy="off"
    &lt;mx:Button x="-21" y="244" label="Get Data ..." click="myVideo.load()" /&gt;
&lt;mx:Canvas/&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: MechanisM</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-14579</link>
		<author>MechanisM</author>
		<pubDate>Sat, 09 Aug 2008 14:35:43 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-14579</guid>
		<description>did anybody seen any good example of SWFAddress??gimme da links please?</description>
		<content:encoded><![CDATA[<p>did anybody seen any good example of SWFAddress??gimme da links please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MechanisM</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-14578</link>
		<author>MechanisM</author>
		<pubDate>Sat, 09 Aug 2008 14:34:21 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-14578</guid>
		<description>yay!! this example is very useful 4 me!! thanxxx!!</description>
		<content:encoded><![CDATA[<p>yay!! this example is very useful 4 me!! thanxxx!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blenjar</title>
		<link>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-14480</link>
		<author>Blenjar</author>
		<pubDate>Mon, 04 Aug 2008 23:08:33 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/08/04/displaying-a-video-in-a-pop-up-window-in-flex/#comment-14480</guid>
		<description>Thats sick!</description>
		<content:encoded><![CDATA[<p>Thats sick!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
