Issues in Type casting

2013-10-30 Thread Seema Makkar
Hello all , I have created customize class that extends Arraycollection For eg Public class PagingArrayCollection extends Arraycollection Now I have to cast ArrayCollection to PagingArrayCollection. Suppose Var arr: ArrayCollection = new ArrayCollection(); Var lst: PagingArrayCollection= new

Re: Issues in Type casting

2013-10-30 Thread 峰郭
arr is an instance of ArrayCollection, not an instance of PagingArrayCollection On 30 October 2013 17:49, Seema Makkar seema.mak...@aricent.com wrote: Hello all , I have created customize class that extends Arraycollection For eg Public class PagingArrayCollection extends Arraycollection

RE: Issues in Type casting

2013-10-30 Thread Maurice Amsellem
You can cast a sub class to its super class, not the opposite Maurice -Message d'origine- De : Seema Makkar [mailto:seema.mak...@aricent.com] Envoyé : mercredi 30 octobre 2013 10:50 À : dev@flex.apache.org Objet : Issues in Type casting Hello all , I have created customize class