thankx for all

i done the way take all containers and grid be empty when index change...

this is for venkatesh...
what is the use of obj.reload(),why bcz for me its not working i already
tried this thing
for me it was give me run time error reload() not found like that...so how i
can remove that error

please let me know the solution this is very useful for instead put empty
the all containers...........

Regards,
Pradeep


On Thu, Feb 11, 2010 at 10:22 AM, venkatesh keetha <
[email protected]> wrote:

> Try this it may solve your problem
>
>
> <mx:ViewStack id="apExistingPositions" borderStyle="none" width="100%"
> height="100%" change="stackRefresh(event)">
>
> <mx:Script>
>         <![CDATA[
> import mx.events.IndexChangedEvent;
> private function stackRefresh(event:IndexChangedEvent):void{
>                 var obj:Object =
> apExistingPositions.getChildAt(event.newIndex);
>                 obj.reload();
>               }
>
> ]]>
>     </mx:Script>
>
> --
> Venky
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

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

Reply via email to