<?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: Auto scrolling the contents of a VGroup container in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/</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: Daan</title>
		<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/comment-page-1/#comment-10051</link>
		<dc:creator>Daan</dc:creator>
		<pubDate>Fri, 14 Oct 2011 21:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2136#comment-10051</guid>
		<description>Why would you not provide a running example...?
Seeing, is believing.</description>
		<content:encoded><![CDATA[<p>Why would you not provide a running example&#8230;?<br />
Seeing, is believing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/comment-page-1/#comment-8807</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 06 Jan 2011 15:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2136#comment-8807</guid>
		<description>sorry for silly question, form already has a verticalScrollPosition :/</description>
		<content:encoded><![CDATA[<p>sorry for silly question, form already has a verticalScrollPosition :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/comment-page-1/#comment-8806</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 06 Jan 2011 14:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2136#comment-8806</guid>
		<description>what about custom form scrolling ?</description>
		<content:encoded><![CDATA[<p>what about custom form scrolling ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Chaudhari</title>
		<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/comment-page-1/#comment-8231</link>
		<dc:creator>Prashant Chaudhari</dc:creator>
		<pubDate>Wed, 18 Aug 2010 11:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2136#comment-8231</guid>
		<description>am working on a Pure-MVC based Flex 4 application.I didn&#039;t face the problem few day&#039;s back.But now the application is not receiving mouse wheel events at all.Application is fairly complex.
Please Help.</description>
		<content:encoded><![CDATA[<p>am working on a Pure-MVC based Flex 4 application.I didn&#8217;t face the problem few day&#8217;s back.But now the application is not receiving mouse wheel events at all.Application is fairly complex.<br />
Please Help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sankara narayanan</title>
		<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/comment-page-1/#comment-7724</link>
		<dc:creator>Sankara narayanan</dc:creator>
		<pubDate>Mon, 17 May 2010 07:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2136#comment-7724</guid>
		<description>Hi Peter,
I have another doubt.
Is ther e a method to get a object’s reference by knowing it’s name? (Like getElementById() in JS)
I am creating the objects dynamically through Action Script.
I can not use the getChildByName() , Sicne it will check the immediate children only, and not the entire.
For nesting children getChildByName() doesn’t help me!
Can you?

Sorry for spamming here.I could not find a contact mail of you in this blog. :(</description>
		<content:encoded><![CDATA[<p>Hi Peter,<br />
I have another doubt.<br />
Is ther e a method to get a object’s reference by knowing it’s name? (Like getElementById() in JS)<br />
I am creating the objects dynamically through Action Script.<br />
I can not use the getChildByName() , Sicne it will check the immediate children only, and not the entire.<br />
For nesting children getChildByName() doesn’t help me!<br />
Can you?</p>
<p>Sorry for spamming here.I could not find a contact mail of you in this blog. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Bailey</title>
		<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/comment-page-1/#comment-6517</link>
		<dc:creator>Jason Bailey</dc:creator>
		<pubDate>Thu, 03 Dec 2009 19:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2136#comment-6517</guid>
		<description>Thanks for the tips, new to flex 4 and was having an awful time figuring out the programmatic scrolling... I was missing the contentHeight value.</description>
		<content:encoded><![CDATA[<p>Thanks for the tips, new to flex 4 and was having an awful time figuring out the programmatic scrolling&#8230; I was missing the contentHeight value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sankara narayanan</title>
		<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/comment-page-1/#comment-6229</link>
		<dc:creator>Sankara narayanan</dc:creator>
		<pubDate>Wed, 04 Nov 2009 06:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2136#comment-6229</guid>
		<description>Thanks , Peter. Its working fine with callLater().

But we had a problem on setting the focus back to the first field(from which we are thrwong the alert).
Now we got it thro Close Handlers.

&lt;pre lang=&quot;mxml&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt;
    
    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.events.CloseEvent;
            import mx.controls.Alert;
            
            protected function onFocOut():void {
                // Alert.show(&quot;IS THIS ALERT MODAL ?&quot;,null,null,null,aa,null,null);
                Alert.show(&quot;IS THIS ALERT MODAL ?&quot;, &#039;WARNING&#039; ,Alert.OK,null,aa,null);
            }
            private function aa(closobj:CloseEvent) {
                if(closobj.detail == Alert.OK) {
                    //one.text = &#039;SANKAR&#039;;
                    one.setFocus();
                }
            }
        ]]&gt;
    &lt;/mx:Script&gt;
    
    &lt;mx:TextInput id=&quot;one&quot; focusOut=&quot;callLater(onFocOut);&quot;/&gt;
    &lt;mx:TextInput/&gt;
    
&lt;/mx:Application&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Thanks , Peter. Its working fine with callLater().</p>
<p>But we had a problem on setting the focus back to the first field(from which we are thrwong the alert).<br />
Now we got it thro Close Handlers.</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: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</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.controls.Alert;</span>
&nbsp;
<span style="color: #339933;">            protected function onFocOut():void {</span>
<span style="color: #339933;">                // Alert.show(&quot;IS THIS ALERT MODAL ?&quot;,null,null,null,aa,null,null);</span>
<span style="color: #339933;">                Alert.show(&quot;IS THIS ALERT MODAL ?&quot;, 'WARNING' ,Alert.OK,null,aa,null);</span>
<span style="color: #339933;">            }</span>
<span style="color: #339933;">            private function aa(closobj:CloseEvent) {</span>
<span style="color: #339933;">                if(closobj.detail == Alert.OK) {</span>
<span style="color: #339933;">                    //one.text = 'SANKAR';</span>
<span style="color: #339933;">                    one.setFocus();</span>
<span style="color: #339933;">                }</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:TextInput</span> id=<span style="color: #ff0000;">&quot;one&quot;</span> focusOut=<span style="color: #ff0000;">&quot;callLater(onFocOut);&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:TextInput</span><span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/comment-page-1/#comment-6214</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 03 Nov 2009 15:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2136#comment-6214</guid>
		<description>@Sankara narayanan,

Seems to be a timing issue between the focus manager and the popup manager. You can try using the &lt;code&gt;callLater()&lt;/code&gt; method to delay the Alert slightly:
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.Alert;

            protected function onFocOut():void {
                Alert.show(&quot;IS THIS ALERT MODAL ?&quot;);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:TextInput focusOut=&quot;callLater(onFocOut);&quot;/&gt;
    &lt;mx:TextInput/&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>@Sankara narayanan,</p>
<p>Seems to be a timing issue between the focus manager and the popup manager. You can try using the <code>callLater()</code> method to delay the Alert slightly:</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: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</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.controls.Alert;</span>
&nbsp;
<span style="color: #339933;">            protected function onFocOut():void {</span>
<span style="color: #339933;">                Alert.show(&quot;IS THIS ALERT MODAL ?&quot;);</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:TextInput</span> focusOut=<span style="color: #ff0000;">&quot;callLater(onFocOut);&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:TextInput</span><span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sankara narayanan</title>
		<link>http://blog.flexexamples.com/2009/11/02/auto-scrolling-the-contents-of-a-vgroup-container-in-flex-4/comment-page-1/#comment-6211</link>
		<dc:creator>Sankara narayanan</dc:creator>
		<pubDate>Tue, 03 Nov 2009 05:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2136#comment-6211</guid>
		<description>Hi peter,
I have one doubt.
How to make a alert truly(?!) modal?
That is user should not be able to type any thing in the field which has the current focus , while the alert is being thrown.

&lt;pre lang=&quot;mxml&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;vertical&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.Alert;
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:TextInput focusOut=&quot;Alert.show(&#039;IS THIS ALERT MODAL ?&#039;);&quot;/&gt;
    &lt;mx:TextInput/&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

In this if we are changing the focus from field1 to field2,
The alert is thrown.But the user can type things in field2.
How to do prevent this? Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi peter,<br />
I have one doubt.<br />
How to make a alert truly(?!) modal?<br />
That is user should not be able to type any thing in the field which has the current focus , while the alert is being thrown.</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: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout=<span style="color: #ff0000;">&quot;vertical&quot;</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.controls.Alert;</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:TextInput</span> focusOut=<span style="color: #ff0000;">&quot;Alert.show('IS THIS ALERT MODAL ?');&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:TextInput</span><span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>In this if we are changing the focus from field1 to field2,<br />
The alert is thrown.But the user can type things in field2.<br />
How to do prevent this? Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

