Hello!
I have to tell you that this blog has been moved to http://www.webdesignporto.com/. There is more JavaScript content.
Hello!
I have to tell you that this blog has been moved to http://www.webdesignporto.com/. There is more JavaScript content.
Totty got tired because:
.lightSkin .backButton { background-image: url('img/UI_lightSkin') 0px 10px no repeat; }
// you only have to change here, where you define mapSprite("UI", "lightSkin", { // library name, skin name, maps backButton: [0, 10, 10, 10], // x, y, width, height forwardButton: [10, 10, 10, 10] }); // the code where you actually use you don't have to change and worry about // if you change the skin you don't really have to change anything here // everything is managed internally. In this case we use the default skin. // the real image is: "UI_lightSkin" var backButton = new Image('UI.backButton'); template.addChild(backbutton);
Totty got tired because:
Totty got tired because:
Totty got tired because:
Totty got tired because:
Totty got tired because:
Then he think and solved:
Totty got tired because: