Flash mc positioning
Flash mc positioning
Out of context: Reply #8
- Started
- Last post
- 14 Responses
- jpea0
Maybe:
this._x = Stage.width / 2 - this._width/2
this._y = Stage.height / 2 - this._height/2The Stage doesn't have a property of _height or _width like movie clips, so take off the _ and it should work. If you need it to constantly change coordinates based on browser size, you'll need a listener.