Yoy are right. I was declaring 'DynamicSprite *sprite' inside a function. Now I've moved the declaration to the top of the code and it works.
Thanks a lot!!
Thanks a lot!!

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
DynamicSprite *sprite = DynamicSprite.CreateFromSaveGame(30, 50, 50);
MyButton.NormalGraphic = sprite.Graphic;
MyButton.NormalGraphic = 10; // LOAD CURSOR SPRITE
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.050 seconds with 14 queries.