Vote count:
0
I am trying to flip sprite that addchild camera and put into it.
I've used the following code:
camera = Camera.getCamera("0");
camera.setMode(stage.fullScreenWidth, stage.fullScreenHeight, 30);
video.attachCamera(camera);
Container.addChild(video)
Container.scaleX = -1;
Container.x = Container.x + Container.width;
But the sprite is transferred to the new position
Is there a way that its position does not change after its scaleX?
asked 48 secs ago
How to flip vertically Sprite in Adobe Air Android?
Aucun commentaire:
Enregistrer un commentaire