raduCocieru
05-28-2004, 05:18 AM
Hi !
I am trying to extend the DataProvider class so it could work like a Tree but keep the data in an Array.
I've tried to use this:
mx.controls.listclasses.DataProvider
class myDataProvider extends DataProvider{
function myDataProvider(){
}
function fold(id:Number){}
}
I will also override a few baseclass methodes, but for now the above code gives me this:
**Error** E:\xxx\xxxx\myDataProvider.as: Line 3: ActionScript 2.0 class scripts may only define class or interface constructs. :(
Any suggestions ?:confused:
Thanks.
I am trying to extend the DataProvider class so it could work like a Tree but keep the data in an Array.
I've tried to use this:
mx.controls.listclasses.DataProvider
class myDataProvider extends DataProvider{
function myDataProvider(){
}
function fold(id:Number){}
}
I will also override a few baseclass methodes, but for now the above code gives me this:
**Error** E:\xxx\xxxx\myDataProvider.as: Line 3: ActionScript 2.0 class scripts may only define class or interface constructs. :(
Any suggestions ?:confused:
Thanks.