Codice PHP:
cf1.onEnterFrame=function(){
    if(
this.cf.getBytesLoaded() == this.cf.getBytesTotal() && this.cf.getBytesLoaded() >1024){
    
// caricamento avvenuto 
    
this.nome registrati percorso e nome immagine 
    this
.origineCFW cf._width 
    this
.origineCFH cf._height
    cf
._width nuova larghezza
    cf
._height nuova altezza
    cf
._alpha=100
   delete this
.onEnterFrame