Author Topic: Error on bitmap skin  (Read 10607 times)

joebanana

  • Guest
I am trying to make a bitmap skin and so far so good, almost done.

The only problem I have is whenever I hover the play button, MB generates the following error message:

Quote
MusicBee v2.1.4734.13890 (Win6.2), 21 Dec 2012 19:59:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at #=qrFvdHkd$OybiK2v2HRQ2CAkiBrwfvXVbblB3guUEZsM=.#=q5NkjF6aXFNSL3fGXR7BbMKKxF_goXtzc2iqcoJA2XJg=(Int32 #=qCK5wJdA$qA$PQoY7CR8ETg==, #=qUKatLCBFAO_qW1seKK55VRU71zS53Hd3Ff2okTbKIDnW5uXx9HSQpyC0WY$B$RIF #=qeg97T1NqKbL5c5t0w1rFqQ==, #=q5d7x$BIWqWF7y11y0AC$c7eeMY6UlnK9K8VvDdVNw9Fk5pP52TW3_cQh6LQdqxFv #=q_212lkShIWSmczqNtTKWFg==)
   at #=qrFvdHkd$OybiK2v2HRQ2CAkiBrwfvXVbblB3guUEZsM=.OnMouseMove(MouseEventArgs #=qKGipUMuCreGeoQ0qIT99FQ==)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The "previous" button correctly shows its highlighted version, the play button generates this message, and the next button does not display its highlighed version.

All works fine within the skin creator.

Any idea?

Bee-liever

  • Member
  • Hero Member
  • *****
  • Posts: 3871
  • MB Version: 3.6.9255 P
That's usually an error in the stretching of the image.

All works fine within the skin creator.

Have you hit "Stretch" when in skin creator to see if it crashes?

If you want to, PM me a link with your images and skins files and I will have a look.
MusicBee and my library - Making bee-utiful music together

joebanana

  • Guest
Yes I hit stretch and it works fine.

Is there a more recent version of the creator or is the one in the first post still current?

I'll do some more tests and if really I'm stuck I'll send you the files. Thanks for offering!

Bee-liever

  • Member
  • Hero Member
  • *****
  • Posts: 3871
  • MB Version: 3.6.9255 P
The most recent one that I know of has a 2012-05-22 modified date

And don't forget the on/offs after stretching - spectrum, rating and love. Sometimes they test fine before but crash after.
Last Edit: December 22, 2012, 02:59:36 AM by Bee-liever
MusicBee and my library - Making bee-utiful music together

joebanana

  • Guest
Here's the link to my files.
https://dl.dropbox.com/u/9754062/SkinCreator.zip

For info I'm using the latest patched beta version of MB.

Thanks for the help!

Bee-liever

  • Member
  • Hero Member
  • *****
  • Posts: 3871
  • MB Version: 3.6.9255 P
It's the "pause" images

  <!-- if drawPlayButton="false" then you need to provide an image for Pause
  <images category="Pause" drawPlayButton="false"
    default="Images\ButtonPause.png"
    highlight="Images\ButtonPauseHighlight.png"
  /> -->

you need to un-comment the selection so it can be parsed

  <!-- if drawPlayButton="false" then you need to provide an image for Pause -->
  <images category="Pause" drawPlayButton="false"
    default="Images\ButtonPause.png"
    highlight="Images\ButtonPauseHighlight.png"
  />
MusicBee and my library - Making bee-utiful music together