This code snippet:
parentLayout.addMembers(showMembers[i]);
showMembers[i].animateShow('slide');
gives me this error (sometimes, but not always!):
14:35:55.640:TMR3:WARN:Animation:Attempt to fire registered animation:{ID: “_0”,
target: [Label ID:labelPeriodo],
callback: Canvas.fireAnimationShow(),
duration: 300,
elapsed: 782,
totalFrames: 8,
currentFrame: 8,
maxDuration: 900,
acceleration: Animation.smoothEnd()}
Caused an error:‘this.registry[…].ID’ è nullo o non è un oggetto
(the last italian sentence means “is null or not an object”).
where parentLayout is [VLayout ID:labelsSelezioni]
showMembers[i] is [Label ID:labelPeriodo]
and
isc.Label.create({
ID: "labelPeriodo",
visibility: "hidden",
....
});
isc.VLayout.create({
ID: "labelsSelezioni",
...
animateMembers: true,
animateMemberTime: 250,
members: [labelRuolo]
});
any hints?
TIA