Can I extends a sub class of Proxy class?
Posted
by KCBérenger
on Stack Overflow
See other posts from Stack Overflow
or by KCBérenger
Published on 2010-06-08T15:08:10Z
Indexed on
2010/06/08
15:52 UTC
Read the original article
Hit count: 190
I want to create a complete (and real) 2-dimensional array.
In order to use a maximum of Adobe code, I want to use ListCollectionView which can manage sort and filters. But to use a second dimension, I need to override getProperty method, like following code.
package { import flash.utils.flash_proxy; import mx.collections.ListCollectionView;
public class SubClass extends ListCollectionView /* extends Proxy */
{
override flash_proxy function getProperty(name : *) : *
{
...
}
override flash_proxy function setProperty(name : *, value : *) : void
{
...
}
}
}
This code doesn't work. Flash Builder 4 said to me:
1004 Namespace was not found or is not a compile-time constant.
If anyone has a solution or a clue...
© Stack Overflow or respective owner