This content has been marked as final. Show 9 replies
bitmap caching is used to improve flash player performance in certain situations.
changing a movieclip's instance name does not change the instance. just because you changed mc2's name to mc1 doesn't make it mc1. it is not.
if mc1 (from frame 1) exists on frame 2 and you want to position it at the same location as mc2 use:
thank you. i should have better explained what i meant by repositioning. not only does the x and y coordinates change, but there are some skewed transformations that happen as well. in my scenario, mc2 is in the position, with the skewed transformations i would like mc1 to have.
i don't believe there is a way to mathmatically define the skewing of a movie clip, therefore i can't use actionscript to animate the movement of the clips. please correct me if i'm wrong, it would save me a lot of time. now that you tell me that i can't simply rename mc2 to mc1 and call it a day, i'll have to position each clip manually. oh geez, please correct me if i'm wrong, this is going to take forever if i'm right, as i tried to using motion tweening and it can't help me either.
you might be wrong but you may be correct. i just don't know what kind of skewing you've performed.
if your skewing would transform a rectangle into a parallelogram, then you can use actionscript to duplicate the transform. otherwise, you can't.
oh i am wrong. i've just discovered the matrix class in the help files. the only transforming i've done (other than changing width and height) is to skew the clip along it's y axis. i see now that can be defined using SKy. so i have a couple of questions you could probably answer before i can find the answer....
1-how do i get the current SKy value of a clip that has been skewed?
2-could you write an example function that changes the SKy value of a clip?
it's the value that acts as a multiplier controlling the sliding distance along the y axis. to get these values i would....
var mat:Matrix = mc.transform.matrix;
this is all starting to make some sense. thanks for your time on this.
it's more intuitive to think about the angle of skewing. so if you want to skew the x values by ang use mat.c=Math.tan(ang). if you want to skew the y values by ang use mat.b=Math.tan(ang).
yes, that makes much more sense and certainly will make any future editing easier to do. thanks again, you rock!