diff --git a/examples/example 12 - Spine/index.html b/examples/example 12 - Spine/index.html index 58faaec..5abc5ef 100644 --- a/examples/example 12 - Spine/index.html +++ b/examples/example 12 - Spine/index.html @@ -78,7 +78,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 12 - Spine/index.html b/examples/example 12 - Spine/index.html index 58faaec..5abc5ef 100644 --- a/examples/example 12 - Spine/index.html +++ b/examples/example 12 - Spine/index.html @@ -78,7 +78,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 12 - Spine/index_dragon.html b/examples/example 12 - Spine/index_dragon.html index 2d2e747..51b090c 100644 --- a/examples/example 12 - Spine/index_dragon.html +++ b/examples/example 12 - Spine/index_dragon.html @@ -68,7 +68,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 12 - Spine/index.html b/examples/example 12 - Spine/index.html index 58faaec..5abc5ef 100644 --- a/examples/example 12 - Spine/index.html +++ b/examples/example 12 - Spine/index.html @@ -78,7 +78,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 12 - Spine/index_dragon.html b/examples/example 12 - Spine/index_dragon.html index 2d2e747..51b090c 100644 --- a/examples/example 12 - Spine/index_dragon.html +++ b/examples/example 12 - Spine/index_dragon.html @@ -68,7 +68,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 13 - Graphics/index.html b/examples/example 13 - Graphics/index.html index d15a7f5..4615d31 100644 --- a/examples/example 13 - Graphics/index.html +++ b/examples/example 13 - Graphics/index.html @@ -19,7 +19,7 @@ // create an new instance of a pixi stage var stage = new PIXI.Stage(0xFFFFFF, true); - stage.setInteractive(true); + stage.interactive = true; var renderer = PIXI.autoDetectRenderer(620, 380); diff --git a/examples/example 12 - Spine/index.html b/examples/example 12 - Spine/index.html index 58faaec..5abc5ef 100644 --- a/examples/example 12 - Spine/index.html +++ b/examples/example 12 - Spine/index.html @@ -78,7 +78,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 12 - Spine/index_dragon.html b/examples/example 12 - Spine/index_dragon.html index 2d2e747..51b090c 100644 --- a/examples/example 12 - Spine/index_dragon.html +++ b/examples/example 12 - Spine/index_dragon.html @@ -68,7 +68,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 13 - Graphics/index.html b/examples/example 13 - Graphics/index.html index d15a7f5..4615d31 100644 --- a/examples/example 13 - Graphics/index.html +++ b/examples/example 13 - Graphics/index.html @@ -19,7 +19,7 @@ // create an new instance of a pixi stage var stage = new PIXI.Stage(0xFFFFFF, true); - stage.setInteractive(true); + stage.interactive = true; var renderer = PIXI.autoDetectRenderer(620, 380); diff --git a/examples/example 13 - Graphics/indexLineTest.html b/examples/example 13 - Graphics/indexLineTest.html index f59c2ed..2856845 100644 --- a/examples/example 13 - Graphics/indexLineTest.html +++ b/examples/example 13 - Graphics/indexLineTest.html @@ -20,7 +20,7 @@ // create an new instance of a pixi stage var stage = new PIXI.Stage(0xFFFFFF, true); - stage.setInteractive(true); + stage.interactive = true; var sprite= PIXI.Sprite.fromImage("spinObj_02.png"); //stage.addChild(sprite); diff --git a/examples/example 12 - Spine/index.html b/examples/example 12 - Spine/index.html index 58faaec..5abc5ef 100644 --- a/examples/example 12 - Spine/index.html +++ b/examples/example 12 - Spine/index.html @@ -78,7 +78,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 12 - Spine/index_dragon.html b/examples/example 12 - Spine/index_dragon.html index 2d2e747..51b090c 100644 --- a/examples/example 12 - Spine/index_dragon.html +++ b/examples/example 12 - Spine/index_dragon.html @@ -68,7 +68,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 13 - Graphics/index.html b/examples/example 13 - Graphics/index.html index d15a7f5..4615d31 100644 --- a/examples/example 13 - Graphics/index.html +++ b/examples/example 13 - Graphics/index.html @@ -19,7 +19,7 @@ // create an new instance of a pixi stage var stage = new PIXI.Stage(0xFFFFFF, true); - stage.setInteractive(true); + stage.interactive = true; var renderer = PIXI.autoDetectRenderer(620, 380); diff --git a/examples/example 13 - Graphics/indexLineTest.html b/examples/example 13 - Graphics/indexLineTest.html index f59c2ed..2856845 100644 --- a/examples/example 13 - Graphics/indexLineTest.html +++ b/examples/example 13 - Graphics/indexLineTest.html @@ -20,7 +20,7 @@ // create an new instance of a pixi stage var stage = new PIXI.Stage(0xFFFFFF, true); - stage.setInteractive(true); + stage.interactive = true; var sprite= PIXI.Sprite.fromImage("spinObj_02.png"); //stage.addChild(sprite); diff --git a/examples/example 21 - Complex Graphics/index.html b/examples/example 21 - Complex Graphics/index.html index 7b86147..9568559 100644 --- a/examples/example 21 - Complex Graphics/index.html +++ b/examples/example 21 - Complex Graphics/index.html @@ -91,7 +91,7 @@ { isDown = false; graphics.beginFill(color); - graphics.drawPath(path) + graphics.drawPolygon(path) graphics.endFill(); path = []; } @@ -108,7 +108,7 @@ count += 0.1; liveGraphics.clear(); liveGraphics.beginFill(color); - liveGraphics.drawPath(path); + liveGraphics.drawPolygon(path); // render the stage renderer.render(stage); // graphics.x = 300; @@ -125,7 +125,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 12 - Spine/index.html b/examples/example 12 - Spine/index.html index 58faaec..5abc5ef 100644 --- a/examples/example 12 - Spine/index.html +++ b/examples/example 12 - Spine/index.html @@ -78,7 +78,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 12 - Spine/index_dragon.html b/examples/example 12 - Spine/index_dragon.html index 2d2e747..51b090c 100644 --- a/examples/example 12 - Spine/index_dragon.html +++ b/examples/example 12 - Spine/index_dragon.html @@ -68,7 +68,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 13 - Graphics/index.html b/examples/example 13 - Graphics/index.html index d15a7f5..4615d31 100644 --- a/examples/example 13 - Graphics/index.html +++ b/examples/example 13 - Graphics/index.html @@ -19,7 +19,7 @@ // create an new instance of a pixi stage var stage = new PIXI.Stage(0xFFFFFF, true); - stage.setInteractive(true); + stage.interactive = true; var renderer = PIXI.autoDetectRenderer(620, 380); diff --git a/examples/example 13 - Graphics/indexLineTest.html b/examples/example 13 - Graphics/indexLineTest.html index f59c2ed..2856845 100644 --- a/examples/example 13 - Graphics/indexLineTest.html +++ b/examples/example 13 - Graphics/indexLineTest.html @@ -20,7 +20,7 @@ // create an new instance of a pixi stage var stage = new PIXI.Stage(0xFFFFFF, true); - stage.setInteractive(true); + stage.interactive = true; var sprite= PIXI.Sprite.fromImage("spinObj_02.png"); //stage.addChild(sprite); diff --git a/examples/example 21 - Complex Graphics/index.html b/examples/example 21 - Complex Graphics/index.html index 7b86147..9568559 100644 --- a/examples/example 21 - Complex Graphics/index.html +++ b/examples/example 21 - Complex Graphics/index.html @@ -91,7 +91,7 @@ { isDown = false; graphics.beginFill(color); - graphics.drawPath(path) + graphics.drawPolygon(path) graphics.endFill(); path = []; } @@ -108,7 +108,7 @@ count += 0.1; liveGraphics.clear(); liveGraphics.beginFill(color); - liveGraphics.drawPath(path); + liveGraphics.drawPolygon(path); // render the stage renderer.render(stage); // graphics.x = 300; @@ -125,7 +125,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() { diff --git a/examples/example 22 - Complex Masking/index.html b/examples/example 22 - Complex Masking/index.html index dd655fe..1843470 100644 --- a/examples/example 22 - Complex Masking/index.html +++ b/examples/example 22 - Complex Masking/index.html @@ -108,7 +108,7 @@ liveGraphics.clear(); liveGraphics.beginFill(color); - if(path.length > 12)liveGraphics.drawPath(path); + if(path.length > 12)liveGraphics.drawPolygon(path); liveGraphics.endFill(); //console.log(">>>>") @@ -118,13 +118,13 @@ { isDown = false; graphics.beginFill(color); - graphics.drawPath(path) + graphics.drawPolygon(path) graphics.endFill(); path = []; } graphics.mask = liveGraphics; -// graphics.drawPath(path); +// graphics.drawPolygon(path); stage.addChild(graphics); stage.addChild(liveGraphics); @@ -152,7 +152,7 @@ logo.position.x = window.innerWidth logo.scale.x = logo.scale.y = 0.5; logo.position.y = window.innerHeight - 70; - logo.setInteractive(true); + logo.interactive = true; logo.buttonMode = true; logo.click = logo.tap = function() {