[Bindable] private var arr_activities:Array;
var test: _Aktivitaet;
arr_activities = event.result as Array;
test = arr_activities.pop() as _Aktivitaet;
Why does test always stay null???
_Aktivitaet is a custom class:
package at.moschitz.topfive
{
[RemoteClass(alias="Aktivitaet")]
[Bindable]
public dynamic class _Aktivitaet extends MyEntity
{
public var AktID:int;
public var AktName:String;
public var AktMindAlter:int;
public var AktMaxAlter:int;
public var AktKategorie:_AktKategorie;
public var AktIsActive:Number;
}
}
Thx Martin