翻转一个实例(Flip an instance)
我到处搜索,从来没有找到我想要的,尽管它很简单。 我只是想在ActionScript中垂直和水平地翻转一个实例。 我试过把宽度乘以-1,但它什么也没做。 我已经研究过转换,但无济于事。
I've searched everywhere and never found what I was looking for, simple as it is. I just want to flip an instance vertically and horizontally in ActionScript. I've tried multiplying the width by -1, but it didn't do anything at all. I've looked into transformations but to no avail either.
最满意答案
将对象的scaleX / scaleY属性设置为-1
Set the object's scaleX/scaleY property to -1
更多推荐
发布评论