2010-09-13 3 views

Répondre

1

Avez-vous essayé ce qui suit?

 
// set the transparent property to true 
var bmd:BitmapData = new BitmapData(movieClip.width , movieClip.heigth , true); 

//pass the movie clip you want to take a snapshot of as a parameter 
//to the draw() method 
bmd.draw(movieClip); 
1

Parfois vous avez besoin de définir la couleur d'arrière-plan si vous avez besoin d'imprimer les MovieClips avec transparence

Si votre fond est blanc:

var bmd:BitmapData = new BitmapData(movieClip.width , movieClip.heigth , true, 0xFFFFFF); 
bmd.draw(movieClip); 
Questions connexes