<?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: Setting the viewport inset on a Spark Scroller control in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/06/19/setting-the-viewport-inset-on-a-spark-scroller-control-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/06/19/setting-the-viewport-inset-on-a-spark-scroller-control-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: Tahir Alvi</title>
		<link>http://blog.flexexamples.com/2009/06/19/setting-the-viewport-inset-on-a-spark-scroller-control-in-flex-4/comment-page-1/#comment-10321</link>
		<dc:creator>Tahir Alvi</dc:creator>
		<pubDate>Mon, 16 Jan 2012 06:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/06/19/setting-the-viewport-inset-on-a-spark-scroller-control-in-flex-4/#comment-10321</guid>
		<description>I am trying to implement the View-port scrolling in scroller but it could not work, under is my MXML code.
  
  

       
          
             
          
            
             
          
          
          &lt;!----&gt;
          &lt;!-- 
          
          
          
          
          --&gt;
          
          
             
                
                   
                
                
                
                
                
                
                
                
                
             
              
             
                
                   
                
                
                
                
             
              
             
                
                   
                
                
                
                
             
              
             
                
                   
                
                
                
                
             
              
             
                
                   
                
                
                
                
                
             
          
          
            
          
          &lt;!----&gt;
          &lt;!----&gt;
       
    
  
and here is my Action Script Code:
  
public function ScrollUp(event:MouseEvent = null):void
          {
             id_Scroller.viewport.verticalScrollPosition = id_Scroller.viewport.verticalScrollPosition + 15;
          }
          
          public function ScrollDown(event:MouseEvent = null):void
          {
             id_Scroller.viewport.verticalScrollPosition = id_Scroller.viewport.verticalScrollPosition - 15;
          }
  
  
any idea ?</description>
		<content:encoded><![CDATA[<p>I am trying to implement the View-port scrolling in scroller but it could not work, under is my MXML code.</p>
<p>          &lt;!&#8212;-&gt;<br />
          &lt;!&#8211; </p>
<p>          &#8211;&gt;</p>
<p>          &lt;!&#8212;-&gt;<br />
          &lt;!&#8212;-&gt;</p>
<p>and here is my Action Script Code:</p>
<p>public function ScrollUp(event:MouseEvent = null):void<br />
          {<br />
             id_Scroller.viewport.verticalScrollPosition = id_Scroller.viewport.verticalScrollPosition + 15;<br />
          }</p>
<p>          public function ScrollDown(event:MouseEvent = null):void<br />
          {<br />
             id_Scroller.viewport.verticalScrollPosition = id_Scroller.viewport.verticalScrollPosition &#8211; 15;<br />
          }</p>
<p>any idea ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

