<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Creating custom pop-up windows with the PopUpManager class (redux)</title>
	<atom:link href="http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thamarai</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-9490</link>
		<dc:creator>Thamarai</dc:creator>
		<pubDate>Wed, 10 Aug 2011 11:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-9490</guid>
		<description>Hi,

s thr any way to create a pop up window in action scrtip file, without calling the mxml file in createpopup()</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>s thr any way to create a pop up window in action scrtip file, without calling the mxml file in createpopup()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sabir khan</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-9403</link>
		<dc:creator>sabir khan</dc:creator>
		<pubDate>Mon, 18 Jul 2011 12:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-9403</guid>
		<description>i want to know is there any way to open popupwindow except popupmanager.createpopup(this,child,false)
becouse i want to set child dynamically but in this case i am facing problem please help me ASAP</description>
		<content:encoded><![CDATA[<p>i want to know is there any way to open popupwindow except popupmanager.createpopup(this,child,false)<br />
becouse i want to set child dynamically but in this case i am facing problem please help me ASAP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-9084</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Fri, 25 Mar 2011 11:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-9084</guid>
		<description>Hi,

Indeed you were right peterd, I followed your idea and rebuilt this function (in my popup class for Flex 4 :

&lt;em&gt;
public function resizePercentage(widthPercentage:Number, heightPercentage:Number):void {
				var appWidth:Number = FlexGlobals.topLevelApplication.width;
				var appHeight:Number = FlexGlobals.topLevelApplication.height;
				
				this.width = Number(appWidth*(widthPercentage/100));
				this.height = Number(appHeight*(heightPercentage/100));
				
				this.maxWidth = this.width;
				this.maxHeight = this.height;
			}
&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Indeed you were right peterd, I followed your idea and rebuilt this function (in my popup class for Flex 4 :</p>
<p><em><br />
public function resizePercentage(widthPercentage:Number, heightPercentage:Number):void {<br />
				var appWidth:Number = FlexGlobals.topLevelApplication.width;<br />
				var appHeight:Number = FlexGlobals.topLevelApplication.height;</p>
<p>				this.width = Number(appWidth*(widthPercentage/100));<br />
				this.height = Number(appHeight*(heightPercentage/100));</p>
<p>				this.maxWidth = this.width;<br />
				this.maxHeight = this.height;<br />
			}<br />
</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kolade</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-8859</link>
		<dc:creator>Kolade</dc:creator>
		<pubDate>Thu, 20 Jan 2011 13:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-8859</guid>
		<description>I had d same problem the solution is u av to av to import the managers.Popupmanager class into ur script block using the import statement.</description>
		<content:encoded><![CDATA[<p>I had d same problem the solution is u av to av to import the managers.Popupmanager class into ur script block using the import statement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miroku</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-8603</link>
		<dc:creator>Miroku</dc:creator>
		<pubDate>Sun, 05 Dec 2010 15:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-8603</guid>
		<description>Hi Peter,
I&#039;ve got a problem:
when I try and create a popup in the way you describe I get this error

&lt;pre&gt;ArgumentError: Undefined state &#039;inactive&#039;.
	at mx.core::UIComponent/getState()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:10168]
	at mx.core::UIComponent/findCommonBaseState()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:10188]
	at mx.core::UIComponent/commitCurrentState()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:10010]
	at mx.core::UIComponent/commitProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8018]
	at spark.components.supportClasses::GroupBase/commitProperties()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\supportClasses\GroupBase.as:1058]
	at spark.components::Group/commitProperties()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\Group.as:743]
	at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:7933]
	at mx.managers::LayoutManager/validateClient()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:863]
	at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:384]
	at mx.managers::PopUpManagerImpl/createPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:237]
	at mx.managers::PopUpManager$/createPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManager.as:139]
	at BoardComponent/Main()[C:\Users\Mirò\Adobe Flash Builder 4\MetropoliAway\src\BoardComponent.mxml:143]
	at BoardComponent/___BoardComponent_Group1_creationComplete()[C:\Users\Mirò\Adobe Flash Builder 4\MetropoliAway\src\BoardComponent.mxml:8]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528]
	at mx.core::UIComponent/set initialized()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1627]
	at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:759]
	at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072]&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Hi Peter,<br />
I&#8217;ve got a problem:<br />
when I try and create a popup in the way you describe I get this error</p>
<pre>ArgumentError: Undefined state 'inactive'.
	at mx.core::UIComponent/getState()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:10168]
	at mx.core::UIComponent/findCommonBaseState()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:10188]
	at mx.core::UIComponent/commitCurrentState()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:10010]
	at mx.core::UIComponent/commitProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8018]
	at spark.components.supportClasses::GroupBase/commitProperties()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\supportClasses\GroupBase.as:1058]
	at spark.components::Group/commitProperties()[E:\dev\4.x\frameworks\projects\spark\src\spark\components\Group.as:743]
	at mx.core::UIComponent/validateProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:7933]
	at mx.managers::LayoutManager/validateClient()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:863]
	at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:384]
	at mx.managers::PopUpManagerImpl/createPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:237]
	at mx.managers::PopUpManager$/createPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManager.as:139]
	at BoardComponent/Main()[C:\Users\Mirò\Adobe Flash Builder 4\MetropoliAway\src\BoardComponent.mxml:143]
	at BoardComponent/___BoardComponent_Group1_creationComplete()[C:\Users\Mirò\Adobe Flash Builder 4\MetropoliAway\src\BoardComponent.mxml:8]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:12528]
	at mx.core::UIComponent/set initialized()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1627]
	at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:759]
	at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072]</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anderson</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-8264</link>
		<dc:creator>Anderson</dc:creator>
		<pubDate>Thu, 26 Aug 2010 17:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-8264</guid>
		<description>Hi Peter,
Your tutorial more  helped for me
But one thing, already some people asked this question..
&quot;Can you please help me. I want to pass data from my parent window in the Dialog window. How can I do so?&quot;...


Thanks,
Anderson.</description>
		<content:encoded><![CDATA[<p>Hi Peter,<br />
Your tutorial more  helped for me<br />
But one thing, already some people asked this question..<br />
&#8220;Can you please help me. I want to pass data from my parent window in the Dialog window. How can I do so?&#8221;&#8230;</p>
<p>Thanks,<br />
Anderson.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: newguy</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-6789</link>
		<dc:creator>newguy</dc:creator>
		<pubDate>Sun, 17 Jan 2010 18:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-6789</guid>
		<description>Instead of loading info.text (html tags) i want to add an mxml file(with mxml components inside).  To load the text u used the  TextArea 
            htmlText=&quot;{info}&quot; property but what kind of component can i use to insert mxml components that are in an external mxml file. Please help me.</description>
		<content:encoded><![CDATA[<p>Instead of loading info.text (html tags) i want to add an mxml file(with mxml components inside).  To load the text u used the  TextArea<br />
            htmlText=&#8221;{info}&#8221; property but what kind of component can i use to insert mxml components that are in an external mxml file. Please help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Umesh</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-6622</link>
		<dc:creator>Umesh</dc:creator>
		<pubDate>Thu, 17 Dec 2009 06:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-6622</guid>
		<description>Hi Peter,

I really got stuck with one problem. I am creating a desktop applicaiton using air. In that applicaiton left side contains a list and right side contains a HTML component. Double clicking on a list item will load the currosponding html id that in right side.

Click on List item opens a popup which will be on top of the HTML component.  The problem is in Windows (I tried XP) this popup goes beind the HTML/SWF . I tried adding modal = true while adding popup which brought  made popup visible on top of HTML component but the SWF in HTML became disappear..

I want to make this popup NOT as Modal  so that background is enabled, but want to show on top of HTML component when swf is there.

How can solve this issue?</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>I really got stuck with one problem. I am creating a desktop applicaiton using air. In that applicaiton left side contains a list and right side contains a HTML component. Double clicking on a list item will load the currosponding html id that in right side.</p>
<p>Click on List item opens a popup which will be on top of the HTML component.  The problem is in Windows (I tried XP) this popup goes beind the HTML/SWF . I tried adding modal = true while adding popup which brought  made popup visible on top of HTML component but the SWF in HTML became disappear..</p>
<p>I want to make this popup NOT as Modal  so that background is enabled, but want to show on top of HTML component when swf is there.</p>
<p>How can solve this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jord</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-6436</link>
		<dc:creator>Jord</dc:creator>
		<pubDate>Tue, 24 Nov 2009 00:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-6436</guid>
		<description>Thanks Peter,
I&#039;ve actually figured it out!

I&#039;ve replaced the codes in Dialog.mxml to:
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;?xml version=”1.0″ encoding=”utf-8″?&gt;

&lt;mx:TitleWindow xmlns:mx=”http://www.adobe.com/2006/mxml”
        title=”Some title”
        showCloseButton=”true”
        width=”400″
        height=”300″
        close=”titleWindow_close(event);”&gt;

&lt;mx:Script&gt;
        &lt;![CDATA[
                import mx.events.CloseEvent;
                import mx.managers.PopUpManager;

                private function titleWindow_close(evt:CloseEvent):void {
                        PopUpManager.removePopUp(this);
                }
        ]]&gt;
&lt;/mx:Script&gt;

&lt;mx:HTTPService id=&quot;srv&quot; url=&quot;http://localhost/someplace&quot; method=&quot;POST&quot; result=&quot;mx.controls.Alert.show(srv.lastResult.toString());&quot;&gt;
&lt;mx:request&gt;
        &lt;field1&gt;{field1.text}&lt;/field1&gt;
        &lt;field2&gt;{field2.text}&lt;/field2&gt;
&lt;/mx:request&gt;
&lt;/mx:HTTPService&gt;

&lt;mx:Form width=&quot;100%&quot; height=&quot;100%&quot;&gt;
        &lt;mx:FormItem label=&quot;field1&quot;&gt;
                &lt;mx:TextInput id=&quot;field1&quot;/&gt;
        &lt;/mx:FormItem&gt;

        &lt;mx:FormItem label=&quot;field2&quot;&gt;
                &lt;mx:TextInput id=&quot;field2&quot;/&gt;
        &lt;/mx:FormItem&gt;

        &lt;mx:FormItem&gt;
                &lt;mx:Button label=&quot;Submit&quot; click=&quot;srv.send();&quot;/&gt;
        &lt;/mx:FormItem&gt;
&lt;/mx:Form&gt;

&lt;/mx:TitleWindow&gt;
&lt;/pre&gt;

Can you please look though for me if i applied these concepts wrongly?</description>
		<content:encoded><![CDATA[<p>Thanks Peter,<br />
I&#8217;ve actually figured it out!</p>
<p>I&#8217;ve replaced the codes in Dialog.mxml to:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=”<span style="color: #cc66cc;">1.0</span>″ encoding=”utf-<span style="color: #cc66cc;">8</span>″?<span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:TitleWindow</span> xmlns:mx=”http://www.adobe.com/<span style="color: #cc66cc;">2006</span>/mxml”</span>
<span style="color: #000000;">        title=”Some title”</span>
<span style="color: #000000;">        showCloseButton=”true”</span>
<span style="color: #000000;">        width=”<span style="color: #cc66cc;">400</span>″</span>
<span style="color: #000000;">        height=”<span style="color: #cc66cc;">300</span>″</span>
<span style="color: #000000;">        close=”titleWindow_close<span style="color: #66cc66;">&#40;</span>event<span style="color: #66cc66;">&#41;</span>;”<span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #339933;">&lt;mx:Script&gt;</span>
<span style="color: #339933;">        &lt;![CDATA[</span>
<span style="color: #339933;">                import mx.events.CloseEvent;</span>
<span style="color: #339933;">                import mx.managers.PopUpManager;</span>
&nbsp;
<span style="color: #339933;">                private function titleWindow_close(evt:CloseEvent):void {</span>
<span style="color: #339933;">                        PopUpManager.removePopUp(this);</span>
<span style="color: #339933;">                }</span>
<span style="color: #339933;">        ]]&gt;</span>
<span style="color: #339933;">&lt;/mx:Script&gt;</span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:HTTPService</span> id=<span style="color: #ff0000;">&quot;srv&quot;</span> url=<span style="color: #ff0000;">&quot;http://localhost/someplace&quot;</span> method=<span style="color: #ff0000;">&quot;POST&quot;</span> result=<span style="color: #ff0000;">&quot;mx.controls.Alert.show(srv.lastResult.toString());&quot;</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:request</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;">&lt;field1<span style="color: #7400FF;">&gt;</span></span>{field1.text}<span style="color: #000000;">&lt;/field1<span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;">&lt;field2<span style="color: #7400FF;">&gt;</span></span>{field2.text}<span style="color: #000000;">&lt;/field2<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:request</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:HTTPService</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Form</span> width=<span style="color: #ff0000;">&quot;100%&quot;</span> height=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:FormItem</span> label=<span style="color: #ff0000;">&quot;field1&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:TextInput</span> id=<span style="color: #ff0000;">&quot;field1&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:FormItem</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:FormItem</span> label=<span style="color: #ff0000;">&quot;field2&quot;</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:TextInput</span> id=<span style="color: #ff0000;">&quot;field2&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:FormItem</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:FormItem</span><span style="color: #7400FF;">&gt;</span></span>
                <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Button</span> label=<span style="color: #ff0000;">&quot;Submit&quot;</span> click=<span style="color: #ff0000;">&quot;srv.send();&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:FormItem</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Form</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:TitleWindow</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>Can you please look though for me if i applied these concepts wrongly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/comment-page-1/#comment-6435</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Mon, 23 Nov 2009 23:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/03/20/creating-custom-pop-up-windows-with-the-popupmanager-class-redux/#comment-6435</guid>
		<description>@Jord,

The best way to display a Form in Flex is to probably use the &lt;mx:Form/&gt; and &lt;mx:FormItem/&gt; tags (should be lots of examples on this site as well). Then create a Submit  type button which validates the form. If the data is valid then send the form values to the server using HTTPService and then close the dialog. If the data is not valid, then display an error dialog using the Alert component and don&#039;t close the popup.

Peter</description>
		<content:encoded><![CDATA[<p>@Jord,</p>
<p>The best way to display a Form in Flex is to probably use the &lt;mx:Form/&gt; and &lt;mx:FormItem/&gt; tags (should be lots of examples on this site as well). Then create a Submit  type button which validates the form. If the data is valid then send the form values to the server using HTTPService and then close the dialog. If the data is not valid, then display an error dialog using the Alert component and don&#8217;t close the popup.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
</channel>
</rss>

