hi kiran,

hope you are are looking for something like this...

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
 layout="absolute" scroll="updateScroll()">
 <mx:Script>
        <![CDATA[
                private function updateScroll():void
                {
                        //add 'verticalScrollPosition' to the initial 'y' 
position of the
'panel'
                        p1.y=10+verticalScrollPosition
                }
        ]]>
 </mx:Script>
    <mx:Panel x="10" y="10" width="250" height="200"
borderThicknessBottom="3" paddingBottom="0" paddingLeft="0"
paddingRight="0"
paddingTop="0" layout="absolute" title="Example " id="p1"/>
    <mx:Panel x="10" y="218" width="250" height="700"
layout="absolute">
    </mx:Panel>
</mx:Application>

On Nov 16, 10:55 pm, Kiran Kumar Vasireddy <kiranv...@gmail.com>
wrote:
> Hi Edwin,
>
> Thanks for your response.( Code is below) . I want the first Panel to be
> visible always(in the code below) . I mean Its place on the screen to be
> fixed what ever the case . If you run the below code you get scroll bar for
> the application . If I hold down scroll bar and come down , the first panel
> also should move along with my moment .
>
> Thanks
> Kiran
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
>  layout="absolute">
>     <mx:Panel x="10" y="10" width="250" height="200"
> borderThicknessBottom="3" paddingBottom="0" paddingLeft="0" paddingRight="0"
> paddingTop="0" layout="absolute" title="Example " />
>     <mx:Panel x="10" y="218" width="250" height="700" layout="absolute">
>     </mx:Panel>
> </mx:Application>
>
> On Sun, Nov 15, 2009 at 6:38 PM, <edwin.vgw...@gmail.com> wrote:
> > Can you supply code?
>
> > On Sun, Nov 15, 2009 at 12:31 PM, Kiran Kumar Vasireddy <
> > kiranv...@gmail.com> wrote:
>
> >> Dear All,
>
> >> My application home page has a scroll bar and has one panel (positioned
> >> x="10" y="10" width="250" height="200" ) and if I move down the page I want
> >> the pannel to be moved  along with the page and the panel should be visible
> >> even  if I come to the end of my Application . Could an body please share
> >> the code for this or pass some idea on this?
>
> >> Thanks and Regards
> >> Kiran
>
> >>  --
> >> You received this message because you are subscribed to the Google Groups
> >> "Flex India Community" group.
> >> To post to this group, send email to flex_in...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/flex_india?hl=.
>
> > --
> > Ed Melendez
> > Print/Web/Media
>
> > 646.246.4368
> > edwin.vgw...@gmail.com
> >http://jobcircle.com/resumes/edwin_melendez.html
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Flex India Community" group.
> > To post to this group, send email to flex_in...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/flex_india?hl=.

--

You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=.


Reply via email to