God bless you for taking the time to look into my trouble!
here's a sample of the code I was working on:
Incbin "blue_pearl_blink.png"
Graphics 800,600,24
SetMaskColor 0,255,0
Global bead:TImage
bead = LoadAnimImage("incbin::blue_pearl_blink.png",176,43,0,3,MASKEDIMAGE)
SeedRnd(MilliSecs())
Local timer = MilliSecs(),Longenough = Rnd(500,4000),fmax=3,frame=0,pauselength = 900
While Not KeyHit(KEY_ESCAPE)
If LongEnough <> -1 And MilliSecs() >=timer+Longenough Longenough = -1;timer = MilliSecs()
If LongEnough = -1
If MilliSecs() >= timer+pauselength
frame:+1;If frame=fmax frame=0;timer=MilliSecs();Longenough=Rnd(500,4000)
EndIf
EndIf
Cls
DrawImage bead,MouseX(),MouseY(),frame
Flip
Wend
End
The picture runs fine put through "LoadImage", but In LoadAnimImage, I get an "attempt to access null object" error. I look at the debug info and sure enough, this image keeps on failing to load:

What do I do? If I'm leaving out any important details, do please let me know!
~MissLee
here's a sample of the code I was working on:
Incbin "blue_pearl_blink.png"
Graphics 800,600,24
SetMaskColor 0,255,0
Global bead:TImage
bead = LoadAnimImage("incbin::blue_pearl_blink.png",176,43,0,3,MASKEDIMAGE)
SeedRnd(MilliSecs())
Local timer = MilliSecs(),Longenough = Rnd(500,4000),fmax=3,frame=0,pauselength = 900
While Not KeyHit(KEY_ESCAPE)
If LongEnough <> -1 And MilliSecs() >=timer+Longenough Longenough = -1;timer = MilliSecs()
If LongEnough = -1
If MilliSecs() >= timer+pauselength
frame:+1;If frame=fmax frame=0;timer=MilliSecs();Longenough=Rnd(500,4000)
EndIf
EndIf
Cls
DrawImage bead,MouseX(),MouseY(),frame
Flip
Wend
End
The picture runs fine put through "LoadImage", but In LoadAnimImage, I get an "attempt to access null object" error. I look at the debug info and sure enough, this image keeps on failing to load:

What do I do? If I'm leaving out any important details, do please let me know!
~MissLee