Hi, I’m getting some strange warnings in the console when I try to create a sprite using display.newSprite with a list a of non-consecutive frames like in:
{name=“Sprite2”, frames={8,10,9,7,10},time=500,loopCount=1}
WARNING: Sequence (Sprite2) has an invalid index (-24832) that falls outside the range of valid image sheet frame indices: 1 <= index <= 44.
WARNING: Sequence (Sprite2) has an invalid index (10912) that falls outside the range of valid image sheet frame indices: 1 <= index <= 44.
WARNING: Sequence (Sprite2) has an invalid index (0) that falls outside the range of valid image sheet frame indices: 1 <= index <= 44.
WARNING: Sequence (Sprite2) has an invalid index (14275) that falls outside the range of valid image sheet frame indices: 1 <= index <= 44.
but not when I use the start and count method for consecutive frames
{name=“Sprite2”, start=6,count=12,time=500,loopCount=1},
The sprites work just right, is only the warnings in the console.
Thanks,
Jorge [import]uid: 124074 topic_id: 25500 reply_id: 325500[/import]