View Single Post
  #9  
Unread 06-27-2006, 01:05 PM
Loktha's Avatar
Loktha Loktha is offline
Premium Member
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Aug 2005
Server: Crushbone
Posts: 87
Default

Ok, here's what I think your problem is.

First, your using an imageframe to try and define a button. That's not gonna work. This is what's causing the issue. In the screenshot where you're showing the Source and SourceRect, look at the top of the image. It says Object Properties: (ImageFrame)

This kind of object does require you to define the source and sourcerect, or define the rstyledefault. But your not trying to add a frame, your trying to add a button.

So scrap that entirely. On the insert menu, select object, then select button. Go ahead and fill in all your information. You'll notice the button object doesn't offer you the option of supplying the source and sourcerect. That's because there not needed. You've already given that information when you defined the button in the buttonstyles.xml. So all you have to do is define the style.

Style /ButtonStyles.basicButton

That's it. This should fix your problem.
Reply With Quote