|
-
Senior Member
I think the problem is that you try to translate the image after you scale it, something flash can't do. In flash, matrices are always translated before they are scaled, no matter what order you call the functions or set the variables in.
To fix it, you need to multiply the tx and ty with the scale. Try the following code instead (I'm not certain it will work, but it might):
matrix.tx = (colX*matrix.a*scaleX)+(colZ*matrix.c);
matrix.ty = (colX*matrix.b*scaleX)+(colZ*matrix.d);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|