Why not use sprites/MovieclipSprite.as, with rescale:true and scaling:Number ? its designed to do this automatically...
Fabrice On Jan 12, 2010, at 2:47 PM, Axelle wrote: > Hi, > > First of all thanks for the great work on Away3D :) > > I'm currently using MovieClipSprite to display 2D Characters inside a > 3D Scene. Since these are actually elements of the scene I need them > to be rescaled according to distance with the camera, but I also need > to retain the scale from the movieclip, because some of them are > flipped (to reduce the number of direction from animation). > > The working solution we are currently using is to have two movieClips > embedded within one another, the inner one being flipped and the outer > one being scaled by Away3D. It would be way simpler however to simply > patch MovieClipSprite to have a "scaleX" and "scaleY" property instead > of one "scaling" property. If I submitted such a patch, would there be > any chance of it being merged into the trunk ? Are there any specific > requirements to make a patch for the trunk ? > > Thanks in advance > > -- > Axelle Ziegler
