Forums » HTML5 Framework » Button is pressed the image does not change »
| sword Garu | Button is pressed the image does not change | ||
|---|---|---|---|
|
Added by sword Garu 12 months ago
var newGameNormal = cc.Sprite.spriteWithFile("Resources/f1.png"); var newGame = cc.MenuItemSprite.itemFromNormalSprite(newGameNormal, newGameSelected, newGameDisabled, this, function(){ What's the problem? |
||
| Shun Lin | RE: Button is pressed the image does not change | ||
|
What you are showing is correct, it should work. Could you please post the code here? Maybe you can test your code in HelloWorld, and show us more details. |
(1-1/1)