Bonjour a tous,

je n'arrive pas a faire une rotation d'un movieClip avec smoothing=true.
Pour cela il faut recuperer le bitmapData et mettre la propriete smoothing a true, mais j'ai du me perdre quelque part car mon movieClip n'est jamais smooth ...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
var mySmoothImage:BitmapAsset;
var bitmap:Bitmap = new Bitmap();
var data:BitmapData = new BitmapData( mc.width, mc.height);
data.draw( mc );
bitmap.bitmapData = data;
mySmoothImage = new BitmapAsset(bitmap.bitmapData);
mySmoothImage.smoothing=true;
bitmap.rotation+=75;
mySmoothImage.rotation+=75;
mc.rotation+=75;
une idee ?