|
||
|
|
#1 (permalink) |
|
Forum Novice
|
I cant figure out what i am doing wrong.
I get the exception [Index was outside the bounds of the array.] if i use frame[1]... There should be a frame[1] though... any ideas? Code:
TotalValue = Animations.GetAnimation(400, 0, RotateValue, 0, true).Length;
Frame[] frames = Animations.GetAnimation(400, 1, RotateValue, 0, true);
//this.Text = AnimateFrame.ToString() + "/" + TotalValue.ToString();
this.pictureBox1.Image = frames[0].Bitmap ;
Code:
Dim img() As Frame
img = Animations.GetAnimation(Body, 0, RotateValue, 0, True)
TotalValue = Animations.GetAnimation(Body, 0, RotateValue, 0, True).Length()
Me.PictureBox1.Image = img(Animate).Bitmap
__________________
![]() 350.org Last edited by KevinEvans; 06-09-2009 at 09:15 PM. Reason: ... |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|