La trovate qua
http://www.flashsandy.org/blog/disto...s-by-code.html
Funziona, ecco il mio problema
La funzione prende una bitmap dalla libreria in attach, a me invece servirebbe poter passare un movieclip, ho smarocchinato un po' ma senza risultato. Qualcuno riesce ad aiutarmi?
Dovrebbe esserecodice:public function DistordImage( mc: MovieClip, symbolId: String, vseg: Number, hseg: Number ) { _mc = mc; _texture = BitmapData.loadBitmap( symbolId ); _vseg = vseg; _hseg = hseg; _w = _texture.width ; _h = _texture.height; __init(); }
public function DistordImage( mc: MovieClip, sorgente: MovieClip, vseg: Number, hseg: